You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Spot instance
Purchasing spot instances
Copy page
Download PDF
Purchasing spot instances
This topic describes how to purchase spot instances in the ECS console.​
Procedure​
tip​
This section describes the configurations related to spot instances. For more parameter configurations, see Purchasing an instance by following the wizard.​
  1. Log in to the ECS console.​
  1. Click "Create instance" button to purchase an ECS instance.​
  1. Select the billing method as "Spot".​
  1. Refer to the table below to select the instance's spot strategy.​
  • ​
    Spot strategy​
    Description​
    Purchase result​
    ​
    Set maximum price​
    • You need to set a maximum price for the target instance. The maximum price only represents your purchasing intent, and the settlement is based on market price.​
    • This price must be between the current spot market price and the pay-as-you-go instance price. The higher your bid, the greater the chance of purchasing or retaining the spot instance. By clicking "View historical prices", you can view historical prices.​
    Bid price ≥ market price and sufficient inventory​
    The spot instance is purchased and enabled. Billing is charged based on the current market price. You can refer to the Fee settlement example.​
    ​
    ​
    Bid price < market price or insufficient inventory​
    Purchase fails.​
    Automatic bid​
    The system automatically sets the upper limit as the pay-as-you-go instance price, which reflects only the purchase intention. It signifies that you accept the real-time market price for billing spot instances. If available resources are insufficient, instances are automatically released. Therefore, we recommend that you back up data in advance.​
    Purchase succeeds due to sufficient stock.​
    ​
    ​
    ​
    Purchase fails due to insufficient stock.​
    ​
    ​
  1. (Optional) When you create a spot instance with data volume, we recommend that you do not check "Delete with instance" option. Therefore, when you delete instance, your data volume is automatically retained.​
  1. Configure remaining parameters to complete the purchase.​
What to do next​
After you create the instance, an instance with the billing method "Pay-as-you-go Spot" appears on the instance page. You can follow the Subsequent operations to learn and use ECS instances.​
Related documents​
​
Last updated: 2026.06.24 17:17:26