runbooks vpc nat-gatewayΒΆ
Auto-generated from
runbooks vpc nat-gateway --helpon 2026-05-21. Source of truth: runbooks PyPI package v1.3.22
Usage: runbooks vpc nat-gateway [OPTIONS]
NAT Gateway cost optimization and rightsizing analysis.
π― EPIC 2: NAT GATEWAY OPTIMIZATION TARGETS
ββββββββββββββββββββββββββββββββββββββββββββββ
β Cost Reduction: 25-50% network savings β
β Utilization Target: >70% bandwidth usage β
β Consolidation: Multi-AZ β Single-AZ β
β Replacement: NAT Gateway β NAT Instance β
ββββββββββββββββββββββββββββββββββββββββββββββ
π Analysis Workflow:
1. Discover all NAT Gateways across VPCs
2. Analyze CloudWatch metrics (bandwidth, connections)
3. Calculate cost per GB transferred
4. Identify consolidation opportunities
5. Generate rightsizing recommendations
π° Typical Savings: $500-2000/month per optimized NAT Gateway π Example:
runbooks vpc nat-gateway --profile ops --output-dir /tmp/
Options:
--profile TEXT AWS profile for single-account operations.
π Profile Selection Guide: βββββββββββββββββ
ββββββββββββββββββββββββββββββ
Single Account β Use --profile YOUR_PROFILE
Example: --profile dev-account When:
Developer/operator working in one AWS
account
Multi-Account LZ β Use --all-profiles (see
inventory commands) Example: --all-
profiles When: Platform team discovering
across organization
π Enrichment Profiles (Automatic): β’
Organizations: MANAGEMENT_PROFILE β’ Costs:
BILLING_PROFILE Note: Separate from
discovery profile
Decision: Single account = --profile |
Multi-account = --all-profiles
--region TEXT AWS region override (default: ap-
southeast-2)
--dry-run Safe analysis mode - no resource
modifications (enterprise default)
-f, --format, --output-format [json|csv|table|pdf|markdown]
Output format for results display
(-f/--format preferred, --output-format
legacy)
--output-dir PATH Directory for generated files and evidence
packages
--all-outputs Generate all output formats (JSON, CSV, PDF,
Markdown) - use with --output-dir
--csv Export to CSV format (convenience flag,
activates --all-outputs)
--json Export to JSON format (convenience flag,
activates --all-outputs)
--markdown Export to Markdown format (convenience flag,
activates --all-outputs)
--analyze Analyze NAT Gateway usage and costs
--optimize Generate optimization recommendations
--savings-target FLOAT RANGE Target savings percentage [0.1<=x<=0.8]
--include-alternatives Include NAT instance alternatives
--all Use all available AWS profiles for multi-
account NAT Gateway analysis
--help Show this message and exit.