Introduction To Amazon VPC
Introduction To Amazon VPC
Amazon VPC
1.Security Groups
• Act as a virtual firewall for instances.
• Example: Security guards for each room.
2.Network ACLs
• Additional layer of security at the subnet level.
• Example: Main gate security for your house.
VPC Endpoints
1.Definition
• Enable private connections between your VPC and supported
AWS services without using an Internet Gateway, NAT device,
VPN connection, or AWS Direct Connect.
2.Types
• Interface Endpoints
• Gateway Endpoints
• Example: Private path from your house to a nearby shop without
using the main street.
Common Ways to Access Amazon VPC
1.Security
• Implement least privilege, review security groups.
• Use Network ACLs for additional security.
2.Cost Management
• Monitor usage, optimize NAT Gateway usage.
• Analyze traffic with VPC Flow Logs.
3.Performance
• Distribute instances across subnets and AZs.
• Use Elastic Load Balancing for high availability
Amazon VPC configuration: IP addressing
Overview of IP Addressing in VPC
• In Amazon VPC, IP addressing is fundamental to setting up and managing
your network.
• An IP address is a unique identifier assigned to each device on a network.
• Proper IP address configuration ensures efficient communication within
your VPC and with external networks.
• CIDR Blocks
• A CIDR (Classless Inter-Domain Routing) block is used to define the range
of IP addresses available within your VPC.
• When you create a VPC, you must specify a CIDR block, such as
10.0.0.0/16.
• The CIDR notation includes an IP address and a prefix length (e.g., /16),
indicating the network portion of the address.
• Example: The CIDR block 10.0.0.0/16 provides up to 65,536 IP addresses
(10.0.0.0 to 10.0.255.255).
Subnets and IP Allocation