Creating a Bootable Storage Volume

A storage volume is a virtual disk that provides persistent block storage space for instances in Compute Classic. While creating a storage volume, you can associate it with a machine image and later use this storage volume as the boot disk for an instance. When you boot an instance from such a storage volume, any changes you make to the boot disk aren’t lost when the instance is deleted and re-created..

To complete this task, you must have the Compute_Operations role. If this role isn’t assigned to you or you’re not sure, then ask your system administrator to ensure that the role is assigned to you in Oracle Cloud Infrastructure Classic Console. See Modifying User Roles in Managing and Monitoring Oracle Cloud.

  1. Sign in to the Compute Classic console. If your domain spans multiple sites, select the appropriate site. To change the site, click the Site menu near the top of the page.
  2. Click the Storage tab.
  3. Click Create Storage Volume.
  4. Select or enter the required information:
    • Enter a name for the storage volume. Note this name. You’ll need it later to search for the storage volume on the Storage page.

      Pick a name that you can use later to quickly identify the key characteristics of the storage volume. For example, consider a name such as boot-OL66-20G for a bootable storage volume with an Oracle Linux 6.6 machine image on a 20-GB disk).

    • Select a machine image in the Boot Image field.

      If you select a machine image with a large disk size, it may take a while for the storage volume to be created.

    • Enter the size, in GB, of the storage volume. The allowed range is 1 GB to 2 TB.

      The size you enter must be at least 5% higher than the boot image disk size.


      You can increase the size of a storage volume after creating it, even if the storage volume is attached to an instance. See Increasing the Size of a Storage Volume. However, you can’t reduce the size of a storage volume after you’ve created it. So ensure that you don’t overestimate your storage requirement.

    • Select a storage property.

      Based on your latency and IOPS requirements, select one of the following storage properties.
      Storage Property Latency Throughput
      storage/default Standard Standard
      storage/latency Low High
      storage/ssd/gpl Lowest Highest


      SSD storage volumes aren’t available in all sites.

      The web console might show other storage properties. Don’t select any of them.

    • Enter a description for the storage volume.
  5. Click Create.

    The Storage page is displayed.

While the new storage volume is being created, the Status field for the storage volume shows Initializing.

When the storage volume is ready, the Status field changes to Online. You can then specify this storage volume as the boot disk while creating an instance.

To view details of the new storage volume, search for it using the name you noted earlier. From the menu icon menu, select View.

To create a storage volume using the CLI, use the opc compute storage-volume add command. To attach a storage volume to an instance, you must add a storage attachment object, by using the opc compute storage-attachment add command. For help with these commands, run each command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.

To create a storage volume using the API, use the POST /storage/volume/ method. To attach a storage volume to an instance, you must add a storage attachment object, by using the POST /storage/attachment/ method. For more information about these API methods, see REST API for Oracle Cloud Infrastructure Compute Classic.