PluginBench
Skill
Pass
Audit score 90

connecting-vpcs-with-peering

aws/agent-toolkit-for-aws

How to install connecting-vpcs-with-peering

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill connecting-vpcs-with-peering
Claude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)

Source of truth, from aws/agent-toolkit-for-aws.


name: connecting-vpcs-with-peering description: Establishes VPC peering connections between two VPCs for direct private network connectivity. Always use this skill when creating or managing VPC peering — it validates CIDR overlap, updates all route tables in both VPCs, configures DNS resolution, and provides security group guidance that are critical for correct connectivity. version: 1

Connecting VPCs with Peering

Overview

Domain expertise for establishing private network connectivity between two VPCs using VPC peering. Covers the full lifecycle: creating the peering connection, accepting it, updating route tables in both VPCs, configuring DNS resolution, and adjusting security groups for cross-VPC traffic. Supports same-region, cross-region, and cross-account peering scenarios.

Create a VPC peering connection

To establish a VPC peering connection between two VPCs, follow the procedure exactly. See VPC peering connection procedure.

The procedure requires the requester and accepter VPC IDs at minimum. It validates both VPCs exist, checks for CIDR overlap, creates and accepts the peering, updates all route tables, and configures DNS resolution.

Troubleshooting

Peering stuck in pending state

Cross-account connections require manual acceptance from the accepter account. Same-account connections with auto_accept: true should transition automatically.

Route creation fails

Check for existing routes with the same destination CIDR. Replace existing routes instead of creating new ones.

DNS resolution not working

Both VPCs must have DNS resolution and DNS hostnames enabled in their VPC settings, not just the peering connection options.

Cross-region connectivity issues

Verify routes are added in both regions and security groups allow traffic from the peer VPC's CIDR blocks.

Related skills

More from aws/agent-toolkit-for-aws and the wider catalog.

CRcreating-amazon-aurora-db-cluster-with-instances logo

creating-amazon-aurora-db-cluster-with-instances

aws/agent-toolkit-for-aws

Creates a complete Amazon Aurora database cluster with instances, handling cluster creation, instance provisioning, and Secrets Manager password management in the proper sequence. Use when setting up new Aurora MySQL or PostgreSQL clusters with production-ready configuration.

1.2k installsAudited
CRcreating-api-gateway-stage logo

creating-api-gateway-stage

aws/agent-toolkit-for-aws

Create fully configured API Gateway stages with logging, tracing, throttling, and security controls.

1.3k installsAudited
CRcreating-data-lake-table logo

creating-data-lake-table

aws/agent-toolkit-for-aws

Create managed Iceberg tables on Amazon S3 with automatic compaction and snapshot management.

1.5k installsAudited
CRcreating-ec2-image-builder-pipeline logo

creating-ec2-image-builder-pipeline

aws/agent-toolkit-for-aws

Creates a complete EC2 Image Builder pipeline that builds a custom AMI with pre-installed software, distributes it to target regions, executes the pipeline, and creates a launch template. Use when setting up automated AMI creation with IAM roles, build components, image recipes, and infrastructure configuration.

1.2k installs
CRcreating-production-vpc-multi-az logo

creating-production-vpc-multi-az

aws/agent-toolkit-for-aws

Creates a production-ready VPC with public and private subnets across multiple Availability Zones, including internet gateway, NAT gateways, route tables, and security groups following AWS Well-Architected principles. Use when deploying multi-AZ VPC infrastructure with automatic CIDR planning and DNS resolution.

1.2k installsAudited
CRcreating-secrets-using-best-practices logo

creating-secrets-using-best-practices

aws/agent-toolkit-for-aws

Create and manage AWS Secrets Manager secrets with production-grade security controls and best practices.

1.4k installs