2015-06-09 21:57:17 +02:00
|
|
|
# Elastic IP Example
|
|
|
|
|
|
|
|
The eip example launches a web server, installs nginx. It also creates security group
|
|
|
|
|
|
|
|
To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html
|
|
|
|
|
|
|
|
Running the example
|
|
|
|
|
2016-01-21 12:31:38 +01:00
|
|
|
run `terraform apply -var 'key_name={your_key_name}'`
|
2015-06-09 21:57:17 +02:00
|
|
|
|
2015-06-09 22:17:59 +02:00
|
|
|
Give couple of mins for userdata to insatll nginx, and then type the Elastic IP from outputs in your browser and see the nginx welcome page
|