Troubleshooting account opt-in and recommendation preferences - Amazon Compute Optimizer
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).

Troubleshooting account opt-in and recommendation preferences

This section covers troubleshooting why accounts might fail to opt in to Compute Optimizer and why recommendation preferences might fail to display or save. The solutions provided in this section show how you can mitigate these problems.

Failed to create service-linked role

Description

Accounts show a Failed opt-in status, and a description of Failed to create service-linked role.

Cause

Compute Optimizer uses Amazon Identity and Access Management (IAM) service-linked roles. These roles include all of the permissions that the service requires to call other Amazon Web Services on your behalf. You must configure permissions to allow an IAM entity (a user, group, or role) to create a service-linked role for Compute Optimizer. The user who tried to opt in to Compute Optimizer might not have the permissions required to have the service-linked role created.

Solution

Add the required permissions to the user who performs the Compute Optimizer opt-in. For more information, see Service-Linked Role permissions.

Failed to enable trusted access

Description

Accounts show a Failed opt-in status, and a description of Failed to enable trusted access.

Cause

You can use trusted access to enable Compute Optimizer to perform tasks in your organization and its accounts on your behalf. For more information about Amazon Organizations trusted access, see Using Amazon Organizations with other Amazon services 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 automatically enabled in your organization account. The user who tried to opt in to Compute Optimizer might not have the permissions required to have trusted access enabled.

Solution

Add the required permissions to the user who perform the Compute Optimizer opt-in. For more information, see Permissions required to enable trusted access in the Amazon Organizations User Guide. After you add the required permissions, opt in to Compute Optimizer again using your organization's management account and include all member accounts within the organization. For more information, see Opting in your account.

Failed to get or update enhanced infrastructure metrics recommendation preferences

Description

A banner is displayed that indicates that the Compute Optimizer console could not get or update enhanced infrastructure metrics recommendation preferences.

Cause

You might not have the permissions required to view or update recommendation preferences.

Solution

Add the required permissions to the user who will view or edit recommendation preferences. For more information, see Policies to grant access to manage Compute Optimizer recommendation preferences.