Skip to content
Back to skills

Connecting Vpcs With Peering

ASecurity

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.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 10, 2026
ai-agentsawsgitsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 10, 2026

npx -y skills add mouadja02/skills --skill connecting-vpcs-with-peering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Connecting Vpcs With Peering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Connecting Vpcs With Peering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mouadja02-connecting-vpcs-with-peering/badge)](https://www.skillsdirectory.com/skills/mouadja02-connecting-vpcs-with-peering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
license: Apache-2.0
source: https://github.com/aws/agent-toolkit-for-aws
attribution: "Amazon Web Services - agent-toolkit-for-aws (Apache-2.0)"
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](references/vpc-peering-connection.md).

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.

Files in this skill

  • SKILL.md2 KB
  • references/vpc-peering-connection.md7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…