
Description
Connecting VPCs with Peering is an agent skill that sets up a VPC peering connection between two AWS VPCs, so their resources can talk privately over the AWS network. It covers the whole lifecycle: creating the peering connection, accepting it, updating the route tables in both VPCs, configuring DNS resolution, and adjusting security groups for traffic between them. It supports same-region, cross-region and cross-account peering. The procedure needs at least the requester and accepter VPC IDs. It checks that both VPCs exist and that their CIDR ranges do not overlap, then creates and accepts the peering, updates all route tables and configures DNS. The troubleshooting section explains the common case of a peering stuck in pending state. A cross-account connection needs manual acceptance from the accepter account, while a same-account connection with auto_accept set to true should move on by itself. The skill is part of the aws/agent-toolkit-for-aws repository and is listed on skills.sh as free.…
Highlights
- Creates, accepts and routes a VPC peering connection
- Checks that CIDR ranges do not overlap
- Same-region, cross-region and cross-account peering
- Troubleshooting for peering stuck in pending
Ratings & Reviews
No ratings yet
Be the first to rate connecting-vpcs-with-peering.
People also visit

configuring-vpc-endpoints-for-private-aws-service-access
Configures VPC endpoints (interface and gateway)

aws-networking
Routes AWS networking requests to the correct service skill for implementation

enabling-lambda-vpc-internet-access
Enables internet access for AWS Lambda functions deployed in VPC subnets
connecting-vpcs-with-peering FAQ
What does it need to start?
At minimum, the requester and accepter VPC IDs. The procedure validates that both VPCs exist before it does anything.
Why does a peering stay pending?
A cross-account connection needs manual acceptance from the accepter account. A same-account connection with auto_accept set to true should transition on its own.
How do I install it?
Run npx skills add https://github.com/aws/agent-toolkit-for-aws --skill connecting-vpcs-with-peering in your project.
Is it free?
Yes. The skill page lists its pricing as Free. AWS charges for the resources it creates.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best connecting-vpcs-with-peering alternatives?
Popular alternatives to connecting-vpcs-with-peering include directconnect, configuring-vpc-endpoints-for-private-aws-service-access and transitgateway. See all connecting-vpcs-with-peering alternatives





