Instance Life Cycle

An instance lifecycle is shown in the following figure:

An Oracle Compute Cloud Service instance can have one of the following states:

  • Terminal states

    • running: The instance is successfully launched.

    • shut_down : A running instance is gracefully shut down. Memory and vCPU resources are released. Storage, networking configuration, and the tenant's quota are preserved. Storage resources are detached, but not deleted.

    • error: The instance failed. For example, when you create an instance by starting its orchestration, if some of the resources required to create the instance are not available, then the status of the instance changes to error.

  • Transitional states

    • starting: When starting a new instance or restarting an instance in the shut_down or error state. The associated image has been fetched, network and security has been set up, and the hypervisor has been instructed to launch the instance.

    • shutting_down: When the shut down of an running instance is in progress.

    • stopping: When stopping an instance in running or error status.

    • paused: When creating a snapshot of a running instance.

    • unreachable: The compute services cannot determine the state of a virtual machine when the node on which the instance was running has shut down or is currently rebooting, one of the control plane services is not accessible due to a network error, the node on which the virtual machine was running has shut down or is currently rebooting, or one of the control plane services is not running. After the connectivity is restored automatically, the state of the instance is updated. If the virtual machine is running, then the instance state returns to running state. Otherwise, the instance state is set to error.