

# Getting started with Amazon Compute Optimizer
<a name="getting-started"></a>

When you access the Amazon Compute Optimizer console for the first time, you're asked to opt in using the account that you’re signed in with. Before you can use the service, you must opt in or out. In addition, you can also opt in or opt out using the Compute Optimizer API, Amazon Command Line Interface (Amazon CLI), or SDKs.

By opting in, you're authorizing Compute Optimizer to analyze the specifications and utilization metrics of your Amazon resources. Examples include EC2 instances and EC2 Auto Scaling groups.

**Note**  
To improve the recommendation quality of Compute Optimizer, Amazon Web Services might use your CloudWatch metrics and configuration data. This includes up to three months (93 days) of metrics analysis when you activate the enhanced infrastructure metrics feature. Contact [Amazon Web Services Support](https://console.amazonaws.cn/support) to request that Amazon stop using your CloudWatch metrics and configuration data to improve the recommendation quality of Compute Optimizer.

## Required permissions
<a name="required-permissions"></a>

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see [Identity and Access Management for Amazon Compute Optimizer](security-iam.md).

When you opt in, Compute Optimizer automatically creates a Service-Linked Role in your account to access its data. For more information, see [Using service-linked roles for Amazon Compute Optimizer](using-service-linked-roles.md).

## Accounts supported by Compute Optimizer
<a name="supported-accounts"></a>

The following Amazon Web Services account types can opt in to Compute Optimizer:
+ **Standalone Amazon account**

  A standalone Amazon Web Services account that doesn't have Amazon Organizations enabled. If you opt in to Compute Optimizer while signed in to a standalone account, Compute Optimizer analyzes the resources in the account and generates optimization recommendations for those resources.
+ **Member account of an organization**

  An Amazon Web Services account that's a member of an organization. If you opt in to Compute Optimizer while signed in to a member account of an organization, Compute Optimizer only analyzes the resources in the member account and generates optimization recommendations for those resources.
+ **Management account of an organization**

  An Amazon Web Services account that administers an organization. If you opt in to Compute Optimizer while signed in to a management account of an organization, Compute Optimizer 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](https://docs.amazonaws.cn/organizations/latest/userguide/orgs_manage_org_support-all-features.html) 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 Compute Optimizer is enabled in your organization account. For more information, see [Trusted access for Amazon Organizations](security-iam.md#trusted-service-access).

## Next steps
<a name="next-steps-getting-started"></a>

For instructions on how to opt in your account, or the accounts within your organization, to Amazon Compute Optimizer, see [Opting in to Amazon Compute Optimizer](account-opt-in.md).

## Additional resources
<a name="getting-started-resources"></a>
+ [Identity and Access Management for Amazon Compute Optimizer](security-iam.md)
+ [Amazon managed policies for Amazon Compute Optimizer](managed-policies.md)
+ [Using service-linked roles for Amazon Compute Optimizer](using-service-linked-roles.md)