---
title: AWS Compute Optimizer
description: >-
  Resource configuration recommendations to help optimize your workloads
  effectively.
breadcrumbs: Docs > Integrations > AWS Compute Optimizer
---

# AWS Compute Optimizer

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com



{% alert level="warning" %}
The AWS Compute Optimizer integration is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md) ().
{% /alert %}


{% /callout %}

## Overview{% #overview %}

AWS Compute Optimizer is a web service that provides resource configuration recommendations to help users rightsize their workloads.

This integration enables you to get better EC2 instance type recommendations in AWS Compute Optimizer using memory utilization data from the Datadog Agent. For more information on Compute Optimizer, read [What is AWS Compute Optimizer?](https://docs.aws.amazon.com/compute-optimizer/latest/ug/what-is-compute-optimizer.html) in the AWS documentation.

## Setup{% #setup %}

### Installation{% #installation %}

#### AWS{% #aws %}

1. In the AWS Compute Optimizer console, go to the **Preferences > General** page and set your preferences for external metrics ingestion to `Datadog`.
1. Repeat step #1 for each AWS account you wish to get enhanced recommendations for.

#### Datadog{% #datadog %}
If you haven't already, set up the [Amazon Web Services integration first](https://docs.datadoghq.com/integrations/amazon_web_services.md) for each desired AWS account.Install the [Datadog Agent](https://docs.datadoghq.com/agent.md) on any EC2 instances to include in the improved recommendations from Compute Optimizer.Install the [Datadog - AWS Compute Optimizer integration](https://app.datadoghq.com/integrations/amazon-compute-optimizer/).
After all steps are completed, it may take **up to 30 hours** for the recommendations in AWS Compute Optimizer to use the memory utilization data from Datadog.

#### Validation{% #validation %}

Confirm that Datadog is referenced as an `External metrics source` in the recommendations table for EC2 instances:



## How it Works{% #how-it-works %}

For all EC2 instances monitored by both [Datadog's AWS Integration](https://docs.datadoghq.com/integrations/amazon_web_services.md) and the [Datadog Agent](https://docs.datadoghq.com/agent.md), Datadog sends memory utilization data from the Agent to AWS Compute Optimizer to provide enhanced instance recommendations that can potentially lead to cost savings.

**Note:** The Datadog memory utilization metrics are integrated directly with the AWS Compute Optimizer service and not your AWS account. No additional IAM permissions are needed for this integration since Datadog is not interacting with your AWS account directly.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

The AWS Compute Optimizer integration does not include any metrics.

### Events{% #events %}

The AWS Compute Optimizer integration does not include any events.

### Service Checks{% #service-checks %}

The AWS Compute Optimizer integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
