Skip to content

naveend3v/aws_2_tier_architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Scalable 2-Tier Architecture in AWS with Terraform

This repository is dedicated to documenting my journey in the project, "Building a Scalable 2-Tier Architecture in AWS with Terraform".

About The Project

In this project i'm able to create a Scalable 2-tier architecture in AWS using Terraform. Additionally i have hosted a containerized python application using docker in EC2 instance & setup the Terraform remote backend using S3 & Dynamo DB.

Architecture

architecture

Pre-requisite

  • Create an AWS account and install & configure AWS CLI using AWS Access & Secret key

  • Github account & fork the below Python MYSQL Application

  • Install & configure Terraform

  • Configure your AWS region, AWS Secret Key, and Database Passowrd in the terraform.tfvars file

  • Create a S3 bucket using below AWS CLI Command & replace the S3 bucket name & region in the providers.tf file.

    aws s3api create-bucket --bucket <your-bucket-name> --region <your-aws-region> --output json
    
  • Create a Dynamo DB using below AWS CLI Command & replace the DynamodDB Table name in the providers.tf file.

    aws dynamodb create-table --region <your-aws-region> --table-name <your-table-name> --attribute-definitions AttributeName=LockID,AttributeType=S --key-schema AttributeName=LockID,KeyType=HASH --billing-mode PAY_PER_REQUEST --output json
    

Blog

Get In Touch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published