What is preemptive instance
Applicable scenarios
Real time analysis service Big data business Geospatial survey and analysis business Image and media coding service Scientific computing business Resilient business sites, web crawler services Test business Other stateless business scenarios
Operation process
Use automatic bidding: Bid=market price, that is, the price of the instance during its use is always consistent with the market price. With the real-time fluctuation of the market price, it can ensure that the instance will not be interrupted for recovery due to price fluctuations, but it cannot guarantee that the instance will be interrupted for recovery due to insufficient inventory. Set the price limit on a single platform: Bid=set price ceiling for a single machine, that is, set the maximum acceptable price for a single machine. The higher the price, the greater the opportunity to hold preemptive instances. When the bid is lower than the market price or the inventory is insufficient, the instance is interrupted for recycling.
Set use cases one Hours: Alibaba Cloud ensures that your instance is created one Recovery will not be interrupted within hours, that is, after instance creation one It is not affected by the detection mechanism within hours. Uncertain use duration: There is no duration guarantee, and instance creation will be affected by the detection mechanism, which means that your instance may be interrupted at any time.
Three characteristics
Interrupt recycle
Direct release: When interrupt recovery is triggered, your instance will be released directly, including computing resources (vCPU, GPU And memory), fixed public network IP、 Fixed bandwidth and cloud disks (system disks and data disks). Save downtime: When interrupt recovery is triggered, the instance enters the downtime saving mode, and computing resources (vCPU, GPU And memory), fixed public network IP And fixed bandwidth are recycled, cloud disks (system disks and data disks), and elastic public networks IP、 Resources such as snapshots are reserved and charged continuously. Preemptive instance entry Save downtime After the mode, the restart may fail because the inventory is insufficient or the price fluctuation exceeds the bid.
Suggestions on Interrupting Recycling
Data retention: You can set the Instance interrupt mode by Save downtime Or set cloud disk (system disk and data disk) Not released with the instance, The data will be retained after the preemptive instance is interrupted and recycled. For more information, see Preemptive instance data retention and recovery 。 Perceived interruption and response: You can subscribe to interrupt recovery events through cloud monitoring or OpenAPI Query the instance status to sense the interrupt recovery. For more information, see Perceive preemptive instance interrupt events and responses 。
Market price fluctuation
|
Discount as low as one fracture
|
How to create preemptive instances
Restrictions on use
Preemptive instances do not support conversion to pay as you go and subscription instances. Preemptive instances do not support changing instance types. Preemptive instances do not support filing services.
Billing related
Advanced use
Elastic expansion: Automatically adjust the computing power (i.e. the number of instances) according to business requirements and policies. See Use preemptive instances in the scalability group to reduce costs 。 Flexible supply group: Flexible supply group is a fast delivery ECS In the instance cluster scheme, after simple configuration, you can automatically deliver instance collections of different billing methods (pay as you go and preemptive instances) and multiple instance types in multiple zones, improving the efficiency of batch delivery of a large number of instances. See Example of flexible supply group configuration 。 Container service ACK: Provide high-performance and scalable container application management services to support enterprise level Kubernetes Lifecycle management of container applications. See the following documents:
common problem