Skip to content

Simple 3-tier app example delpoyed to AWS using Terraform

Notifications You must be signed in to change notification settings

guitmz/3-tier-app-aws-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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.

References

About

Simple 3-tier app example delpoyed to AWS using Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published