Task 9: Attach the Block Volume to an Instance

Attach the block volume to an instance.

  1. Click Dashboard, then click Compute/View Instances.

  2. Ensure that the Sandbox compartment is selected at the top of the page.

  3. In the Instances list, click the name of your instance to view its details.

  4. Scroll down to the Resources panel, and click Attached Block Volumes.

  5. Click Attach Block Volume.

  6. In the Attach Block Volume dialog box, enter the following information:

    • Select from Compartment: Select the Sandbox compartment.

    • Block Volume: Select the block volume you created.

    • Access: Select Read/Write.

  7. Click Attach to Instance.

    The attachment process takes about a minute. The volume is ready when the Attachment State for the volume is attached.

    If your block volume isn't displayed, reload the web page.

When a block volume is initially attached to an instance, the instance sees the volume as a new disk. To make the volume available to the instance OS, you need to give the volume a file system and mount it to the OS.

To learn about the block volume and how to make it available to the instance OS, refer to these sections outside of this tutorial:

Perform the next task:

Task 10: (Optional) Clean Up Resources