Skip to content

tommybobbins/terraform_alb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Server Example

Deploy backends in ASG, ALB, NAT GW, Private or Public subnets.

For more info, please see Chapter 2, "Getting started with Terraform", of Terraform: Up and Running.

Pre-requisites

Configure your AWS access keys as environment variables:

export AWS_ACCESS_KEY_ID=(your access key id)
export AWS_SECRET_ACCESS_KEY=(your secret access key)

Deploy the code:

terraform init
terraform apply

When the apply command completes, it will output the DNS name of the load balancer. To test the load balancer:

curl http://<alb_dns_name>/

Clean up when you're done:

terraform destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published