Content ITV PRO
This is Itvedant Content department
Networking with VPC
Learning Outcome
5
Differentiate between Security Groups and NACLs
4
Understand Internet Gateway (IGW) and NAT Gateway
3
Learn what Amazon VPC is and why it is used
2
Understand CIDR notation and IP ranges
1
Understand basic networking concepts and IP addressing
Earlier, we learned that
Networking is the practice of connecting systems so they can communicate
Resource sharing
Internet access
Secure communication
It enables
In AWS, networking is built using VPC
An IP address is a unique identifier for a device on a network
Types
IPv4 (e.g., 192.168.1.1)
IPv6
IP addresses help systems
Identify each other
Send and receive data
Public IP Address
Private IP Address
Used inside private networks
More secure
CIDR defines the IP address range of a VPC
Example:
10.0.0.0/16
CIDR helps in:
All subnets come from the VPC CIDR.
IP planning
Network isolation
A Virtual Private Cloud (VPC) is an isolated network in AWS
It helps:
Control inbound and outbound traffic using security groups and network ACLs
Define custom IP address ranges and subnets
Secure your AWS resources from public access
Where you can deploy resources like EC2 instances, databases, and load balancers
When creating a VPC
You assign a CIDR block
All subnets derive IPs from this range
Example
VPC CIDR
10.0.0.0/16
Subnet CIDR
10.0.1.0/24
Has route to Internet Gateway
No direct internet access
Used for web servers
Used for databases, backend
Resources can have public IPs
More secure
Required for public subnets
Internet Gateway allows:
Internet access for VPC resources
Enables inbound and outbound traffic
Internet access for VPC resources
NAT Gateway allows:
Private subnet resources to access internet
Without allowing inbound internet traffic
Used for updates, patching, downloads
Routing decides where network traffic goes
AWS uses Route Tables to control traffic flow
Routes define
Destination
Target (IGW, NAT, local)
Each subnet must be associated with a route table
Route tables define:
Where network traffic should go
Common routes
Local VPC traffic
Internet traffic
NAT traffic
Acts at instance level
Works at subnet level
Primary security for EC2
Secondary layer of security
Return traffic must be explicitly allowed
Allow and deny rules
Return traffic is automatically allowed
Only allow rules
4
Security Groups and NACLs secure the network
3
VPC provides isolated cloud networking
2
CIDR defines IP ranges
1
Networking enables communication
Quiz
Which AWS component allows private subnet resources to access the internet without being exposed?
A. Internet Gateway
B. Security Group
C. NAT Gateway
D.Route Table
Quiz-Answer
Which AWS component allows private subnet resources to access the internet without being exposed?
A. Internet Gateway
B. Security Group
C. NAT Gateway
D.Route Table
DynamoDB is a
A. Relational database
B. NoSQL database
C. Data warehouse
D.File storage service
By Content ITV