VPC Peering Flashcards
What is VPC peering?
VPC peering is a networking encrypted link connection between two VPCs that enables routing of traffic between them using private IPv4 or IPv6 addresses, without the traffic traversing the public internet.
Example sentence: VPC peering allows secure communication between VPCs within the same AWS account.
How do you set up VPC peering?
Request and Accept: Initiate a peering connection from one VPC to another and have the second VPC accept this request.
Update Route Tables: Modify the route tables in each VPC to include routes that allow traffic to and from the peered VPC.
Example sentence: Setting up VPC peering involves a two-step process of requesting and accepting the connection, followed by updating route tables.
What are key features of VPC peering?
Inter-region Peering: Supports peering connections between VPCs in different AWS regions.
Transitive Peering: Does not support transitive peering; direct connection is required for each pair of VPCs.
Example sentence: VPC peering allows for connections between VPCs located in different regions, but does not allow traffic to flow through a third VPC.
What are the benefits of VPC peering?
Network Isolation and Security: Keeps traffic private and secure between VPCs without exposure to the public internet.
Cost-Effectiveness: Reduces data transfer costs compared to internet-based or cross-region data transfers.
Example sentence: VPC peering enhances security by keeping traffic within private networks and reduces costs associated with data transfer.
What are limitations of VPC peering?
No Overlapping CIDRs: VPCs cannot have overlapping CIDR blocks.
Non-transitive: Cannot route traffic via a third VPC; direct peering is necessary between each pair of VPCs.
Example sentence: VPC peering limitations include the inability to have overlapping CIDR blocks and the requirement for direct connections between VPC pairs.
What are common use cases for VPC peering?
Data Sharing: Allows different parts of the same organization to share resources safely.
Backup and Disaster Recovery: Facilitates backup and DR strategies across multiple VPCs.
Example sentence: VPC peering is commonly used for secure data sharing within organizations and for implementing backup and disaster recovery plans.