---
title: Assess AWS Auto Scaling Groups for Spot Migration
description: >-
  Identify AWS Auto Scaling groups to evaluate for Spot migration, compare
  estimated savings, and review compatible instance types.
breadcrumbs: >-
  Docs > Integrations > Integration Guides > Assess AWS Auto Scaling Groups for
  Spot Migration
---

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

# Assess AWS Auto Scaling Groups for Spot Migration

{% 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 %}

{% callout %}
Spot migration assessment is in Preview. Complete the form to request access.

[Request Access](https://www.datadoghq.com/product-preview/spot-migration-assessment/)
{% /callout %}

## Overview{% #overview %}

The Spot migration assessment identifies Amazon EC2 Auto Scaling groups (ASGs) that are candidates for moving from On-Demand Instances to Spot Instances. Use it to compare estimated monthly savings, review Spot potential, and inspect compatible replacement instance types across connected AWS accounts and regions.

The assessment uses the AWS resource data that Datadog collects, up to 30 days of ASG metrics, and AWS pricing and interruption data. When available, Cloud Cost Management provides the current compute cost baseline.

Spot potential helps prioritize groups for investigation. Before migrating, validate that the application can tolerate interruptions and run on the suggested instance types. The assessment does not change AWS resources.

## Setup{% #setup %}

1. [Connect the AWS accounts](https://docs.datadoghq.com/getting_started/integrations/aws.md) that contain the ASGs.
1. Enable resource collection for those accounts and regions with the [AWS integration's resource collection permissions](https://docs.datadoghq.com/integrations/amazon_web_services.md#resource-collection). The assessment needs ASG information and the EC2 launch settings those groups use.
1. In the AWS integration's **Metric Collection** tab, enable the `AWS/AutoScaling` namespace. Check that metric filters include `aws.autoscaling.group_in_service_instances`. You do not need to enable the `AWS/EC2` namespace.
1. (Recommended) [Enable group metrics in AWS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html#as-enable-group-metrics), including `GroupInServiceInstances`, so that estimates can use running-instance history.
1. (Optional) [Set up Cloud Cost Management for AWS](https://docs.datadoghq.com/cloud_cost_management/setup/aws.md) to base current cost estimates on your actual AWS costs. Without cost data for an ASG, the assessment uses public On-Demand prices.

Estimates are most representative with a full 30 days of history. If instance history is missing, estimates use the ASG's configured desired capacity when possible.

## Find groups to evaluate{% #find-groups-to-evaluate %}

1. Open [Spot migration assessment](https://app.datadoghq.com/integrations/amazon-web-services/spot-assessment).
1. Check the **Assessed** timestamp to see when the assessment was last updated. Results reflect the latest completed assessment.
1. Filter by AWS account or region, or search for an ASG by name. Use **Spot candidacy** to filter by the **Spot potential** rating.
1. Review the estimated monthly savings and **Spot potential** for each group.
1. Select an ASG to open its details.

The assessment covers running groups configured to use only On-Demand Instances. The results are not a complete inventory of your ASGs. The following groups do not appear in the assessment:

- Groups already configured for Spot
- Groups that use weighted capacity or attribute-based instance selection
- Groups missing the resource or market data needed to complete an assessment

Groups with insufficient capacity are hidden by default. To inspect these groups, select **Show ASGs outside migration scope** (if available).

### Interpret the Spot potential rating{% #interpret-the-spot-potential-rating %}

| Spot potential | How to use it                                                                                                                                                         |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **HIGH**       | The available replacement types, interruption data, and estimated savings make the group a strong candidate for Spot. Validate application behavior before migrating. |
| **MEDIUM**     | The group has potential for Spot, but some assessment signals need further review. Check the detail panel's explanation and supporting evidence before migrating.     |
| **LOW**        | Review the explanation in the detail panel. The group might lack enough instances, compatible replacement diversity, or positive estimated savings.                   |

A high rating does not guarantee Spot capacity or application resilience. Missing history or a single availability zone does not, on its own, make a group unsuitable for Spot.

## Review a group{% #review-a-group %}

Use the detail panel to inspect:

- **Monthly costs**: Compare the current baseline with the projected cost and estimated savings.
- **Projected cost at your Spot mix**: Adjust the Spot percentage to compare cost scenarios.
- **Spot pricing by instance type**: Review suggested types, public hourly prices, availability zones, and interruption risk.
- **Spot potential**: Review the evidence behind the rating, including observed capacity, load balancer attachment, and replacement diversity.
- **Instance and cost history**: Inspect running-instance and compute-cost history when data is available.

Replacement types are screened for hardware compatibility with the current instance types. Validate AMI support, application performance, storage, and network requirements before using them. Configure several suitable instance types so AWS has more capacity options.

Interruption risk comes from [AWS Spot Instance Advisor](https://aws.amazon.com/ec2/spot/instance-advisor/) and describes historical interruption ranges. It does not predict interruptions for a specific instance. Consider using more than one availability zone and follow [AWS Spot best practices](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html) when planning a migration.

## Understand savings estimates{% #understand-savings-estimates %}

The default scenario models **50% Spot and 50% On-Demand** capacity. Monthly estimates use 730 hours and the observed average running-instance count when available. Without that history, the public-price estimate assumes configured desired capacity runs for the month.

The current cost baseline depends on data availability:

| Baseline                    | What it represents                                                                                                              |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **Current monthly**         | Monthly compute cost estimated from recorded net amortized AWS costs in Cloud Cost Management, without custom cost adjustments. |
| **Modeled current monthly** | Estimated compute cost at public On-Demand prices, adjusted by the **On-Demand discount** you enter.                            |

Projected cost combines the remaining share of the current baseline with public Spot prices for the replacement types. For example, take a $1,000 monthly baseline and a $400 estimate for the same capacity entirely on Spot. A 50% Spot mix projects $700 per month, or $300 in estimated savings.

For public-price estimates, enter an effective **On-Demand discount** to compare Spot against discounted On-Demand rates. This control does not apply another discount to Cloud Cost Management costs. A discount that removes positive savings can change Spot potential to **LOW**.

To explore other percentages, adjust the Spot percentage in **Projected cost at your Spot mix**. This updates projected costs and estimated savings for the selected mix. Spot potential continues to reflect the default 50% scenario.

Public-price estimates use Linux pricing and exclude software licensing charges. Estimates cover compute costs and do not guarantee a reduction in the AWS bill. The Cloud Cost Management scenario assumes commitments freed by migration can be used elsewhere. Review Savings Plans and Reserved Instance utilization before acting on estimated savings.

## Troubleshoot missing or stale assessment results{% #troubleshoot-missing-or-stale-assessment-results %}

| What you see                                                  | What to check                                                                                                                                                                                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Assessment is being prepared**                              | A completed assessment is not yet available. Check resource collection and permissions, then return after an assessment completes.                                                                                                                  |
| An ASG is missing                                             | Clear table filters and select **Show ASGs outside migration scope**. Verify account and region collection, running instances, and supported group configuration. Missing launch settings, pricing, or interruption data can prevent an assessment. |
| No running-instance history                                   | Verify AWS group metric publication and Datadog collection of `aws.autoscaling.group_in_service_instances`. Newly enabled collection does not immediately provide a full 30-day history.                                                            |
| Public-price estimates instead of Cloud Cost Management costs | Verify [AWS Cloud Cost Management setup](https://docs.datadoghq.com/cloud_cost_management/setup/aws.md) and cost data attributed to the ASG for the assessment period. Public pricing is the fallback when usable cost data is unavailable.         |
| A history chart is absent                                     | Charts are hidden when data is unavailable. Available cost history can still appear without running-instance history.                                                                                                                               |
| **Stale** results                                             | The displayed assessment is more than 48 hours old. Check collection settings and contact [Datadog Support](https://docs.datadoghq.com/help/) if results remain stale. Refreshing the page loads the latest completed assessment.                   |

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [AWS integration](https://docs.datadoghq.com/integrations/amazon_web_services.md)
- [Set up AWS Cloud Cost Management](https://docs.datadoghq.com/cloud_cost_management/setup/aws.md)
