3 Tierproject
3 Tierproject
3 Tierproject
Project Overview:
Database: MySQL
Architecture: 3 Tier
3. INTERNET GATEWAY
5. NAT GATEWAY
Architecture:
Detailed Steps:
1. Creating VPC:
VPC: VPC stands for Virtual Private Cloud. It's a service provided
by cloud computing platforms like Amazon Web Services (AWS),
Google Cloud Platform (GCP), or Microsoft Azure that allows
users to create a logically isolated section of the cloud where
they can launch resources like virtual machines, databases, and
storage networks.
AWS Account -> VPC -> Create VPC(healthcare-vpc)->
2. Creating Subnets:
AWS subnets are associated with a specific availability zone
within a region. Each subnet is tied to a particular availability
zone, providing a way to distribute resources across different
zones for fault tolerance and high availability.
Subnet2(private): healthcare-private-subnet-2
Subnet1(private): AWS Account Subnet Create Subnet(healthcare-
private-subnet-2)
Subnet2(private): healthcare-public-subnet-2
Subnet1(public): AWS Account Subnet Create Subnet(healthcare-
public-subnet-3)
Create Internet-Gateways:
In Amazon Web Services (AWS), an internet gateway is a crucial
component that allows communication between instances in your VPC
(Virtual Private Cloud) and the internet. It acts as a gateway or
entry/exit point for network traffic between your VPC and the internet.
Route tables define the paths for network traffic within a subnet or
Virtual Private Cloud (VPC), determining how data is directed. They
facilitate communication between subnets, control outbound traffic,
and are crucial for effective network routing in cloud environments.
AWS DashboardSearch Bar (search Rout Table)Create Route Table
1.Inbound Roule: These outline the types of traffic that are permitted to
use the resources. It serves as a virtual firewall, controlling the traffic
going in and coming out of a VPC for one or more Amazon EC2
instances or other AWS services.
Same process for all Security Group only difference in rule(inbound and
outbound)
Create EC-2 instances:
EC2 offers a variety of instance types optimized for different use cases,
including compute-optimized, memory-optimized, and storage-
optimized instances. Users can choose instances with the right balance
of CPU, memory, storage, and networking capabilities.
1. App-server-vm1
2. Jumpbox-vm
3. Date-base-vm
Open AWS dashboard the go to search bar and search EC2 then
click on EC2 service then create EC2 instance.
InstanceLaunch Instance Name Application and OS
ImagesInstance typeKey PairNetwork Setting(select vps,
Select subnet, Auto-assign public IP, Security group
name – required)Launch
Same procedure applies on rest of three instances.
Before we are set the auto scalling group first of all we create a Ami of
app-server-vm.