Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aws/agent-toolkit-for-aws --skill creating-production-vpc-multi-az -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/creating-production-vpc-multi-az/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/creating-production-vpc-multi-az/

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

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set138

configuring-vpc-endpoints-for-private-aws-service-access A skill that walks the agent through VPC endpoint setup with AWS PrivateLink, so AWS services stay reachable without an internet gateway or public IPs. CX Codex +1 6,400installs setting-up-ec2-instance-profiles Configures EC2 instance profiles and IAM roles so applications call AWS services without hardcoded credentials. Useful when an instance needs temporary access to S3, DynamoDB, or SQS. CX Codex +1 6,200installs routing-traffic-with-route53-and-cloudfront Sets up Route 53 to send a custom domain to a CloudFront distribution with HTTPS and IPv6. Use it when creating alias records or connecting a domain to CloudFront. CX Codex +1 6,200installs creating-api-gateway-stage Builds an API Gateway stage with CloudWatch logging, X-Ray tracing, throttling and WAF. Handy when a REST API ships to dev, test or production. CX Codex +1 6,200installs creating-amazon-aurora-db-cluster-with-instances Creates Aurora cluster with instances, sets up password via Secrets Manager, and monitors status with retry logic. Supports MySQL and PostgreSQL. CX Codex +1 6,000installs setting-up-cloudtrail-multi-region Configures a multi-region AWS CloudTrail trail with S3 storage and CloudWatch Logs streaming. Useful for centralizing API audit logs and running security queries. CX Codex +1 6,100installs exporting-rds-to-s3 Walks the agent through exporting an RDS or Aurora snapshot to S3 as Parquet, from IAM roles and KMS encryption to task monitoring and data checks. CX Codex +1 6,100installs signing-in-to-aws Walks the agent through signing in to AWS from your local shell: version check, aws login once you confirm, then an identity check on the result. CX Codex +1 6,100installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor