github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/website/source/intro/examples/aws.html.markdown (about)

     1  ---
     2  layout: "intro"
     3  page_title: "Basic Two-Tier AWS Architecture"
     4  sidebar_current: "examples-aws"
     5  ---
     6  
     7  # Basic Two-Tier AWS Architecture
     8  
     9  [**Example Contents**](https://github.com/hashicorp/terraform/tree/master/examples/aws-two-tier)
    10  
    11  This provides a template for running a simple two-tier architecture on Amazon
    12  Web services. The premise is that you have stateless app servers running behind
    13  an ELB serving traffic.
    14  
    15  To simplify the example, this intentionally ignores deploying and
    16  getting your application onto the servers. However, you could do so either via
    17  [provisioners](/docs/provisioners/index.html) and a configuration
    18  management tool, or by pre-baking configured AMIs with
    19  [Packer](http://www.packer.io).
    20  
    21  After you run `terraform apply` on this configuration, it will
    22  automatically output the DNS address of the ELB. After your instance
    23  registers, this should respond with the default nginx web page.
    24  
    25  As with all examples, just copy and paste the example and run
    26  `terraform apply` to see it work.