Skip to content

anespo/3-tier-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3-tier-app-aws-terraform

Simple 3-tier app example deployed to AWS using Terraform.

Requirements

  • Terraform >= 0.11.1
  • AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables exported.

Usage

Clone this repository and run:

Initializing Terrraform remote backend:

λ ~/3-tier-app-aws-terraform/ terraform init -backend-config=terraform.remote

Terraform plan:

λ ~/3-tier-app-aws-terraform/ terraform plan

Terraform apply:

λ ~/3-tier-app-aws-terraform/ terraform apply

After the process is completed, should then be able to connect to http://EC2_INSTANCE_IP/app1 and http://EC2_INSTANCE_IP/app2 in your browser.

About

3 tier terraform scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published