Well-Architected optimization concepts and terminology
This topic defines the key concepts you need to understand before using Well-Architected optimization.
Optimization profiles
An optimization profile is the primary entity in WA optimization. It defines which AWS accounts and Regions WA optimization monitors, the goals it optimizes for, and details about your applications. WA optimization uses the profile to scan your resources and generate recommendations.
AWS Well-Architected Tool also has a feature named profiles. AWS WA Tool profiles are questionnaires that you attach to workloads to prioritize review questions, and are unrelated to WA optimization profiles. This section describes WA optimization profiles only. For information about AWS WA Tool profiles, see Tool profiles.
When you create a profile, you can create an execution role during the setup process or select an existing one. You create access roles in your workload accounts before or after profile creation, then link them by updating the access role trust policies. If you choose to monitor only the current account during profile creation, WA optimization creates both the execution role and the access role automatically, so you don't need to create any roles manually.
You can also create an organizational profile with AWS Organizations. When you use AWS Organizations during profile creation, WA optimization creates the required roles automatically for the organization accounts you select, and you select accounts from your organization structure rather than entering account IDs manually. For more information, see Step 1: Enter profile details.
Each profile has the following attributes:
A unique name within an AWS account and AWS Region.
Business goals that direct the optimization focus.
Optimization pillars to analyze.
Accounts to scan for resources.
Execution roles and access roles
WA optimization uses two types of IAM roles to discover and analyze resources across your accounts:
Execution role: An IAM role in the same account as your WA optimization profile. You create this role during profile setup or select an existing one. WA optimization assumes this role to orchestrate resource discovery across your configured accounts. The trust policy allows the
wellarchitected.amazonaws.comservice principal to assume the role.Access role: An IAM role that you create in each account you want WA optimization to analyze. The access role is encouraged to use the
WellArchitectedAgentResourceScanningmanaged policy, which grants read-only access to resource metadata and configuration. Alternatively, you can scope the access role permissions to only the actions you want WA optimization to perform on your behalf. You update the trust policy on each access role to allow the execution role to assume it.
Neither role grants WA optimization permission to modify your resources. The execution role's only permission is to assume your access roles, and access roles grant read-only access to resource metadata and configuration.
You can use the same role name across all workload accounts (common name pattern) or use different names per account (per-account ARN). During profile creation, you specify which approach you are using. If you choose to monitor only the current account, WA optimization creates both the execution role and the access role automatically, so you don't need to create any roles manually.
Goals and optimization pillars
Business goals are plain-text statements that guide how WA optimization prioritizes and ranks recommendations. You add goals during profile creation and can modify them at any time afterward. Each goal is associated with one optimization pillar.
WA optimization analyzes your infrastructure across four optimization pillars:
Cost optimization
Security
Resilience
Performance
Application context
Application context provides WA optimization with additional information about your workloads so that it can generate more relevant, personalized recommendations. You add application context after your profile is created.
Application context includes the following:
Application overview
Accounts and Regions
Tags (key-value pairs to scope resource discovery)
Services and resource types. Some resource types are not supported. For more information, see Unsupported resource types.
Industry
Application type (
SAS,DESKTOP_APPLICATION, orOTHER)Criticality level (
TEST_DEVELOPMENT,NON_CRITICAL,MISSION_CRITICAL, orBUSINESS_CRITICAL)Architecture overview (plain text)
Additional context (plain text)
Recommendation types
WA optimization generates three types of recommendations:
Resource: Targets a specific resource such as an Amazon EC2 instance, Lambda function, or Amazon RDS database. Identifies optimization opportunities at the individual resource level.
Application: Spans multiple related resources within a discovered application. Considers how resources interact and provides guidance that accounts for relationships between components.
Architecture: Generated from IaC template analysis. Upload your CloudFormation, Terraform, or AWS CDK templates and receive recommendations aligned to AWS Well-Architected best practices, along with deployment-ready updated templates.
Architecture reviews
Architecture reviews are on-demand analyses of your Infrastructure as Code (IaC) projects against the AWS Well-Architected Framework. You provide an Amazon S3 URI pointing to your IaC files or upload a single document directly through the console. Select which pillars to review, and WA optimization returns architecture-type recommendations with updated templates.
Architecture reviews differ from resource and application recommendations in that they target templates before deployment, enabling you to identify issues before they reach production.
Organization reports
An Organization report aggregates Well-Architected optimization recommendations across the AWS accounts in your organization so that you can view coverage organization-wide. Organization reports depend on an organizational profile and on trusted access with AWS Organizations. For more information, see Organization reports.