Browse by type
[!IMPORTANT] 📢 Introducing the AWS Well-Architected Agent (Public Preview)
On October 1, 2026, AWS announced the AWS Well-Architected Agent, now available in public preview: an AI-powered AWS service that continuously analyzes your AWS environment and delivers personalized, prioritized recommendations across cost, security, performance, and resilience.
The AWS Well-Architected Agent covers the core of what this open-source IaC Analyzer does, including on-demand architecture reviews, and goes well beyond it:
- Ongoing analysis of your live AWS environment across your AWS accounts and commercial AWS Regions
- Recommendations at the resource, application, and architecture levels, prioritized against the business goals you define
- Cross-pillar impact and trade-off analysis for each recommendation
- Ready-to-deploy remediation, such as updated IaC code, AWS CLI commands, and guided console walkthroughs
- Builds on findings from existing AWS optimization services
We encourage you to try the AWS Well-Architected Agent from the AWS Well-Architected console, or reach out to your AWS account team to learn more.
What this means for this project: the Well-Architected IaC Analyzer will continue to be maintained, mainly for security patching. We encourage users to try the AWS Well-Architected Agent.
Learn more: - What's New: AWS Well-Architected Agent (Preview) - AWS News Blog: Announcing AWS Well-Architected Agent (Preview) - AWS Documentation: What is AWS Well-Architected Agent (preview)?

Well-Architected Infrastructure as Code (IaC) Analyzer is a sample project that demonstrates how generative AI can be used to evaluate infrastructure code for alignment with best practices.
It features a modern web application built with React and AWS Cloudscape Design System, allowing users to upload IaC documents (e.g., AWS CloudFormation, Terraform, or AWS CDK templates), complete IaC projects (multiple files or zip archives), or architecture diagrams for assessment. The application leverages Amazon Bedrock to analyze the infrastructure against AWS Well-Architected best practices. These best practices are sourced from AWS Well-Architected whitepapers and synchronized with the Amazon Bedrock knowledge base.
This tool provides users with insights into how well their infrastructure code aligns with or deviates from established AWS best practices, offering suggestions for improving cloud architecture designs. Users can also upload supporting documents to provide additional context for more accurate analysis results. For architecture diagrams, it can even generate corresponding IaC templates following AWS best practices.
Additionally, an interactive Analyzer Assistant chatbot enables users to ask questions, seek clarification, and receive personalized guidance about analysis results and Well-Architected best practices.
Note: This is a sample project, for non-production usage. You should work with your security and legal teams to meet your organizational security, regulatory and compliance requirements before deployment
Filter the analysis by Criticality, Complexity, or Priority to focus remediation planning, and export all fields to CSV
NEW 🧠 Enhanced AI Capabilities with Latest Anthropic Models:
Switch models at deployment time via the ModelId CloudFormation parameter or config.ini (e.g. global.anthropic.claude-sonnet-5-5 (default), global.anthropic.claude-opus-5-5, global.anthropic.claude-fable-5-1, global.anthropic.claude-opus-5)
🚀 Accelerated Analysis with Parallel Processing:
Default adjustable batch size configuration (between 1-30) balances speed and API throttling risk
💰 Cost-Optimized Vector Storage with Amazon S3 Vectors:
Expand to see the list of supported AWS Official Lenses:





You have three options for deploying this solution: - Option 1: Using a CloudFormation Deployment Stack (Recommended) - Option 2: Using a Deployment Script - Option 3: Manual Deployment
This option uses AWS CloudFormation to create a temporary deployment environment to deploy the Well-Architected IaC Analyzer solution. This approach doesn't require any tools to be installed on your local machine.
Download the CloudFormation template: iac-analyzer-deployment-stack.yaml
Open the AWS CloudFormation console:
Make sure you are in the same AWS region where you enabled access to the LLM models
On the "Create stack" page:
iac-analyzer-deployment-stack.yaml templateChoose "Next"
On the "Specify stack details" page. Enter or change the stack name, then:
Change the stack parameters as needed. Check the CloudFormation Configuration Parameters section below for details
Security Note: By default, the stack deploys with a Public Application Load Balancer (internet-facing) with authentication enabled. For maximum security, we strongly recommend keeping authentication enabled for internet-facing deployments. If you disable authentication, your application will be publicly accessible without any security controls.
Model Selection Note: The tool currently defaults to Claude Sonnet 5.5. If you want to use a different model (E.g. Claude Opus 5.5, Claude Sonnet 5, Claude Fable 5.1, Claude Opus 5, Claude Fable 5 or Claude Opus 4.8), you'll need to explicitly add the model ID in the stack "Amazon Bedrock Model ID" configuration parameter. Please note that not all models are available in all AWS regions, so verify availability in your region before deployment. Claude Fable 5.1 is an Anthropic Covered Model: your AWS account must first opt in to AWS review by setting the Amazon Bedrock data retention mode to aws_review (see Amazon Bedrock abuse detection), and it is offered through the us. geographic and global. inference profiles only.
Geographic and Global Cross-Region Inference Note: The default Claude Sonnet 5.5 model ID uses a GLOBAL cross-Region inference profile (global.anthropic.claude-sonnet-5-5), which routes requests to any supported AWS commercial Region worldwide for optimal performance and cost savings. If your organization has data residency or compliance requirements, consider using a GEOGRAPHIC inference profile instead (e.g., "us." or "eu." prefix). For more information visit the documentation Choosing between Geographic and Global cross-Region inference
Choose "Next" until reaching the "Review" page and choose "Submit".
The deployment process typically takes 15-20 minutes.
Once complete, you'll find a new CloudFormation stack named WA-IaC-Analyzer-{region}-GenAIStack containing all the deployed resources for this solution. Find the application URL in the stack outputs: - In the CloudFormation console, navigate to the Outputs tab of the stack named WA-IaC-Analyzer-{region}-GenAIStack - Look for the FrontendURL value
Create a DNS record (CNAME or Alias) pointing to the ALB domain name
If you created a new Cognito user pool:
Add users who should have access to the application
Access your deployed application using the URL from the CloudFormation outputs (or your CNAME
browse all types & interfaces →
$ claude mcp add well-architected-iac-analyzer \
-- python -m otcore.mcp_server <graph>