---
title: Amazon EC2 Capacity Reservations
description: >-
  Monitor reserved EC2 capacity, available instances, and reservation
  utilization.
breadcrumbs: Docs > Integrations > Amazon EC2 Capacity Reservations
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Amazon EC2 Capacity Reservations
Integration version1.0.1
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Monitor reserved EC2 capacity, available instances, and reservation utilization.

Use this integration to track used, available, and total reserved instance capacity and reservation utilization.

The basic `aws.ec2capacityreservations.*` metrics retain every CloudWatch dimension set.

Series with only the Capacity Reservation ID, Availability Zone, or instance type dimension are also emitted under `aws.ec2capacityreservations.reservation.*`, `aws.ec2capacityreservations.availabilityzone.*`, or `aws.ec2capacityreservations.instancetype.*`, respectively. Use the scoped names to select a single view.

Reservation-level metrics include the AWS resource tags associated with the Capacity Reservation.

CloudWatch publishes these metrics every five minutes. Reservations active for less than five minutes do not publish metrics. See the [AWS metrics reference](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservation-cw-metrics.html).

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Amazon Web Services integration](https://docs.datadoghq.com/integrations/amazon_web_services.md) first.

1. In the [AWS integration tile](https://app.datadoghq.com/integrations/amazon-web-services), ensure that `EC2CapacityReservations` is enabled under the **Metric Collection** tab.
1. Install the [Datadog - Amazon EC2 Capacity Reservations integration](https://app.datadoghq.com/integrations/amazon-ec2-capacity-reservations).

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

### Metrics{% #metrics %}

|  |
|  |
| **aws.ec2capacityreservations.availabilityzone.available_instance_count**(gauge) | The number of reserved instances available for use across all Capacity Reservations in an Availability Zone.*Shown as instance*                                                               |
| **aws.ec2capacityreservations.availabilityzone.instance_utilization**(gauge)      | The percentage of reserved instances currently in use across all Capacity Reservations in an Availability Zone.*Shown as percent*                                                             |
| **aws.ec2capacityreservations.availabilityzone.total_instance_count**(gauge)     | The total number of reserved instances across all Capacity Reservations in an Availability Zone.*Shown as instance*                                                                           |
| **aws.ec2capacityreservations.availabilityzone.used_instance_count**(gauge)      | The number of reserved instances currently in use across all Capacity Reservations in an Availability Zone.*Shown as instance*                                                                |
| **aws.ec2capacityreservations.available_instance_count**(gauge)                  | The number of reserved instances available for use. Series overlap across dimension sets. Use the `reservation`, `availabilityzone`, or `instancetype` variants instead.*Shown as instance*   |
| **aws.ec2capacityreservations.instance_utilization**(gauge)                       | The percentage of reserved instances currently in use. Series overlap across dimension sets. Use the `reservation`, `availabilityzone`, or `instancetype` variants instead.*Shown as percent* |
| **aws.ec2capacityreservations.instancetype.available_instance_count**(gauge)     | The number of reserved instances available for use across all Capacity Reservations for an instance type.*Shown as instance*                                                                  |
| **aws.ec2capacityreservations.instancetype.instance_utilization**(gauge)          | The percentage of reserved instances currently in use across all Capacity Reservations for an instance type.*Shown as percent*                                                                |
| **aws.ec2capacityreservations.instancetype.total_instance_count**(gauge)         | The total number of reserved instances across all Capacity Reservations for an instance type.*Shown as instance*                                                                              |
| **aws.ec2capacityreservations.instancetype.used_instance_count**(gauge)          | The number of reserved instances currently in use across all Capacity Reservations for an instance type.*Shown as instance*                                                                   |
| **aws.ec2capacityreservations.reservation.available_instance_count**(gauge)      | The number of reserved instances available for use for a single Capacity Reservation.*Shown as instance*                                                                                      |
| **aws.ec2capacityreservations.reservation.instance_utilization**(gauge)           | The percentage of reserved instances currently in use for a single Capacity Reservation.*Shown as percent*                                                                                    |
| **aws.ec2capacityreservations.reservation.total_instance_count**(gauge)          | The total number of reserved instances for a single Capacity Reservation.*Shown as instance*                                                                                                  |
| **aws.ec2capacityreservations.reservation.used_instance_count**(gauge)           | The number of reserved instances currently in use for a single Capacity Reservation.*Shown as instance*                                                                                       |
| **aws.ec2capacityreservations.total_instance_count**(gauge)                      | The total number of reserved instances. Series overlap across dimension sets. Use the `reservation`, `availabilityzone`, or `instancetype` variants instead.*Shown as instance*               |
| **aws.ec2capacityreservations.used_instance_count**(gauge)                       | The number of reserved instances currently in use. Series overlap across dimension sets. Use the `reservation`, `availabilityzone`, or `instancetype` variants instead.*Shown as instance*    |

### Events{% #events %}

The Amazon EC2 Capacity Reservations integration does not include any events.

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

The Amazon EC2 Capacity Reservations integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

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