github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/examples/aws-ecs-alb/README.md (about)

     1  # ECS with ALB example
     2  
     3  This example shows how to launch an ECS service fronted with Application Load Balancer.
     4  
     5  The example uses latest CoreOS Stable AMIs.
     6  
     7  To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html
     8  
     9  ## Get up and running
    10  
    11  Planning phase
    12  
    13  ```
    14  terraform plan \
    15  	-var admin_cidr_ingress='"{your_ip_address}/32"' \
    16  	-var key_name={your_key_name}
    17  ```
    18  
    19  Apply phase
    20  
    21  ```
    22  terraform apply \
    23  	-var admin_cidr_ingress='"{your_ip_address}/32"' \
    24  	-var key_name={your_key_name}
    25  ```
    26  
    27  Once the stack is created, wait for a few minutes and test the stack by launching a browser with the ALB url.
    28  
    29  ## Destroy :boom:
    30  
    31  ```
    32  terraform destroy
    33  ```