creating-production-vpc-multi-az

Provisions a multi-AZ AWS VPC with subnets, NAT gateways, and security groups.

Updated May 12, 2026
One-click install
npx skills add https://github.com/mreferre/aws-agent-toolkit-skills --skill creating-production-vpc-multi-az
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-production-vpc-multi-az
Source: https://github.com/mreferre/aws-agent-toolkit-skills/tree/main/.kiro/skills/creating-production-vpc-multi-az
Command: npx skills add https://github.com/mreferre/aws-agent-toolkit-skills --skill creating-production-vpc-multi-az

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the time-consuming, error-prone effort of designing and provisioning a production-ready multi-AZ VPC with correct network layout, routing, and security controls.

Core Features & Use Cases

  • Multi-AZ VPC foundation: Creates a VPC with DNS support, plus public and private subnets distributed across multiple Availability Zones.
  • High-availability outbound: Provisions NAT gateways per AZ to ensure resilient egress for private workloads.
  • Tiered security groups & traffic visibility: Sets up web/application/database security groups and enables VPC Flow Logs for monitoring.
  • Use Case: Stand up a staging or production environment where backend services must remain in private subnets while web access and outbound dependencies are handled safely and consistently.

Quick Start

Create a production multi-AZ VPC named "myapp" in region "us-east-1" with environment "production", using "10.0.0.0/16" and allowing web access from "203.0.113.0/24", enabling SSH only if explicitly required.

Frequently Asked Questions about creating-production-vpc-multi-az

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a multi-AZ AWS VPC with public and private subnets?

To create a multi-AZ AWS VPC, provision a VPC with DNS support, distribute public and private subnets across multiple Availability Zones, and configure route tables. This provides a resilient network foundation for production workloads requiring controlled ingress and outbound access.

What's the best way to set up NAT gateways for high-availability outbound access?

The best way to ensure high-availability outbound access is provisioning NAT gateways per Availability Zone. This guarantees resilient egress for private workloads, ensuring backend services remain isolated while maintaining consistent outbound dependencies across all AZs.

How do I configure VPC Flow Logs to CloudWatch with IAM permissions?

Configuring VPC Flow Logs to CloudWatch requires enabling flow logs on the VPC and attaching IAM permissions for log delivery. This captures network traffic metadata for monitoring, providing visibility into tiered security group behavior and traffic patterns.

Do I need tiered security groups for a production VPC?

Yes, tiered security groups are needed for a production VPC to enforce controlled ingress and isolate network tiers. Setting up distinct web, application, and database security groups restricts traffic between layers, protecting backend services in private subnets.

Can I specify a custom CIDR block and restrict web access when provisioning an AWS VPC?

Yes, you can specify a custom CIDR block like 10.0.0.0/16 and restrict web access to allowed IP ranges like 203.0.113.0/24. This validates available AZs and configures DNS-ready VPC behavior for production environments.

What limitations exist when designing multi-AZ VPC infrastructure for production?

A key limitation when designing multi-AZ VPC infrastructure is ensuring correct CIDR planning to avoid overlap and validating AZ availability before subnet creation. You must also explicitly enable SSH only if required, avoiding unintended open access in production.