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