

# AWS resources supported by Compute Optimizer
<a name="supported-resources"></a>

This chapter outlines the AWS resources that Compute Optimizer generates recommendations for. It also provides you with the specific resource types supported by Compute Optimizer.

AWS Compute Optimizer generates recommendations for the following AWS resources:
+ **Amazon Elastic Compute Cloud (Amazon EC2) instances**

  Compute Optimizer generates recommendations for many Amazon EC2 instance types. For more information about the specific instance types that Compute Optimizer supports, see [Supported Amazon EC2 instance types](#supported-ec2-instances).
+ **Amazon EC2 Auto Scaling groups **

  Compute Optimizer generates recommendations for EC2 Auto Scaling groups. For more information, see [Supported Amazon EC2 Auto Scaling groups](#supported-asg).
+ **Amazon Elastic Block Store (Amazon EBS) volumes**

  Compute Optimizer generates recommendations for various EBS volume types. For more information about the specific EBS volume types that Compute Optimizer supports, see [Supported Amazon EBS volume types](#supported-ebs-volumes).
+ **AWS Lambda functions**

  Compute Optimizer generates memory size recommendations for Lambda functions that meet specific requirements. For more information, see [Lambda function requirements](requirements.md#requirements-lambda-functions).
+ **Amazon Elastic Container Service (Amazon ECS) services on AWS Fargate**

  Compute Optimizer generates recommendations for Amazon ECS services on Fargate that meet specific requirements. For more information, see [Requirements for Amazon ECS services on Fargate](requirements.md#requirements-ecs-fargate).
+ **Commercial software licenses**

  Compute Optimizer generates license recommendations for Microsoft SQL Servers on Amazon EC2 that meet specific requirements. For more information, see [Commercial software license requirements](requirements.md#requirements-license).
+ **Amazon Aurora and Amazon Relational Database Service (Amazon RDS) databases**

  Compute Optimizer generates Aurora and RDS DB instances, RDS DB instance storage, and Aurora DB cluster recommendations for RDS for MySQL, RDS for PostgreSQL, and Amazon Aurora databases. For more information about the specific Amazon RDS resources supported by Compute Optimizer, see [Supported Amazon Aurora and RDS databases](#supported-rds).
+ **Amazon NAT Gateway**

  Compute Optimizer generates idle recommendations for NAT Gateway. For more information, see [Viewing idle resource recommendations](https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-idle-recommendations.html).



**Note**  
In order to generate recommendations for each resource, the resources must meet Compute Optimizer's metric and resource-specific requirements. For a list of the requiremtents for each resource, see [Resource requirements](requirements.md).

**Topics**
+ [Supported Amazon EC2 instance types](#supported-ec2-instances)
+ [Supported Amazon EC2 Auto Scaling groups](#supported-asg)
+ [Supported Amazon EBS volume types](#supported-ebs-volumes)
+ [Supported Amazon Aurora and RDS databases](#supported-rds)
+ [Additional resources](#supported-add-resources)

## Supported Amazon EC2 instance types
<a name="supported-ec2-instances"></a>

Compute Optimizer generates recommendations for the instance types listed in this section. The following table lists the EC2 instance types that are supported by Compute Optimizer. 


| Instance series | Instance family | 
| --- | --- | 
|  **C** – Compute optimized  |  C1 \$1 C3 \$1 C4 \$1 C5 \$1 C5a \$1 C5ad \$1 C5d \$1 C5n \$1 C6a \$1 C6g \$1 C6gd \$1 C6gn \$1 C6i \$1 C6in \$1 C6id \$1 C7a \$1 C7g \$1 C7gd \$1 C7gn \$1 C7i \$1 C7i-flex \$1 C8g \$1 C8gd \$1 C8gn  | 
|  **D** – Dense storage  |  D2 \$1 D3 \$1 D3en  | 
|  **G** – Graphics intensive  |  G4dn \$1 G5g \$1 G5 \$1 G6 \$1 Gr6 \$1 G6e  | 
|  **Hpc** – High performance computing  |  H1 \$1 Hpc6a \$1 Hpc6id \$1 Hpc7a \$1 Hpc7g  | 
|  **I** – Storage optimized  |  I2 \$1 I3 \$1 I3en \$1 I4g \$1 I4i \$1 I7ie \$1 I8g \$1 Im4gn \$1 Is4gen \$1 I8ge  | 
|  **M** – General purpose  |  M1 \$1 M2 \$1 M3 \$1 M4 \$1 M5 \$1 M5a \$1 M5ad \$1 M5d \$1 M5dn \$1 M5n \$1 M5zn \$1 M6a \$1 M6g \$1 M6gd \$1 M6i \$1 M6id \$1 M6idn \$1 M6in \$1 M7a \$1 M7g \$1 M7gd \$1 M7i \$1 M7i-flex \$1 M8g \$1 M8gd \$1 M8i \$1 M8i-flex  | 
|  **P** – GPU accelerated  |  P3 \$1 P4 \$1 P4d \$1 P4de \$1 P5 \$1 P5e \$1 P5en  | 
|  **R** – Memory optimized  |  R3 \$1 R4 \$1 R5 \$1 R5a \$1 R5ad \$1 R5b \$1 R5d \$1 R5dn \$1 R5n \$1 R6a \$1 R6g \$1 R6gd \$1 R6i \$1 R6id \$1 R6idn \$1 R6in \$1 R7a \$1 R7g \$1 R7gd \$1 R7i \$1 R7iz \$1 R8g \$1 R8gd \$1 R8i \$1 R8i-flex  | 
|  **T** – Burstable performance  |  T1 \$1 T2 \$1 T3 \$1 T3a \$1 T4g  | 
|  **U** – High memory  |  U-3tb1 \$1 U-6tb1 \$1 U-9tb1 \$1 U-12tb1 \$1 U-18tb1 \$1 U-24tb1 \$1 U7i-6tb \$1 U7i-8tb \$1 U7i-12tb \$1 U7in-16tb \$1 U7in-24tb \$1 U7in-32tb  | 
|  **X** – Memory intensive  |  X1 \$1 X1e \$1 X2gd \$1 X2idn \$1 X2iedn \$1 X2iezn \$1 X8g  | 
|  **Z** – High memory  |  z1d  | 

**Note**  
If an EC2 instance isn't listed, then it isn't supported by Compute Optimizer.
Compute Optimizer doesn't generate EC2 rightsizing recommendations for Spot Instances.

## Supported Amazon EC2 Auto Scaling groups
<a name="supported-asg"></a>

Compute Optimizer generates rightsizing and idle recommendations for Amazon EC2 Auto Scaling groups. This section outlines what Compute Optimizer supports for both types of recommendations.

### Rightsizing recommendations
<a name="supported-asg-rightsizing"></a>

Compute Optimizer supports rightsizing recommendations for EC2 Auto Scaling groups that have the following:
+ Single EC2 instance types
+ Mixed EC2 instance types
+ One or multiple scaling policies based on CPU utilization:
  + Target tracking
  + Predictive scaling
  + Simple scaling
  + Step scaling
+ Scheduled scaling policies
+ No scaling policy

**Note**  
Compute Optimizer doesn't support rightsizing recommendations for EC2 Auto Scaling groups that have the following:  
EC2 instance types that aren’t [supported by Compute Optimizer](https://docs.aws.amazon.com//compute-optimizer/latest/ug/supported-resources.html#supported-ec2-instances)
Spot Instances
Mixed instance types that contain any instances outside of the C, M, or R instance families
Amazon ECS or Amazon EKS workloads
Mixed instance types containing both AMD and Intel instances
Mixed instance types using instance weights
Mixed instance types containing both x86 and Graviton instances
Mixed instance types containing instances on different platforms, such as Windows, SQL Server, and Linux

### Idle recommendations
<a name="supported-asg-idle"></a>

Compute Optimizer supports idle recommendations for EC2 Auto Scaling groups that use most of the [Supported Amazon EC2 instance types](#supported-ec2-instances). This includes EC2 Auto Scaling groups that have the following:
+ EC2 Spot Instances
+ Mixed instance types containing any of the instance families that Compute Optimizer supports (including G and P instance families)
+ Amazon ECS or Amazon EKS workloads

## Supported Amazon EBS volume types
<a name="supported-ebs-volumes"></a>

Compute Optimizer generates recommendations for the following EBS volume types that are attached to an instance:
+ HDD `st1` and `sc1`
+ General Purpose SSD `gp2` and `gp3`
+ Provisioned IOPS SSD `io1`, `io2`, and `io2 Block Express`

Compute Optimizer also generates recommendations to move your data out from previous generation HDD Magnetic volumes. For more information, see [ Amazon EBS previous generation volumes](https://aws.amazon.com//ebs/previous-generation/).

## Supported Amazon Aurora and RDS databases
<a name="supported-rds"></a>

The following sections outline the Amazon Aurora and RDS resources supported by Compute Optimizer.

### Database engines
<a name="supported-rds-database"></a>

Compute Optimizer Compute Optimizer generates recommendations for Amazon Aurora and RDS databases running the following engines:
+ RDS for MySQL
+ RDS for PostgreSQL
+ Aurora MySQL-Compatible Edition
+ Aurora PostgreSQL-Compatible Edition

### RDS DB instances
<a name="supported-rds-instance"></a>

Compute Optimizer generates recommendations for several DB instance types. For more information about Aurora and RDS DB instance types, see [DB instance classes](https://docs.aws.amazon.com//AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass) in the *Amazon Relational Database Service User Guide* and [ DB instance class types](https://docs.aws.amazon.com//AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.Types.html) in the *Amazon Aurora User Guide for Aurora*.

The following tables list the DB instance types for the databases that are supported by Compute Optimizer.

------
#### [ Amazon RDS ]

The DB instance types for the RDS for MySQL and RDS for PostgreSQL database engines supported by Compute Optimizer.


| DB instance class family | Type | 
| --- | --- | 
|  **General purpose**  |  db.m5 \$1 db.m5d \$1 db.m6g \$1 db.m6gd \$1 db.m6i \$1 db.m6id \$1 db.m7g  | 
|  **Memory-optimized R family**  |  db.r5 \$1 db.r5b \$1 db.r5d \$1 db.r6g \$1 db.r6gd \$1 db.r6i \$1 db.r6id \$1 db.r7g \$1 db.r7i  | 
|  **Burstable-performance**  |  db.t3 \$1 db.t4g  | 
|  **Memory-optimized Z family**  |  db.x2g \$1 db.x2idn \$1 db.x2iedn  | 

------
#### [ Amazon Aurora ]

The DB instance types for the Aurora MySQL-Compatible Edition and Aurora PostgreSQL-Compatible Edition database engines supported by Compute Optimizer.


| DB instance class family | Type | 
| --- | --- | 
|  **Memory-optimized R family**  |  db.r5 \$1 db.r6g \$1 db.r6i \$1 db.r7g  | 
|  **Memory-optimized X family**  |  db.x2g   | 
|  **Burstable-performance**  |  db.t3 \$1 db.t4g  | 
|  **Optimized Reads**  |  db.r6gd \$1 db.r6id  | 

**Note**  
Compute Optimizer doesn't support **db.serverless – Aurora Serverless v2 instance class with automatic capacity scaling**.

------

### RDS DB instance storage
<a name="supported-rds-storage"></a>

Compute Optimizer generates recommendations for the following RDS DB instance storage volume types:
+ General Purpose SSD `gp2` and `gp3`
+ Provisioned IOPS SSD `io1`

### Aurora DB cluster storage
<a name="supported-aurora-cluster"></a>

Compute Optimizer generates recommendations for Aurora DB cluster storage Aurora Standard configurations.

**Note**  
Compute Optimizer only provides recommendations to switch from Aurora Standard to Aurora I/O-Optimized storage configurations. 

For more information about both configurations, see [Amazon Aurora storage](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html) in the *Amazon Aurora User Guide for Aurora*.

## Additional resources
<a name="supported-add-resources"></a>
+ [Resource requirements](requirements.md)
+ [Metrics analyzed by AWS Compute Optimizer](metrics.md)
+ [Getting started with AWS Compute Optimizer](getting-started.md)