You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/examples/aws-elb
Valentin Pichard c6beaa7ce8
Fmt all the config files
10 years ago
..
README.md Fix formatting of Readme in aws-elb example 11 years ago
main.tf Fmt all the config files 10 years ago
outputs.tf Initial commit aws sample for ELB 11 years ago
userdata.sh New line 11 years ago
variables.tf Fmt all the config files 10 years ago

README.md

ELB with stickiness Example

The example launches a web server, installs nginx, creates an ELB for instance. It also creates security groups for the ELB and EC2 instance.

To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html

Run this example using:

terraform apply -var 'key_name=YOUR_KEY_NAME'

Wait a couple of minutes for the EC2 userdata to install nginx, and then type the ELB DNS Name from outputs in your browser and see the nginx welcome page