VPC stands for Virtual Private Cloud, and it is a fundamental component of cloud computing infrastructure provided by platforms like Amazon Web Services (AWS) and Google Cloud Platform (GCP).
A VPC allows you to create your own virtual network within the cloud, which gives you control over various aspects of networking, such as IP address ranges, subnets, routing tables, and network gateways. It essentially simulates a traditional on-premises network in the cloud.
Log in to the AWS console with your account and navigate to the VPC service as shown below
After that you landed the 👇🏻below page👇🏻 click on Create VPC
Select the VPC only define a name of your VPC & IPV4 CIDR range for your & click on Create VPC
CIDR stands for Classless Inter-Domain Routing, and it is a method used to allocate and specify IP addresses and network prefixes. CIDR replaced the traditional classful addressing scheme used in the early days of the internet.
In CIDR notation, an IP address is represented by a combination of the IP address itself and a slash ("/") followed by a number that indicates the size of the network prefix. The network prefix represents the number of significant bits in the IP address that identify the network portion
VPC is successfully created with reference id & with a name
A subnet, short for subnetwork, is a smaller division of a larger network. It allows you to segment a network into multiple smaller networks, each with its own range of IP addresses and network infrastructure. Subnetting helps improve network performance, security, and management.
Navigate to the Subnets section click on it & then click on create subnet
Create a subnet with in your VPC & update it with other subnet settings as well
An internet gateway is a networking component that allows communication between a virtual private cloud (VPC) and the internet. It serves as a gateway between resources within the VPC and external networks, enabling internet connectivity for resources deployed in the cloud.
Navigate to internet gateways section in left side pane & click on create internet gateway update with name & attach to VPC
Select the VPC ID to attach the internet gateway
A route table is a networking component used in virtual private clouds (VPCs) to determine how network traffic is directed between subnets, the internet, and other network destinations. It acts as a routing guide for incoming and outgoing traffic within a VPC
Create an Route table update with name & VPC which you created
Route table is created navigate to subnet associations
Click on edit subnet associations , add subnet & save association
Subnets are successfully assocaiated with the route table & click on edit Routes
Routes in a route table define how network traffic is directed within a virtual private cloud (VPC) or between a VPC and external networks. Each route specifies a destination IP address range and the target for the traffic.
Routes are sucessfully updated internet gateway network traffic directed respective subnet
Thank you for taking the time to read my blog! I hope you found the information valuable and informative. Understanding topics like VPCs, CIDR notation, subnets, internet gateways, and route tables is essential for anyone getting started with cloud computing and networking.
I hope this blog has given you a solid foundation to start exploring and building your cloud-based networks. If you have any further questions, feel free to reach out. Happy networking!
Subscribe to our newsletter
Read articles from Munikanth's Blog directly inside your inbox. Subscribe to the newsletter, and don't miss out.