DEV Community

Cover image for 3 Tier Architecture
Girija
Girija

Posted on

3 Tier Architecture

Part 0:Architecture

Table of contents

  1. Architecture
  2. Download Code from Github Repository
  3. S3 Bucket Creation
  4. IAM EC2 Instance Role Creation

1.Architecture
Architecture of 3 tier web application

2.First download the code from the GitHub
GitHub page to download the code for deployment

3.Create S3 bucket
S3 Dashboard for creating new S3 bucket

4.IAM role
IAM dashboard for setting roles and permission

Part 1:Networking and Security

Table of contents

  1. VPC Creation
  2. Subnet Creation
  3. Internet Connectivity
  4. NAT Gateway
  5. Routing Configuration
  6. Security Groups

1.Create VPC
VPC dashboard for creating new VPC

2.Create subnets(6)
from VPC dashboard we can access subnet and create new subnets

3.Create Internet gateway and attach to VPC
from VPC dashboard we can access Internet gateway and create new internet gateway

4.Create NAT gateway
from VPC dashboard we can access NAT gateway and create new NAT gateway

5.Route tables
i)Create route table for public subnet

from VPC dashboard we can access route table and create new route table

editing route details

editing subnet association

ii)Create route table for private subnet(two for AZ-1,AZ-2)

from VPC dashboard we can access route table and create new route table

editing route details

editing subnet association

6.Security Group

1.external-lb
from VPC dashboard we can access Security group and create sg for external load balancer

2.ec2-public(web tier)
from VPC dashboard we can access Security group and create sg for web tier

3.internal-lb
from VPC dashboard we can access Security group and create sg for internal load balancer

4.ec2-private(app tier)
from VPC dashboard we can access Security group and create sg for app tier

5.DB
from VPC dashboard we can access Security group and create sg for database

Part 2: Database Deployement(RDS)

Table of contents

  1. Subnet Groups
  2. Database Deployement

1.DB subnet group
RDS dashboard and create database subnet

adding availability zone and subnets

2.Database
Create database

Competed the database

Clean up

1.
Image description
2.
Image description
3.
Image description
4.
Image description

Top comments (0)