Getting started with Cost Optimization Hub
The overviews in this section describe how to get started with Cost Optimization Hub in AWS Billing and Cost Management.
When you access Cost Optimization Hub for the first time, you're asked to opt in using the account that you’re signed in with. Before you can use the feature, you must opt in. In addition, you can also opt in using the Cost Optimization Hub API, AWS Command Line Interface (AWS CLI), or SDKs.
By opting in, you authorize Cost Optimization Hub to import cost optimization recommendations generated by multiple AWS services in your account and all member accounts of your organization. These include rightsizing recommendations from AWS Compute Optimizer and Savings Plans recommendations from AWS Billing and Cost Management. These recommendations are saved in the US East (N. Virginia) Region.
In the future, AWS may expand the types of cost optimization recommendations that Cost Optimization Hub imports. AWS may also export recommendations from Cost Optimization Hub to other integrated AWS services.
Accounts supported by Cost Optimization Hub
The following AWS account types can opt in to Cost Optimization Hub:
-
Standalone AWS account
A standalone AWS account that doesn't have AWS Organizations enabled. For example, if you opt in to Cost Optimization Hub while signed in to a standalone account, Cost Optimization Hub identifies cost optimization opportunities and consolidates recommendations.
-
Member account of an organization
An AWS account that's a member of an organization. If you opt in to Cost Optimization Hub while signed in to a member account of an organization, Cost Optimization Hub identifies cost optimization opportunities and consolidates recommendations.
-
Management account of an organization
An AWS account that administers an organization. If you opt in to Cost Optimization Hub while signed in to a management account of an organization, Cost Optimization Hub gives you the option to opt in the management account only, or the management account and all member accounts of the organization.
The management account can register a member account as a delegated administrator for Cost Optimization Hub. This enables the delegated administrator to see all recommendations on the management account’s behalf. There can only be one delegated administrator per organization. For more information, see Delegate an administrator account.
Important
To opt in all member accounts for an organization, make sure that the organization has all features enabled. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
When you opt in using your organization's management account and include all member accounts within the organization, trusted access for Cost Optimization Hub is enabled in your organization account. For more information, see Cost Optimization Hub and AWS Organizations trusted access.
Policy to opt in to Cost Optimization Hub
The following policy statement grants you access to opt in to Cost Optimization Hub. It grants you access to create a service-linked role for Cost Optimization Hub. This role is required to opt in. For more information, see Service-linked roles for Cost Optimization Hub. It also grants access to update the enrollment status to the Cost Optimization Hub feature.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "arn:aws:iam::*:role/aws-service-role/cost-optimization-hub.bcm.amazonaws.com/AWSServiceRoleForCostOptimizationHub", "Condition": {"StringLike": {"iam:AWSServiceName": "cost-optimization-hub.bcm.amazonaws.com"}} }, { "Effect": "Allow", "Action": "iam:PutRolePolicy", "Resource": "arn:aws:iam::*:role/aws-service-role/cost-optimization-hub.bcm.amazonaws.com/AWSServiceRoleForCostOptimizationHub" }, { "Effect": "Allow", "Action": "cost-optimization-hub:UpdateEnrollmentStatus", "Resource": "*" } ] }
There are two AWS managed policies to help get you started with Cost Optimization Hub actions. One policy provides you with read-only access to Cost Optimization Hub, and the other policy provides you with admin access. For full details, see Managed policies.
Enabling Cost Optimization Hub
To access Cost Optimization Hub, you must first enable the feature.
To enable Cost Optimization Hub
Open the AWS Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/home
. -
In the navigation pane, choose Cost Optimization Hub.
-
On the Cost Optimization Hub page, choose your relevant organization and member account settings:
-
Enable Cost Optimization Hub for this account and all member accounts: Recommendations in this account and all member accounts will be imported into Cost Optimization Hub.
-
Enable Cost Optimization Hub for this account only: Only recommendations in this account will be imported into Cost Optimization Hub.
-
-
Choose Enable.
You can also enable Cost Optimization Hub through the Cost Management preferences in the console, or you can use the AWS CLI or AWS SDK.
After you enable Cost Optimization Hub, AWS starts to import cost optimization recommendations from various AWS products, such as AWS Compute Optimizer. It can take as long as 24 hours for Cost Optimization Hub to import recommendations for all supported AWS resources.
Opting in to Compute Optimizer
For Cost Optimization Hub to import recommendations from AWS Compute Optimizer, opt in to Compute Optimizer. Compute Optimizer supports standalone AWS accounts, member accounts of an organization, and the management account of an organization. For more information, see Getting started with AWS Compute Optimizer.
Accessing the console
When your setup is complete, access Cost Optimization Hub.
To access Cost Optimization Hub
Open the AWS Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/home
. -
In the navigation pane, choose Cost Optimization Hub.
Opting out of Cost Optimization Hub
You can opt out of Cost Optimization Hub at any time. However, the organization account can't opt out all member accounts. Each member needs to opt out at account level.
To opt out of Cost Optimization Hub
Open the AWS Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/home
. -
In the navigation pane, choose Cost Management Preferences.
-
In Preferences, choose Cost Optimization Hub.
-
On the Cost Optimization Hub tab, clear Enable Cost Optimization Hub.
-
Choose Save preferences.