AWS Cost Optimization Hub
Tags: aws, costmanagement, costoptimizationhub
Published: 2024-03-25 08:34:38

## Overview of Cost Optimization Hub

Cost Optimization Hub is an AWS Billing and Cost Management feature that helps you consolidate and prioritize cost optimization recommendations across your AWS accounts and AWS Regions, so that you can get the most out of your AWS spend.

Cost Optimization Hub provides the following main benefits:

- Automatically identify and consolidate your AWS cost optimization opportunities.
- Quantify estimated savings that incorporate your AWS pricing and discounts.
- Aggregate and deduplicate savings across related cost optimization opportunities.
- Prioritize your cost optimization recommendations with filtering, sorting, and grouping.
- Measure and benchmark your cost efficiency.

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

**Note:** 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

## Getting started with Cost Optimization Hub

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.

### Enabling Cost Optimization Hub

#### To enable Cost Optimization Hub

- Sign in to the AWS Management Console.
- 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.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qzz6f5bkpo3z58p3kz4z.png)

- Choose Enable.

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.

#### Accessing the console
When your setup is complete, access Cost Optimization Hub.

To access Cost Optimization Hub

- Sign in to the AWS Management Console
- 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

- Sign in to the AWS Management Console.
- 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.

### Viewing your cost optimization opportunities

Cost optimization findings for your resources are displayed on the Cost Optimization Hub dashboard. You can use this dashboard to filter cost optimization opportunities and aggregate estimated savings. You can compare your total savings opportunities against your previous month's AWS spend.

Use the dashboard to group your savings opportunities by AWS account, AWS Region, resource types, and tags. View the distribution of your savings opportunities, explore the recommended actions, and identify the areas with the most savings opportunities. The dashboard is refreshed daily and all costs reflect your usage up to the previous day. For example, if today is December 2, the data includes your usage through December 1.

#### Viewing the dashboard

Use the following procedure to view the dashboard and your cost optimization opportunities.

- Sign in to the AWS Management Console and open the AWS Billing and Cost Management.
- In the navigation pane, choose Cost Optimization Hub.
By default, the dashboard displays an overview of cost optimization opportunities for AWS resources across all AWS Regions in the account that you're currently signed in to.
- You can perform the following actions on the dashboard:
   - To view the cost optimization findings for a particular AWS Region in the account, choose the Region in the chart.
   - To view the cost optimization findings for resources in a particular account, under Aggregate estimated savings by, choose AWS account, and then choose an account ID in the chart.
   - To view cost optimization findings by resource type, under Aggregate estimated savings by, choose Resource type.
   - To view recommended actions, under Aggregate estimated savings by, choose Recommended action.
   - To filter findings on the dashboard, under Filter, choose from the filter options.
   - To go to the list of resources available for optimization, choose View opportunities.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q5jeb22hg4j6lzhc8r94.png)

#### Switching the dashboard view
The Cost Optimization Hub dashboard provides you two styles for viewing your cost optimization opportunities:

- Chart view
- Table view

You can set the style by choosing one of the views on the top right corner of the chart or table.

#### Reference
You can also reference [here](https://aws.amazon.com/blogs/aws/new-cost-optimization-hub-to-find-all-recommended-actions-in-one-place-for-saving-you-money/)