OCI Create Custom Image from Instance
A 3-step recipe with Oracle. We can help you get access.
Recipe · 3 steps
OCI Create Custom Image from Instance
with Oracle · IT Infrastructure Management
Capture a custom image from a stopped instance and wait for it to provision.
- Read the source instance and confirm it is in the STOPPED state, which is required before an image can be captured from it.
- Create a boot disk image from the stopped instance in the target compartment with the supplied display name.
- Read the new image and check its lifecycle state. Repeat this step until the image leaves PROVISIONING and reports AVAILABLE.
What you'll need to have ready
- compartmentId: The OCID of the compartment to create the image in.
- instanceId: The OCID of the stopped instance to capture.
- displayName: A user-friendly name for the new custom image.
- authToken: OCI request-signing bearer credential for the Authorization header.
For your developer
Arazzo workflow oracle:create-custom-image-from-instance, 3 operations: GetInstance → CreateImage → GetImage. Specs on APIs.io.