Getting started with Cost Optimization Hub - Amazon Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Getting started with Cost Optimization Hub

The overviews in this section describe how to get started with Cost Optimization Hub in Amazon 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, Amazon Command Line Interface (Amazon CLI), or SDKs.

By opting in, you authorize Cost Optimization Hub to import cost optimization recommendations generated by multiple Amazon services in your account and all member accounts of your organization. These include rightsizing recommendations from Amazon Compute Optimizer and Savings Plans recommendations from Amazon Billing and Cost Management. These recommendations are saved in the US East (N. Virginia) Region.

In the future, Amazon may expand the types of cost optimization recommendations that Cost Optimization Hub imports. Amazon may also export recommendations from Cost Optimization Hub to other integrated Amazon services.

Accounts supported by Cost Optimization Hub

The following Amazon account types can opt in to Cost Optimization Hub:

  • Standalone Amazon account

    A standalone Amazon account that doesn't have Amazon 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 Amazon 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 Amazon 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.

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 Amazon 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 Amazon 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 Amazon 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
  1. Sign in to the Amazon Management Console and open the Amazon Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/home.

  2. In the navigation pane, choose Cost Optimization Hub.

  3. 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.

  4. Choose Enable.

You can also enable Cost Optimization Hub through the Cost Management preferences in the console, or you can use the Amazon CLI or Amazon SDK.

After you enable Cost Optimization Hub, Amazon starts to import cost optimization recommendations from various Amazon products, such as Amazon Compute Optimizer. It can take as long as 24 hours for Cost Optimization Hub to import recommendations for all supported Amazon resources.

Opting in to Compute Optimizer

For Cost Optimization Hub to import recommendations from Amazon Compute Optimizer, opt in to Compute Optimizer. Compute Optimizer supports standalone Amazon accounts, member accounts of an organization, and the management account of an organization. For more information, see Getting started with Amazon Compute Optimizer.

Accessing the console

When your setup is complete, access Cost Optimization Hub.

To access Cost Optimization Hub
  1. Sign in to the Amazon Management Console and open the Amazon Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/home.

  2. 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
  1. Sign in to the Amazon Management Console and open the Amazon Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/home.

  2. In the navigation pane, choose Cost Management Preferences.

  3. In Preferences, choose Cost Optimization Hub.

  4. On the Cost Optimization Hub tab, clear Enable Cost Optimization Hub.

  5. Choose Save preferences.