Overview of Block Volume

The Oracle Cloud Infrastructure Block Volume service lets you dynamically provision and manage block storage volumesA service that allows you to add block storage volumes to an instance in order to expand the available storage on that resource.. You can create, attach, connect and move volumes as needed to meet your storage and application requirements. Once attached and connected to an instance, you can use a volume like a regular hard drive. Volumes can also be disconnected and attached to another instance without the loss of data.

The components required to create a volume and attach it to an instance are briefly described below.

  • Instance: A bare metal or virtual machine (VM) host running in the cloud.
  • iSCSI: A TCP/IP-based standard used for communication between a volume and attached instance. See iSCSI Commands and Information for more information.
  • Volume: There are two types of volumes:

    • Block volume: A detachable block storage device that allows you to dynamically expand the storage capacity of an instance.

    • Boot volume: A detachable boot volume device that contains the image used to boot a Compute instance. See Boot Volumes for more information.

For additional Oracle Cloud Infrastructure terms, see the Glossary.

Typical Block Volume Scenarios

Scenario A: Expand an Instance's Storage

A common usage of Block Volume is adding storage capacity to an Oracle Cloud Infrastructure instance. Once you have launched an instance and set up your cloud network, you can create a block storage volume through the Console or API. Once created, you attachLink a volume and instance together. Allows an instance to connect and mount the volume as a hard drive. the volume to an instance using a volume attachment. Once attached, you connectMake an attached volume usable by an instance's guest OS. to the volume from your instance's guest OS using iSCSIA TCP/IP based standard used for communication between a volume and attached instance.. The volume can then be mounted and used by your instance.

Scenario B: Persistent and Durable Storage

A Block Volume volume can be detached from an instance and moved to a different instance without loss of data. This data persistence allows you to easily migrate data between instances and ensures that your data is safely stored, even when it is not connected to an instance. Any data will remain intact until you reformat or delete the volume.

To move your volume to another instance, unmount the drive from the initial instance, terminate the iSCSI connection, and attach it to the second instance. From there, you simply connect and mount the drive from that instance's guest OS to instantly have access to all of your data.

Additionally, Block Volume volumes offer a high level of data durability compared to standard, attached drives. All volumes are automatically replicated for you, helping to protect against data loss.

Scenario C: Instance Scaling

When you terminate an instance, you can keep the associated boot volume and use it to launch a new instance using a different instance type or shape. See Launching an Instance for how to launch an instance based on a boot volume. This allows you to easily switch from a bare metal instance to a VM instance and vice versa, or scale up or down the number of cores for an instance.

Regions and Availability Domains

Volumes are only accessible to instances in the same availability domainOne or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes, and subnets. A region contains several availability domains. . You cannot move a volume between availability domains or regions.

For more information, see Regions and Availability Domains.

Resource Identifiers

Each Oracle Cloud Infrastructure resource has a unique, Oracle-assigned identifier called an Oracle Cloud ID (OCID). For information about the OCID format and other ways to identify your resources, see Resource Identifiers.

Ways to Access Block Volume

You can access Oracle Cloud Infrastructure using the Console (a browser-based interface) or the REST API. Instructions for the Console and API are included in topics throughout this guide. For a list of available SDKs, see SDKs and Other Tools.

To access the Console, you must use a supported browser. You can use the Console link at the top of this page to go to the sign-in page. You will be prompted to enter your cloud tenant, your user name, and your password.

For general information about using the API, see About the API.

Authentication and Authorization

Each service in Oracle Cloud Infrastructure integrates with IAM for authentication and authorization, for all interfaces (the Console, SDK or CLI, and REST API).

An administrator in your organization needs to set up groupsA collection of users who all need a particular type of access to a set of resources or compartment., compartmentsA collection of related resources that can be accessed only by certain groups that have been given permission by an administrator in your organization., and policiesA document in the IAM that specifies who has what type of access to your resources. It is used in different ways: to mean an individual statement written in the policy language; to mean a collection of statements in a single, named "policy" document (which has an Oracle Cloud ID (OCID) assigned to it); and to mean the overall body of policies your organization uses to control access to resources. that control which users can access which services, which resources, and the type of access. For example, the policies control who can create new users, create and manage the cloud network, launch instances, create buckets, download objects, etc. For more information, see Getting Started with Policies. For specific details about writing policies for each of the different services, see Policy Reference.

If you’re a regular user (not an administrator) who needs to use the Oracle Cloud Infrastructure resources that your company owns, contact your administrator to set up a user ID for you. The administrator can confirm which compartment or compartments you should be using.

Tagging Resources

You can apply tags to your resources to help you organize them according to your business needs. You can apply tags at the time you create a resource, or you can update the resource later with the desired tags. For general information about applying tags, see Resource Tags.

Encryption

Block Volume uses the Advanced Encryption Standard (AES) algorithm with 256 bit key for encryption. Block volumes are encrypted at rest. Backups are also encrypted.

Block Volume Capabilities and Limits

Block Volume volumes can be created in sizes ranging from 50 GB to 16 TB in 1 GB increments. By default, Block Volume volumes are 1 TB.

Block Volume volume performance varies with volume size.

See Service Limits for a list of applicable limits and instructions for requesting a limit increase.

Additional limits include:

  • Volumes per instance: 32

  • Number of backups

    • Monthly universal credits: 1000

    • Pay-as-you-go: 500