GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - arumullayaswanth/Three-Tier-AWS-Architecture-project: Three-Tier AWS Architecture project

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
application-code
application-code
 
 
pictures
pictures
 
 
Implementation_Steps.md.md
Implementation_Steps.md.md
 
 
README.md
README.md
 
 
install.sh
install.sh
 
 

Repository files navigation

Three-Tier Web Architecture on AWS


๐Ÿ”ต Architecture

๐Ÿงพ Execution Plan: Three-Tier Web Architecture on AWS

โœ… Objective:

To build and deploy a scalable, secure, and highly available Three-Tier Web Application Architecture on AWS using best practices, automation, and monitoring tools.


๐Ÿ“‹ Prerequisites

  • ๐Ÿ“Œ AWS Account
  • ๐Ÿ“Œ Basic knowledge of Linux

๐Ÿงฑ Core AWS Services by Tier

๐ŸŒ 1. Web Tier (Frontend Layer)

Purpose: Serve static files, handle user requests, and route traffic to the Application Tier.

Service Purpose
Amazon EC2 Host Nginx web servers
Application Load Balancer (ALB) Internet-facing ALB for traffic distribution
Amazon Route 53 Domain management and DNS routing
Amazon ACM Provision and manage HTTPS certificates
Auto Scaling Group Ensure availability and scalability
Security Groups Control inbound access (HTTP/HTTPS/SSH)
Amazon AMI Golden image for web server setup

๐Ÿง  2. Application Tier (Backend Logic)

Purpose: Execute application logic (Node.js), process API requests, and communicate with DB Tier.

Service Purpose
Amazon EC2 Run Node.js app server
Auto Scaling Group Maintain desired number of app servers
Internal ALB Load balance traffic between app servers
Amazon S3 Store zipped Node.js application package
Amazon IAM Role Allow EC2 to access S3 and RDS securely
Amazon AMI Golden image for app server setup
Security Groups Restrict access only from Web Tier
PM2 Process manager to run app persistently

๐Ÿ›ข๏ธ 3. Database Tier

Purpose: Store and manage application data securely.

Service Purpose
Amazon RDS (MySQL) Managed relational database
Multi-AZ Deployment High availability & failover support
DB Subnet Group Isolate RDS within private subnets
Security Groups Allow traffic only from App Tier (port 3306)

๐Ÿ› ๏ธ Cross-Tier & Infrastructure Services

Service Purpose
Amazon VPC Isolated network for the entire architecture
Subnets (Public/Private) Separate workloads logically and securely
Internet Gateway Enable internet access for web tier
NAT Gateway Allow private instances (app/db) to access the internet
Elastic IP Static IP for NAT Gateway
Route Tables Control traffic routing between subnets
Amazon CloudWatch (optional) Monitor instance performance, scaling policies

๐Ÿ—๏ธ Architecture of the Project


๐Ÿ”ต Architecture

๐Ÿ”ต Architecture

Overview

Three main layers:

  1. Web Tier: Handles client requests and serves the front-end website.
  2. Application Tier: Processes API requests and handles the business logic.
  3. Database Tier: Manages data storage and retrieval.

Components Explanation

1. External Load Balancer

  • Role: Entry point for all client traffic.
  • Functionality:
    • Distributes requests to web tier EC2s.
    • Performs health checks.

2. Web Tier

  • Role: Serves front-end and routes API calls.
  • Components: Nginx on EC2, React.js front-end.
  • Functionality:
    • Serve static files.
    • Redirect API to internal ALB.

3. Internal Load Balancer

  • Role: Manages traffic between Web and App Tier.
  • Functionality:
    • Routes API calls to App EC2s.
    • Ensures high availability.

4. Application Tier

  • Role: Handles business logic.
  • Components: Node.js on EC2.
  • Functionality:
    • Process requests.
    • Interact with DB.
    • Return data to Web Tier.

5. Database Tier

  • Role: Reliable data storage.
  • Functionality:
    • Structured data storage.
    • Multi-AZ high availability.
    • SQL queries and transactions.

Additional Components

Load Balancing

  • Ensures even traffic distribution.
  • Implemented at both Web and App tiers.

Health Checks

  • External ALB checks Web EC2s.
  • Internal ALB checks App EC2s.

Auto Scaling Groups

  • Web Tier and App Tier auto-scale based on metrics.

AWS Certificate Manager (ACM)

  • SSL/TLS for learnaws.co.in.
  • Auto-renew and bind with external ALB.

Amazon Route 53

  • DNS management for learnaws.co.in.
  • Routing and health-check-based failover.

โœ… Summary

This architecture ensures high availability, scalability, and reliability by:

  • Load balancing traffic across tiers.
  • Monitoring instance health.
  • Auto-scaling based on usage metrics.
  • Isolated networking via VPC and Subnets.

About

Three-Tier AWS Architecture project

Topics

acmamiec2-instanceiam-roleload-balancernatgatewayrds-databaserds-mysqlroute53s3-bucketvpc-creation

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.