← Back to all products

AWS Well-Architected Templates

$49

CloudFormation and CDK templates implementing AWS Well-Architected Framework across all five pillars.

📁 26 files
JSONPythonYAMLMarkdownAWSExcel

📄 Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample

📁 File Structure 26 files

aws-well-architected-templates/ ├── LICENSE ├── README.md ├── cdk/ │ ├── networking_stack.py │ ├── security_stack.py │ └── well_architected_app.py ├── cloudformation/ │ ├── cost-optimized-compute.yaml │ ├── high-availability-app.yaml │ ├── operational-excellence.yaml │ ├── performance-monitoring.yaml │ ├── security-baseline.yaml │ └── vpc-network.yaml ├── docs/ │ ├── architecture.md │ ├── cost-optimization-guide.md │ ├── deployment-guide.md │ ├── runbook.md │ └── security-considerations.md ├── examples/ │ ├── params-development.json │ ├── params-production.json │ └── params-staging.json ├── free-sample.zip ├── guide/ │ ├── 01_overview.md │ ├── 02_quick-start.md │ └── 03_faq.md ├── index.html └── scripts/ ├── cost_estimator.py └── pillar_assessment.py

📖 Documentation Preview README excerpt

AWS Well-Architected Templates

Production-ready CloudFormation and CDK templates implementing all five pillars of the AWS Well-Architected Framework.

Built by Cloud Architecture Pro — premium reference architectures for senior cloud engineers.


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)

... continues with setup instructions, usage examples, and more.

📄 Code Sample .py preview

cdk/networking_stack.py """ Well-Architected Networking Stack — CDK Implementation Creates a production-grade VPC with the same architecture as the CloudFormation vpc-network.yaml template, but using CDK's higher-level constructs for easier customization and composition. Key differences from raw CloudFormation: - CDK's ec2.Vpc construct handles subnet CIDR allocation automatically - VPC endpoints are added as method calls, not separate resources - Flow logs are configured as a property, not a separate stack of resources - Cross-stack references are handled via Python object properties, not exports Implements: Reliability Pillar (REL-02, REL-04), Security Pillar (SEC-05) Author: Cloud Architecture Pro License: MIT """ from constructs import Construct import aws_cdk as cdk import aws_cdk.aws_ec2 as ec2 import aws_cdk.aws_logs as logs class WellArchitectedNetworkingStack(cdk.Stack): """VPC networking stack following Well-Architected best practices. Creates a three-tier VPC (public/private/isolated) with: - Configurable number of NAT Gateways (1 for dev, N for prod) - VPC Flow Logs to CloudWatch - Gateway endpoints for S3 and DynamoDB (free, keeps traffic on backbone) - Interface endpoints for SSM (enables Session Manager without internet) Args: scope: CDK app or stage construct_id: Stack identifier environment_name: dev/staging/production — controls resource naming nat_gateways: Number of NAT Gateways (1 for cost savings, 2+ for HA) max_azs: Maximum number of Availability Zones to use flow_log_retention_days: CloudWatch log retention for VPC Flow Logs """ def __init__( self, scope: Construct, construct_id: str, *, environment_name: str = "development", nat_gateways: int = 1, # ... 143 more lines ...
Buy Now — $49 Back to Products