All Products
Search
Document Center

Auto Scaling:Use the Auto Scaling cost estimation feature to estimate resource costs

Last Updated:Jun 20, 2026

The Auto Scaling cost estimation feature helps you estimate the cost of ECS resources used by a scaling group. Before purchasing or deploying resources in your production environment, model your specific business solution to estimate the cost of using Alibaba Cloud resources. This enables you to evaluate suitable purchasing options and select the right Alibaba Cloud resource types for your needs. This topic describes how to use the cost estimation feature.

Function introduction

The Auto Scaling cost estimation feature is a cost calculator. You can model your business workload to estimate monthly ECS instance costs and compare potential savings from using a subscription billing method.

Note

This feature currently supports only ECS instances within scaling groups.

Procedure

This procedure uses workload type set to Daily Peak Traffic and billing method set to Pay-as-you-go as examples.

  1. Log on to the Auto Scaling console.

  2. In the top navigation bar, select a region.

  3. In the navigation pane on the left, click Scaling Groups.

  4. On the Scaling Groups page, click Estimate Cost at the top of the page.

  5. On the Estimate Cost page, select a workload type that matches your business scenario (for example, daily peak traffic).

    A workload describes your business resource usage. Select the workload that best reflects your actual usage.

    The following sections describe configuration options for each workload type.

    Daily peak traffic

    When Workload Type is set to Daily Peak Traffic, configure the settings as described in the following table.

    Configuration item

    Description

    Example

    Days

    Select the days of the week that match your workload pattern. You can choose one or more days from Monday through Sunday.

    Monday, Tuesday, Wednesday

    Number of Instances that Workload Demands

    Specify the minimum number of instances during low-traffic periods and the maximum number during peak periods, as follows:

    • Number of Instances Required During Off-peak Periods: Enter the minimum number of instances required during low-traffic periods.

    • Number of Instances Required During Peak Periods: Enter the maximum number of instances required during peak periods.

    Note

    The baseline instance count cannot be greater than the peak instance count.

    • Number of Instances Required During Off-peak Periods: 5

    • Number of Instances Required During Peak Periods: 10

    Duration with Peak Traffic

    Enter the number of hours and minutes your instances run at peak capacity.

    8 hours 30 minutes

    Weekly peak traffic

    When Workload Type is set to Weekly Peak Traffic, configure the settings as described in the following table.

    Configuration item

    Description

    Example

    Number of Instances that Workload Demands

    Specify the minimum number of instances during low-traffic periods and the maximum number during peak periods, as follows:

    • Number of Instances Required During Off-peak Periods: Enter the minimum number of instances required during low-traffic periods.

    • Number of Instances Required During Peak Periods: Enter the maximum number of instances required during peak periods.

    Note

    The baseline instance count cannot be greater than the peak instance count.

    • Number of Instances Required During Off-peak Periods: 1

    • Number of Instances Required During Peak Periods: 2

    Duration with Peak Traffic

    Enter the number of days, hours, and minutes your instances run at peak capacity each week.

    Note

    Peak duration cannot exceed 7 days.

    3 days 0 hours 0 minutes

    Monthly peak traffic

    When Workload Type is set to Monthly Peak Traffic, configure the settings as described in the following table.

    Configuration item

    Description

    Example

    Number of Instances that Workload Demands

    Specify the minimum number of instances during low-traffic periods and the maximum number during peak periods, as follows:

    • Number of Instances Required During Off-peak Periods: Enter the minimum number of instances required during low-traffic periods.

    • Number of Instances Required During Peak Periods: Enter the maximum number of instances required during peak periods.

    Note

    The baseline instance count cannot be greater than the peak instance count.

    • Number of Instances Required During Off-peak Periods: 1

    • Number of Instances Required During Peak Periods: 2

    Duration with Peak Traffic

    Enter the number of days, hours, and minutes your instances run at peak capacity each month.

    Note

    Peak duration cannot exceed 31 days.

    8 days 0 hours 0 minutes

  6. Select the instance Billing Method, Zone, and Instance Type.

    The following table describes these configuration items.

    Configuration item

    Description

    Example

    Billing method

    You can choose either Pay-as-you-go or Spot Instance. For more information, see pay-as-you-go or spot instance.

    Pay-as-you-go

    Zone

    You can select different zones within the chosen region, such as Hangzhou Zone K or Hangzhou Zone J. For more information about zones, see Regions and zones.

    Hangzhou Zone K

    Instance type

    Different instance types provide different levels of computing power. Based on your business scenario, filter suitable instance types by Instance Type, vCPU, and Memory.

    ecs.c7.large

  7. Click Calculate to begin cost estimation. You can also click Recalculate to re-estimate costs.

    After cost estimation completes, you can view detailed estimated results, such as the pay-as-you-go instance cost. When the calculation finishes, the cost estimation panel shows the billing method as on-demand instance, the current instance type as ecs.c7.large, and the on-demand instance hours (per month) as 2089.286 hours. The current pay-as-you-go billing method saves 56.48% compared to the subscription billing method.

    Note
    • On the resource estimation details page shown above, you can click How to Estimate the Number of Hours to see how the estimated workload hours are calculated.

    • Formula for calculating cost savings percentage: