2015-06-09 22:12:33 +02:00
|
|
|
# ELB with stickiness Example
|
|
|
|
|
2015-07-12 20:00:48 +02:00
|
|
|
The example launches a web server, installs nginx, creates an ELB for instance. It also creates security groups for elb/instance
|
2015-06-09 22:12:33 +02:00
|
|
|
|
|
|
|
To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html
|
|
|
|
|
|
|
|
Running the example
|
|
|
|
|
|
|
|
run `terraform apply -var 'key_name={your_key_name}}'`
|
|
|
|
|
2015-06-09 22:19:17 +02:00
|
|
|
Give couple of mins for userdata to insatll nginx, and then type the ELB DNS Name from outputs in your browser and see the nginx welcome page
|