
AWS has launched the public preview of the AWS Well-Architected Agent, an AI-powered service that provides contextual, goal-aligned recommendations for optimizing cloud infrastructure. This new tool helps teams improve cost, security, performance, and resilience across 65+ AWS services.
Understanding the AWS Well-Architected Agent
The AWS WellâArchitected Agent is an AIâdriven service that continuously inspects an AWS workload, correlates configuration data, utilization metrics, and the declared application topology, and then produces actionable recommendations aligned with the WellâArchitected Framework. Unlike manual checklists, the agent evaluates each resource as a cloud architect would, using the context you provide (business goals, application boundaries, and selected pillars such as cost, performance, resilience, or security).
When you create an agent profile, you specify the AWS accounts, regions, and services to monitor, and you attach a customerâmanaged IAM role that grants readâonly access to resource configurations, CloudWatch metrics, and tagâbased topology information. After the profile is saved, the agent begins analysis and typically generates its first set of findings within 24âŻhours.
- Goalâaligned intelligence: Recommendations are prioritized by the impact on the goals you declared (e.g., reducing monthly spend or improving latency).
- Threeâlevel recommendations:
- Individual resource findings with estimated dollar impact and stepâbyâstep remediation.
- Consolidated findings that span multiple resources within an application.
- Architectural pattern changes delivered as Infrastructure as Code (IaC) diffs for CloudFormation, Terraform, or CDK.
- Optional remediation paths: You can apply fixes via the console walkthrough, by executing generated AWS CLI commands, or by incorporating the provided IaC changes into your codebase.
Practical example: An organization runs a fleet of AmazonâŻEC2âŻm5.large instances behind an Application Load Balancer. The agent detects that CPU utilization averages 10âŻ% over a week while the instances are configured for a 70âŻ% target. It recommends downsizing to m5.xlarge with a 30âŻ% cost reduction, supplies the exact aws ec2 modify-instance-attribute CLI command, and provides a CloudFormation snippet that updates the Auto Scaling group launch template. The recommendation also notes a tradeâoff: the smaller instance type may have lower network bandwidth, which could affect burst traffic.
All recommendations are delivered through the WellâArchitected console and an API, enabling integration with CI/CD pipelines or ticketing systems. Because the underlying generative AI may produce incomplete suggestions, teams must validate each recommendation against their compliance standards (e.g., SOCâŻ2, ISOâŻ27001, NIST, OWASP) before implementation.
Core Features: Goal-Aligned Intelligence and Three-Level Recommendations
The AWS WellâArchitected Agent replaces generic audit findings with a model that first understands the business intent of a workload and then tailors its analysis to that intent. Engineers declare objectivesâsuch as cost reduction, performance improvement, resilience, or security compliance (e.g., ISOâŻ27001, NIST, SOCâŻ2, OWASP)âand attach application context (tags, topology, IaC source). The agent correlates utilization metrics, resource configurations, and service relationships, scoring each potential change by projected impact against the declared goals. This âgoalâaligned intelligenceâ ensures that a recommendation to resize an EC2 instance, for example, is surfaced only when the costâsaving benefit outweighs the performance target set by the team.
Threeâlevel recommendation hierarchy
Recommendations are delivered in three distinct scopes, allowing engineers to act at the appropriate granularity:
- Individual resource fixes â Precise findings on a single resource (e.g., an underâutilized RDS instance) with an estimated dollar impact and stepâbyâstep remediation instructions.
- Consolidated application findings â Grouped insights that span multiple resources within the same application, highlighting crossâresource tradeâoffs such as moving from a monolithic architecture to microâservices to improve resilience.
- Broad architectural patterns with IaC changes â Recommendations that propose redesigns (e.g., adopting a multiâAZ deployment pattern) and provide readyâtoâapply Infrastructure as Code (IaC) modifications for CloudFormation, Terraform, or CDK.
Practical remediation paths
Each recommendation includes optional remediation methods, enabling teams to choose the most efficient execution channel:
- Console walkthroughs â Interactive UI steps that guide operators through configuration changes.
- CLI commands â Preâgenerated AWS CLI snippets for quick, scriptable fixes.
- IaC updates â Exact code diffs that can be merged into versionâcontrolled templates, ensuring that the change is reproducible and auditable.
For example, a recommendation to replace a singleâAZ S3 bucket with a crossâregion replication setup will appear as a highâlevel architectural pattern. The agent supplies a CloudFormation snippet that adds the required ReplicationConfiguration block, a CLI command to enable replication, and a console view that explains the resilience benefit relative to the organizationâs disasterârecovery goal.
Getting Started: Profiles, IAM, and Architecture Reviews
To begin utilizing the AWS Well-Architected Agent, engineers must initialize the environment through a structured onboarding process. This workflow involves configuring the serviceâs operational scope, establishing the necessary security permissions, and integrating architectural analysis into the deployment pipeline.
1. Establishing the Agent Profile
An agent profile acts as the primary configuration object, defining the logical boundaries for analysis. Within the AWS Well-Architected console, you must specify:
- Scope: Define target AWS accounts, specific Regions, and resource tags to narrow the analysis focus.
- Focus Areas: Select relevant optimization pillarsâCost Optimization, Performance, Resilience, or Securityâbased on your business objectives.
- Goal Alignment: Explicitly state business goals for these pillars to ensure the generated recommendations are prioritized by impact and effort.
2. Provisioning IAM Roles
The agent requires programmatic access to your infrastructure to correlate utilization metrics, resource configurations, and application topology. You must provision customer-managed IAM roles that grant the agent read-only permissions. These roles are essential for the agent to evaluate the environment against Well-Architected best practices across more than 65 AWS services.
3. Conducting Architecture Reviews
Beyond analyzing running resources, the service supports pre-deployment validation through architecture reviews. This process allows engineers to identify potential misconfigurations before they reach production:
- IaC Upload: Compress your Infrastructure as Code (IaC) project (Terraform, AWS CloudFormation, or AWS CDK) into a .zip file.
- Analysis: Upload the archive via the "Conduct architecture review" dashboard and select the appropriate Well-Architected lens.
- Remediation: The agent provides actionable remediation paths, including updated IaC templates. These code changes can be integrated directly into your existing codebase, allowing for iterative improvements to your architectural patterns.
Following setup, the agent generates recommendations within 24 hours. For programmatic workflows, developers can integrate these insights by calling the service APIs, ensuring that architectural oversight remains consistent with existing CI/CD practices.
Flexible Remediation Pathways
Remediation strategies in cloud-native environments must align with existing DevOps patterns to maintain velocity without sacrificing architectural integrity. The AWS Well-Architected Agent facilitates this by generating context-aware, automation-ready resolution paths for findings across cost, security, performance, and resilience pillars. By correlating resource configurations, utilization metrics, and application topology, the agent provides three distinct mechanisms for applying fixes.
Users can select the remediation pathway best suited to their operational maturity and risk tolerance:
- Console Walk-throughs: Ideal for ad-hoc changes or verifying impacts in non-production environments. The console provides step-by-step UI-based instructions to guide engineers through resource configuration updates.
- Updated IaC Templates: Designed for maintaining a single source of truth. The agent generates specific code snippets for Terraform, AWS CloudFormation, or AWS Cloud Development Kit (CDK), enabling engineers to commit architectural changes directly into their existing version control systems.
- AWS CLI Commands: Facilitates programmatic, point-in-time remediation for granular resource updates, useful for quick consistency checks across multiple instances.
To integrate these recommendations into enterprise workflows, engineers can consume findings programmatically via APIs. This allows teams to surface architectural insights directly within existing development and operations tools, minimizing context switching. For example, utilizing the AWS Model Context Protocol (MCP) server and associated plugins enables developers to interact with the agent through AI-powered coding assistants. This integration allows for the retrieval of recommendations and documentation search without leaving the Integrated Development Environment (IDE). By surfacing these remediation packagesâincluding code changes and command-line instructionsâwithin the development loop, teams can identify and resolve architectural drifts before deployment. All automated or manual remediation should be verified against defined business goals and subjected to internal quality assurance protocols to ensure environmental stability.
Important Considerations and Responsible AI
The AWS Well-Architected Agent leverages generative AI to analyze infrastructure configurations, utilization metrics, and application topology against established architectural best practices. Because these recommendations are derived from probabilistic generative AI models, they may occasionally contain errors or incomplete information. Consequently, engineering teams must maintain rigorous oversight when integrating AI-generated insights into production environments.
Operationalizing these recommendations requires a clear understanding of the service's lifecycle and access requirements:
- Periodic Nature of Recommendations: The agent does not provide real-time, continuous remediation in a closed loop. Instead, recommendations are updated periodically. Engineering teams must establish a recurring review cadence to track new findings and ensure that infrastructure remains aligned with current business goals and evolving architectural standards.
- User Responsibility for Evaluation: Users are solely responsible for reviewing all agent-generated outputs before implementation. This includes evaluating Infrastructure as Code (IaC) snippets, AWS CLI commands, and architectural pattern changes. It is critical to perform impact analyses and integrate these changes within your existing CI/CD validation pipelines to verify functionality and security before deployment.
- AWS Support Plan Requirement: Access to the AWS Well-Architected Agent is strictly contingent upon maintaining an active AWS Support plan. This requirement ensures that customers have access to the necessary professional assistance to help interpret complex architectural recommendations or resolve issues identified during the remediation process.
To integrate these insights effectively, consider implementing the following safeguards:
- IaC Validation: Before applying suggested template changes for Terraform, CloudFormation, or the AWS Cloud Development Kit (CDK), execute linting and security scanning tools to ensure compliance with internal security policies.
- Contextual Scoping: Utilize agent profiles to define the specific AWS accounts, regions, and application contexts monitored by the agent. This minimizes the risk of broad, unintended configuration changes.
- Programmatic Integration: For large-scale environments, use the available API access or the AWS MCP Server to ingest recommendations into existing development and operations workflows, enabling automated tracking and auditing of remediation tasks.
Availability and Access
The preview of AWS WellâArchitected Agent is deployed only in three AWS commercial Regions:âŻUSâŻEastâŻ(N.âŻVirginia),âŻUSâŻEastâŻ(Ohio), andâŻUSâŻWestâŻ(Oregon). These Regions host the service endpoints that process agent profiles, generate recommendations, and expose the API. Because the service itself runs in those Regions, all console interactions and API calls are routed to them, regardless of where the workload being evaluated resides.
Workload onboarding, however, is not limited to the three preview Regions. The agent can read resource configurations, utilization metrics, and application topology from any AWS commercial Region. This is achieved by granting the agent a customerâmanaged IAM role that has readâonly permissions on the target accounts and Regions. The role is assumed by the agent service in the preview Region, allowing it to pull data across the global AWS footprint while keeping the analysis engine localized.
- Define the agent profile in the WellâArchitected console, selecting the AWS accounts and the specific Regions that contain the workloads you wish to evaluate.
- Provision the IAM role with policies such as
ReadOnlyAccessand any additional permissions required for services like EC2, RDS, or Lambda in the source Regions. - Upload IaC artifacts (Terraform, CloudFormation, or CDK) if you want preâdeployment analysis; the agent will parse these files without needing the resources to be live.
- Invoke the API from your CI/CD pipeline; the endpoint URL resolves to one of the three preview Regions, but the request payload can reference resources in any commercial Region.
For example, an engineering team operating in euâcentralâ1 (Frankfurt) can create an agent profile that includes an Amazon RDS instance in that Region. The agent, running in USâŻEastâŻ(N.âŻVirginia), assumes the crossâRegion IAM role, reads the RDS configuration, and returns recommendations that are displayed in the console located in the preview Region. The same pattern applies to workloads in Asia Pacific (Tokyo) or South America (SĂŁoâŻPaulo).
Because the service is delivered by AWS Support and subject to AWSâs security certifications (including SOCâŻ2, ISOâŻ27001, and NISTâŻ800â53), data transferred between Regions is encrypted in transit using TLS. Engineers should still apply principleâofâleastâprivilege when defining the IAM role and validate that any findings comply with internal security standards such as OWASP TopâŻ10 before implementing remediation steps.
Looking for Custom Software or AI Solutions?
Appworks Technologies designs, builds, and scales production enterprise platforms, microservices, and AI agent workflows tailored to your business goals.
Editorial Policy & Research Methodology
Our findings are based on rigorous internal research, verified industry benchmarks, and direct technical implementation experience from our enterprise client projects. All statistics and technical claims are reviewed by senior engineers before publication to ensure accuracy, transparency, and helpfulness for our readers.
