github.com/richardmarshall/terraform@v0.9.5-0.20170429023105-15704cc6ee35/examples/aws-elb/README.md (about)

     1  # ELB with stickiness Example
     2  
     3  The example launches a web server, installs nginx, creates an ELB for instance. It also creates security groups for the ELB and EC2 instance. 
     4  
     5  To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html
     6  
     7  This example assumes you have created a Key Pair. Visit
     8  https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#KeyPairs:sort=keyName
     9  to create a key if you do not have one. 
    10  
    11  Run this example using:
    12  
    13      terraform apply -var 'key_name=YOUR_KEY_NAME'
    14  
    15  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