This is a basic AWS cloud network setup. Think of it like building a small house with secure doors, rooms (networks), and proper wiring (routes) so visitors can reach your website.
Main Parts of the Design Explained:
Think of the VPC as your private neighborhood in the AWS cloud. It’s your own secure environment to build and run stuff like websites, apps, or databases.
Your VPC is divided into two subnets, like two different rooms in your house:
Public Subnet (10.0.1.0/24)
This is an open room where you allow visitors (the internet).
Inside this room:
Private Subnet (10.0.2.0/24)
This room is hidden and used for things you want to keep private (like databases).
It has no direct internet access.
This acts like your main gate to the outside world. It connects your public subnet to the internet, so:
These are the maps or GPS systems that tell network traffic where to go.
The public subnet has a route table that says:
“If you want to reach the internet, go through the Internet Gateway.”
The private subnet only communicates internally or through special settings (like a NAT gateway, not shown here).
This is a virtual machine inside the public subnet. It: