creating-production-vpc-multi-az — Claude Code skill for VPCs
Plan a VPC across multiple Availability Zones, with public and private subnets, NAT gateways, routing, and security groups. Use it when setting up AWS network infrastructure.
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a claude-codeWhat creating-production-vpc-multi-az does
The skill guides creation of a DNS-enabled VPC and automatic CIDR allocation for public and private subnets. Its procedure covers an internet gateway, NAT gateways, route tables, and tiered security groups. The detailed steps are in references/create-production-vpc-multi-az.md.
Provide a VPC name, AWS region, allowed web-access CIDRs, and an environment tag. The VPC CIDR is optional and defaults to 10.0.0.0/16; the AZ count defaults to 3 and accepts values from 2 to 6. The target region needs at least two available AZs. A request to allow web access from 0.0.0.0/0 triggers a warning, while SSH security groups are created only when enable_ssh_access is enabled. NAT gateways can take several minutes to become available, so route configuration waits for them.
What it helps with
- plan CIDR ranges for public and private subnets
- create a VPC spanning multiple Availability Zones
- configure NAT gateways and outbound routes
- set up tiered security groups
Example prompts for the agent
- Create a VPC in the specified AWS region for the staging environment, using two AZs and these web-access CIDRs.
- Set up a multi-AZ VPC with public and private subnets, and leave SSH access disabled.
How to install creating-production-vpc-multi-az
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a claude-code2Manually: put the files in place
~/.claude/skills/creating-production-vpc-multi-az/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/creating-production-vpc-multi-az/
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a codex2Manually: put the files in place
.agents/skills/creating-production-vpc-multi-az/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a cursor2Manually: put the files in place
.cursor/skills/creating-production-vpc-multi-az/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aws/agent-toolkit-for-aws creating-production-vpc-multi-az2Manually: put the files in place
.github/skills/creating-production-vpc-multi-az/SKILL.md1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a gemini-cli2Platform CLI
gemini skills install https://github.com/aws/agent-toolkit-for-aws --path skills/specialized-skills/networking-and-content-delivery-skills/creating-production-vpc-multi-azManually: put the files in place
.devin/skills/creating-production-vpc-multi-az/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about creating-production-vpc-multi-az
How do I install creating-production-vpc-multi-az in Claude Code?
Run npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a claude-code. The skill file is at ~/.claude/skills/creating-production-vpc-multi-az/SKILL.md.
What does creating-production-vpc-multi-az do?
It guides the setup of a VPC across several Availability Zones, including subnet layout, gateways, route tables, and security groups.
How many Availability Zones does the target region need?
At least two must be available. The default is 3 AZs, and the supported range is 2–6.
Source text
SKILL.md · Apache-2.0
--- name: creating-production-vpc-multi-az description: 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. version: 1 --- # Creating a Production-Ready VPC Across Multiple Availability Zones ## Overview Domain expertise for creating production-ready VPC infrastructure distributed across multiple Availability Zones. Covers VPC creation with DNS support, public and private subnet layout with automatic CIDR calculation, internet gateway, NAT gateways for high-availability outbound access, route table configuration, and tiered security groups following AWS Well-Architected principles. ## Create a production VPC To create a fully configured multi-AZ VPC with public/private subnets, NAT gateways, route tables, and security groups, follow the procedure exactly. See [Production VPC creation procedure](references/create-production-vpc-multi-az.md). Key parameters: - `vpc_name` (required): Name prefix for all resources - `region` (required): Target AWS region - `allowed_web_cidrs` (required): CIDR blocks allowed for web access — allow 0.0.0.0/0 only if explicitly requested - `vpc_cidr` (optional, default `10.0.0.0/16`): VPC CIDR block - `availability_zones` (optional, default 3): Number of AZs (2–6) - `environment` (required): Environment tag - `enable_ssh_access` (optional, default false): Whether to create SSH security group ## Troubleshooting ### Insufficient Availability Zones The target region must have at least 2 available AZs. Use `aws ec2 describe-availability-zones` to verify. ### NAT Gateway creation delays NAT Gateways can take several minutes to become available. The procedure waits for availability before configuring route tables. ### Security group CIDR warnings The procedure warns about `0.0.0.0/0` for web access CIDRs and recommends specific IP ranges for production workloads, but allows it if explicitly requested.
© aws · Apache-2.0 · aws/agent-toolkit-for-aws