Skip to content

Terraform Example for deploying traditional two tier web application with Web and DB Security Groups.

Notifications You must be signed in to change notification settings

8parth/terraform-two-tier-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traditional Two Tier AWS architecture setup example with Terraform

Terraform Example for deploying traditional two tier web application with Web and DB Security Groups.

What it does:

  • Creates VPC with public and private subnet along with Internet Gateway and NAT Gateway.
  • Creates Security Groups for Web and Database with ingress and egress rules.
  • Deploys two EC2 servers.

Quick Start:

  • Clone the repo.
  • Provide Access Key, Secret Key to be used for AWS in variables.tf.
  • Provide Path to EC2 Key Pair and name of Key Pair in variables.tf.
  • run terraform init
  • run terraform apply

TO DO:

  • Add Bootstrap scripts for setting up DB and Web instance.
  • Auto Scaling and load balancer configuration

About

Terraform Example for deploying traditional two tier web application with Web and DB Security Groups.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages