View a markdown version of this page

Troubleshooting in Amazon Compute Optimizer - 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 in Amazon Compute Optimizer

This section describes errors that might occur while using Amazon Compute Optimizer and provides solutions to resolve them.

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 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. If you tried to opt in to Compute Optimizer, you might not have the permissions required to create the service-linked role.

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. If you tried to opt in to Compute Optimizer, you might not have the permissions required to enable trusted access.

Solution

Add the required permissions to the user who performs 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 to Amazon Compute Optimizer.

Failed to get or update enhanced infrastructure metrics recommendation preferences

Description

A banner 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.

Troubleshooting failed export jobs

When you try to export your resource recommendations, you might experience one of the following error messages or issues. Use the information provided to try to resolve the error before trying to export your recommendations again.

You don't have permissions to the Amazon S3 bucket specified. Confirm the permissions of your S3 bucket and try again.

Confirm that you have configured the required permissions on your Amazon S3 bucket. For more information, see Specifying an existing S3 bucket for your recommendations export.

The Amazon S3 bucket specified is public. Only private S3 buckets are supported.

Your Amazon S3 bucket must be set to block public access. For more information, see Blocking public access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.

You created a scripted or automatic export job, but there is recommendation data missing from your Amazon S3 bucket.

Call the DescribeRecommendationExportJobs API to verify the final status of the export job. If the export job failed, call the ExportResourceRecommendations API again. For more information, see DescribeRecommendationExportJobs in the Amazon Compute Optimizer API Reference.