Embodiments of the present application relate to the field of
cloud computing, and provide a heterogeneous computing power instance scheduling and
state management method, device, medium and
chip, comprising: receiving a state
change request of a target heterogeneous computing power instance; if it is a stop request, triggering a state saving process corresponding to the target heterogeneous computing power instance to perform a snapshot operation on a root
file system of the target heterogeneous computing power instance before releasing heterogeneous computing power resources, and recording snapshot
metadata corresponding to the snapshot operation; if it is a start request, determining a
recovery node based on the snapshot
metadata, performing dynamic environment reconstruction and recovering the root
file system, and after the root
file system is recovered, allocating heterogeneous computing power resources to the target heterogeneous computing power instance and starting the target heterogeneous computing power instance. The present application can reduce the cost of idle computing power and the cost of environment reconstruction, realize on-demand start and stop, rapid
recovery and environment consistency reconstruction, and reduce resource fragmentation,
recovery failure probability and operation and maintenance scheduling overhead.