capabilities.work

OCI Soft-Reboot Compute Instance

A 3-step recipe with Oracle. We can help you get access.

Recipe · 3 steps

OCI Soft-Reboot Compute Instance

with Oracle · IT Infrastructure Management

Soft-reboot a compute instance and confirm it returns to RUNNING.

  1. Read the instance to confirm it exists and capture its current ETag for optimistic concurrency control on the reboot action.
  2. Perform the SOFTRESET action, which gracefully reboots the instance via an ACPI shutdown and power-on, guarded by the captured ETag.
  3. Read the instance and check its lifecycle state. Repeat this step until the instance returns to RUNNING after the reboot.
What you'll need to have ready
  • instanceId: The OCID of the instance to soft-reboot.
  • authToken: OCI request-signing bearer credential for the Authorization header.
For your developer

Arazzo workflow oracle:reboot-instance, 3 operations: GetInstance → InstanceAction → GetInstance. Specs on APIs.io.