Amazon Cost Optimization Hub and Amazon Organizations - Amazon Organizations
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).

Amazon Cost Optimization Hub and Amazon Organizations

Amazon Cost Optimization Hub is an Amazon Billing and Cost Management feature that helps you consolidate and prioritize cost optimization recommendations across your Amazon accounts and Amazon Regions, so that you can get the most out of your Amazon spend. When you use Cost Optimization Hub with Amazon Organizations you can easily identify, filter, and aggregate Amazon cost optimization recommendations across your Organizations member accounts and Amazon Regions.

For more information, see Cost Optimization Hub in the Amazon Cost Management User Guide.

Use the following information to help you integrate Amazon Cost Optimization Hub with Amazon Organizations.

Service-linked roles created when you enable integration

The following service-linked role is automatically created in your organization's management account when you enable trusted access. This role allows Cost Optimization Hub to perform supported operations within your organization's accounts in your organization.

You can delete or modify this role only if you disable trusted access between Cost Optimization Hub and Organizations, or if you remove the member account from the organization.

For more information, see Service-linked role permissions for Cost Optimization Hub in the Amazon Cost Management User Guide..

  • AWSServiceRoleForCostOptimizationHub

Service principals used by Cost Optimization Hub

Cost Optimization Hub uses the cost-optimization-hub.bcm.amazonaws.com service principal.

Enabling trusted access with Cost Optimization Hub

For information about the permissions needed to enable trusted access, see Permissions required to enable trusted access.

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 automatically enabled in your organization account.

You can enable trusted access by using either the Amazon Organizations console, by running a Amazon CLI command, or by calling an API operation in one of the Amazon SDKs.

Amazon Web Services Management Console
To enable trusted service access using the Organizations console
  1. Sign in to the Amazon Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. In the navigation pane, choose Services.

  3. Choose Amazon Cost Optimization Hub in the list of services.

  4. Choose Enable trusted access.

  5. In the Enable trusted access for Amazon Cost Optimization Hub dialog box, type enable to confirm it, and then choose Enable trusted access.

  6. If you are the administrator of only Amazon Organizations, tell the administrator of Amazon Cost Optimization Hub that they can now enable that service using its console to work with Amazon Organizations.

Amazon CLI, Amazon API
To enable trusted service access using the OrganizationsCLI/SDK

You can use the following Amazon CLI commands or API operations to enable trusted service access:

  • Amazon CLI: enable-aws-service-access

    You can run the following command to enable Amazon Cost Optimization Hub as a trusted service with Organizations.

    $ aws organizations enable-aws-service-access \ --service-principal cost-optimization-hub.bcm.amazonaws.com

    This command produces no output when successful.

  • Amazon API: EnableAWSServiceAccess

Disabling trusted access

For information about the permissions needed to disable trusted access, see Permissions required to disable trusted access.

You can disable trusted access using only the Organizations tools.

Important

If you disable Cost Optimization Hub trusted access after you opt in, Cost Optimization Hub denies access to recommendations for your organization's member accounts. Moreover, the member accounts within the organization aren't opted in to Cost Optimization Hub. Learn more in Cost Optimization Hub and Organizations trusted access in the Amazon Cost Management User Guide.

You can disable trusted access by running a Organizations Amazon CLI command, or by calling an Organizations API operation in one of the Amazon SDKs.

Amazon CLI, Amazon API
To disable trusted service access using the Organizations CLI/SDK

You can use the following Amazon CLI commands or API operations to disable trusted service access:

  • Amazon CLI: disable-aws-service-access

    You can run the following command to disable Amazon Cost Optimization Hub as a trusted service with Organizations.

    $ aws organizations disable-aws-service-access \ --service-principal cost-optimization-hub.bcm.amazonaws.com

    This command produces no output when successful.

  • Amazon API: DisableAWSServiceAccess