To add a machine image to Compute Classic by using the REST API, you must register the image and then add it as an entry in an image list.
|Task||Procedure / REST API Call|
|1. Ensure that the machine image file has been uploaded to Oracle Cloud Infrastructure Object Storage Classic.||See Uploading Machine Image Files to Oracle Cloud Infrastructure Object Storage Classic in Using Oracle Cloud Infrastructure Compute Classic.|
|2. Register the image in Compute Classic.||
|3. Create an image list.||
|4. Add the image that you registered earlier as an entry in the image list that you just created.||
|5. (Optional) Create a boot disk using the image that you added.||
|6. (Optional) If you created a boot disk using the image, then check whether the boot disk is created.||
After the volume is created, the
You can now create instances by using this image. See Creating Instances Using an Orchestration.
Workflow for Creating Instances Using a Custom Machine Image in Using Compute Classic (IaaS)
About Storage Volumes in Using Compute Classic (IaaS)