Contents

Chapter 1

Overview

This chapter covers the core features and capabilities of AWS Well-Architected Templates.

Overview

This product provides a comprehensive, deploy-ready infrastructure template set that embodies AWS Well-Architected best practices across every pillar. Instead of reading the 300+ page framework document and translating recommendations into IaC yourself, start with these battle-tested templates and customize them for your workload.

Each template is extensively commented with references to the specific Well-Architected pillar, design principle, and best practice it implements, so your team understands the *why* behind every resource.

What's Included

CloudFormation Templates (6 templates)

TemplatePillar(s)Description
cloudformation/vpc-network.yamlReliability, SecurityMulti-AZ VPC with public/private/isolated subnets, NAT gateways, flow logs, and network ACLs
cloudformation/security-baseline.yamlSecurityIAM roles, KMS keys, Config rules, GuardDuty, Security Hub, and CloudTrail configuration
cloudformation/high-availability-app.yamlReliability, PerformanceAuto Scaling group, ALB, health checks, cross-AZ deployment, and automated recovery
cloudformation/cost-optimized-compute.yamlCost OptimizationSpot/On-Demand mixed fleet, Savings Plans tagging, auto-scaling schedules, and right-sizing alerts
cloudformation/performance-monitoring.yamlPerformance Efficiency, Ops ExcellenceCloudWatch dashboards, custom metrics, alarms, and X-Ray tracing configuration
cloudformation/operational-excellence.yamlOperational ExcellenceSSM documents, automated patching, runbook automation, and change management

CDK Stacks (Python, 3 files)

FileDescription
cdk/well_architected_app.pyCDK app entry point composing all stacks
cdk/networking_stack.pyVPC, subnets, and connectivity as CDK constructs
cdk/security_stack.pySecurity baseline as reusable CDK constructs

Documentation

DocumentDescription
docs/architecture.mdReference architecture diagram and component breakdown
docs/deployment-guide.mdStep-by-step deployment instructions for each template
docs/security-considerations.mdSecurity hardening guide and compliance mapping
docs/cost-optimization-guide.mdCost analysis, optimization strategies, and estimator usage
docs/runbook.mdOperational runbook for day-2 operations

Scripts & Examples

FileDescription
scripts/pillar_assessment.pyInteractive Well-Architected review checklist scorer
scripts/cost_estimator.pyEstimate monthly costs for a deployment configuration
examples/params-production.jsonProduction-grade parameter set
examples/params-development.jsonCost-reduced development parameter set
examples/params-staging.jsonStaging environment parameter set

Prerequisites

  • AWS CLI v2 configured with appropriate credentials
  • An AWS account with permissions to create VPCs, IAM roles, KMS keys, and CloudWatch resources
  • For CDK: Python 3.10+, Node.js 18+, AWS CDK CLI v2 (npm install -g aws-cdk)
  • Basic understanding of CloudFormation and/or CDK
Chapter 2

Quick Start

Follow this guide to get AWS Well-Architected Templates up and running in your environment.

Quick Start

Deploy with CloudFormation

bash
# 1. Deploy the VPC foundation first
aws cloudformation deploy \
  --template-file cloudformation/vpc-network.yaml \
  --stack-name well-arch-vpc \
  --parameter-overrides file://examples/params-production.json \
  --capabilities CAPABILITY_IAM

# 2. Deploy security baseline (references the VPC stack)
aws cloudformation deploy \
  --template-file cloudformation/security-baseline.yaml \
  --stack-name well-arch-security \
  --parameter-overrides NetworkStackName=well-arch-vpc \
  --capabilities CAPABILITY_NAMED_IAM

# 3. Deploy the application tier
aws cloudformation deploy \
  --template-file cloudformation/high-availability-app.yaml \
  --stack-name well-arch-app \
  --parameter-overrides NetworkStackName=well-arch-vpc \
  --capabilities CAPABILITY_IAM

Deploy with CDK

bash
cd cdk/
python -m venv .venv && source .venv/bin/activate
pip install aws-cdk-lib constructs
cdk synth    # Review the generated CloudFormation
cdk deploy --all

Run the Assessment Script

bash
python scripts/pillar_assessment.py
# Interactive CLI walks you through each pillar's checklist
# Outputs a score and recommendations report

Architecture Summary

The templates create a three-tier architecture within a Well-Architected VPC:

Internet
    │
    ├── CloudFront (optional CDN)
    │
    ├── ALB (public subnets, 2+ AZs)
    │     │
    │     ├── App Tier (private subnets, Auto Scaling)
    │     │     │
    │     │     └── RDS (isolated subnets, Multi-AZ)
    │     │
    │     └── NAT Gateway (outbound internet)
    │
    ├── CloudWatch (monitoring + alarms)
    ├── CloudTrail (API audit logging)
    ├── GuardDuty (threat detection)
    └── Security Hub (compliance dashboard)

Cost Notes

EnvironmentEstimated Monthly CostNotes
Development$80–150Single NAT, t3.small instances, no Multi-AZ RDS
Staging$200–400Single NAT, t3.medium instances, Multi-AZ RDS
Production$500–1,500+Dual NAT, mixed instance fleet, full monitoring

Use scripts/cost_estimator.py to calculate costs for your specific configuration. Costs depend heavily on instance types, data transfer, and whether you use reserved capacity.

Chapter 3
🔒 Available in full product

FAQ

You’ve reached the end of the free preview

Get the full AWS Well-Architected Templates and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $49 →
📦 Free sample included — download another copy for the full product.
AWS Well-Architected Templates v1.0.0 — Free Preview