This topic describes how to stop a preemptible instance and whether the stopped instance can be started under different scenarios.

Background information

The following table describes whether a stopped preemptible instance can be started based on its network type, bidding mode, and stop mode.
Network typeBidding modeStop modeStartup of a stopped preemptible instance
Classic networkSpotWithPriceLimitStandard modeThe stopped instance can be started within the protection period. After the protection period ends:
  • If your bid price for the instance type is higher than or equal to the market price and if the resource stock of the instance type is sufficient, the stopped instance can be started.
  • If the market price exceeds your bid price or if the resource stock of the instance type is insufficient, the stopped instance cannot be started.
SpotAsPriceGoStandard modeThe stopped instance can be started within the protection period. After the protection period ends:
  • If the resource stock of the instance type is sufficient, the stopped instance can be started.
  • If the resource stock of the instance type is insufficient, the stopped instance cannot be started.
VPCSpotWithPriceLimitStandard modeThe stopped instance can be started within the protection period. After the protection period ends:
  • If your bid price for the instance type is higher than or equal to the market price and if the resource stock of the instance type is sufficient, the stopped instance can be started.
  • If the market price exceeds your bid price or if the resource stock of the instance type is insufficient, the stopped instance cannot be started.
Economical modeIf the resource stock of the instance type is sufficient, the stopped instance can be started within the protection period. After the protection period ends:
  • If your bid price for the instance type is higher than or equal to the market price and if the resource stock of the instance type is sufficient, the stopped instance can be started.
  • If the market price exceeds your bid price or if the resource stock of the instance type is insufficient, the stopped instance cannot be started.
SpotAsPriceGoStandard modeThe stopped instance can be started within the protection period. After the protection period ends:
  • If the resource stock of the instance type is sufficient, the stopped instance can be started.
  • If the resource stock of the instance type is insufficient, the stopped instance cannot be started.
Economical modeIf the resource stock of the instance type is sufficient, the stopped instance can be started within the protection period. After the protection period ends:
  • If the resource stock of the instance type is sufficient, the stopped instance can be started.
  • If the resource stock of the instance type is insufficient, the stopped instance cannot be started.
Note The economical mode can be enabled only for instances that meet specific conditions. For information about the conditions, see Economical mode.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Use one of the following methods to stop pay-as-you-go instances:
    • To stop a single instance at a time, find the instance and choose More > Instance Status > Stop in the Actions column.
    • To stop multiple instances at a time, select the instances and click Stop in the lower part of the Instances page.
  5. Configure Stopped By and Stop Mode.
    • For a pay-as-you-go instance in the classic network:
      1. Configure Stopped By. Valid values:
        • Stop: stops the instance by shutting it down properly.
        • Force Stop: forcibly stops the instance. Forcible stop is equivalent to a physical shutdown, and may cause data loss if instance data has not been written to disks.
      2. Click OK.
    • For a pay-as-you-go instance in a VPC:
      1. Configure Stopped By. Valid values:
        • Stop: stops the instance by shutting it down properly.
        • Force Stop: forcibly stops the instance. Forcible stop is equivalent to a physical shutdown, and may cause data loss if instance data has not been written to disks.
      2. Configure Stop Mode. Valid values:
        • Standard Mode: The resources of the instance are retained and continue to be billed after the instance is stopped.
        • Economical Mode (Formerly Known as No Fees for Stopped Instances Mode): After the instance is stopped, its computing resources (vCPUs and memory) are released and no longer billed. The cloud disks (including the system disk and data disks), elastic IP addresses (if any), and bandwidth continue to be billed. The public IP address is recycled and the private IP address is retained.
      3. Click OK.
      normal-stop