# VPC Peering & Direct Connect

**Amazon VPC Concepts Learning --&gt; Day6**

### **VPC Peering**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1714666201107/d23e35c1-f7e9-449e-a305-b3b59a31e099.png align="center")

* A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses.
    
* Instances in either VPC can communicate with each other as if they are within the same network.
    
* An **inter-Region VPC peering** connection can occur when the VPCs are in different Regions.
    
* A VPC peering connection is a one-to-one relationship between two VPCs.
    

---

### **VPC Peering Limitations**

* Two VPCs cannot be connected to more than one VPC peering connection at once.
    
* VPC peering does not support transitive peering relationships. For example, if there are VPC peering connections between VPC A and VPC B, and between VPC A and VPC C, you cannot route traffic from VPC B to VPC C through VPC A.
    

| **Name** | **Default** | **Adjustable** |
| --- | --- | --- |
| Active VPC peering connections per VPC | 50 | Yes |
| Outstanding VPC peering connection requests | 25 | Yes |
| Expiry time for an unaccepted VPC peering connection request | 1 week | No |

---

### **Direct Connect**

* Creating a dedicated connection from an on-premises network to one or more VPCs is simple using Direct Connect.
    
* Compared to internet-based connections, AWS Direct Connect can save network expenses, boost bandwidth throughput, and offer a more reliable network experience.
    
* There are two kinds of connections you can make using AWS Direct Connect
    
    **Dedicated connections**, where a physical ethernet connection is associated with a single customer.
    
    **Hosted connections,** where a physical ethernet connection is provisioned by an AWS Direct Connect Partner and shared with you.
    

---

[https://awslearner.hashnode.dev/amazon-web-services-via-category](https://awslearner.hashnode.dev/amazon-web-services-via-category)
