IBM Cloud Docs
About Block Storage for VPC

About Block Storage for VPC

IBM® Cloud Block Storage for Virtual Private Cloud provides hypervisor-mounted, high-performance data storage for your virtual server instances that you can provision within an IBM Cloud® Virtual Private Cloud (VPC). The VPC infrastructure provides rapid scaling across zones and extra performance and security.

Overview

Block Storage for VPC supports all virtual server profiles.

Block Storage for VPC volume data is stored redundantly across multiple physical disks in an Availability Zone to prevent data loss due to failure of any single component.

Block Storage for VPC provides primary boot volumes and secondary data volumes. Boot volumes are automatically created and attached during instance provisioning. Data volumes can be created and attached during instance provisioning as well, or as stand-alone volumes that you can later attach to an instance. To protect your data, you can use your own encryption keys or choose IBM-managed encryption.

You pay for only the capacity that you need. Block Storage for VPC capacity ranges from 10 GB up to 16,000 GB for all available profiles. For data volumes attached to a virtual server instance, you can increase volume capacity in GB increments up to 16,000 GB capacity, depending on your volume profile. You can also increase or decrease IOPS for a volume that is attached to an instance.

You can also apply user tags and access management tags to your boot and data volumes anytime. Add tags when you create a volume or update an existing volume with the UI, CLI, API and Terraform. For more information, see Tags for Block Storage for VPC volumes.

When you create, view, or update a Block Storage for VPC volume, or restore a volume from a snapshot, the volume health state is reported in the UI, CLI, or API. For more information, see Block Storage for VPC volume health states.

Block Storage for VPC volume types

Block Storage for VPC offers block-level volumes that are attached to an instance as a boot volume when the instance is created or attached as secondary data volumes. You can configure up to 300 Block Storage for VPC volumes per account in a region. You can request to increase this quota by opening support case and specifying in which zone you need more volumes.

You can attach only one boot volume to a virtual server instance at a time, but you can attach up to 12 Block Storage for VPC data volumes to a single instance. For other limitations, see Volume attachment limits.

Boot volumes

When you create an instance from a stock image, a 100 GB, 3,000 IOPS general-purpose boot volume is created and attached to the instance by default. When you create an instance from a custom image, you can specify a boot volume capacity of 10 GB to 250 GB, depending what the image requires. This capacity can be any size between the minimum size that is supported for the selected image and the maximum supported image size. If the custom image is smaller than 10 GB, the boot volume capacity is rounded up to 10 GB. After the boot volume is created, you can expand the boot volume size to the maximum supported size, which is 250 GB.

You cannot create an image from a boot volume that is encrypted with customer-managed keys and is not 100 GB. Such an operation is not supported.

By default, boot volumes are encrypted by IBM-managed encryption. Optionally, you can use your own root keys (CRKs) by choosing customer-managed encryption during instance creation (see Customer-managed encryption).

By default, boot volumes are deleted when you delete an instance. You can toggle this setting on or off in the instance details. A boot volume can be unattached only by deleting the instance that it is attached to. A boot volume cannot be detached from an instance while the instance exists. For more information, see Viewing instance details.

Data volumes

Block Storage for VPC data volumes are secondary volumes with total capacity range of 10 GB to 16,000 GB. Maximum IOPS for data volumes varies based on volume size. For more information, see Block Storage for VPC profiles.

You can create data volumes as stand-alone volumes or when you provision an instance. Stand-alone volumes exist in an unattached state until you attach the volume to an instance. When you create a data volume as part of instance provisioning, the volume is automatically attached to the instance.

When you create an IBM Cloud Hyper Protect Virtual Servers for IBM Cloud® Virtual Private Cloud instance, the data volume that is attached to the instance during instance creation is automatically encrypted with the seed or passphrase that you provide.

Block Storage for VPC data volumes can be attached to any available instance in your zone, based on your customer account and permissions, and within certain limits. These volumes are detached by default when the instance is deleted. Detaching by default allows your data to persist beyond the virtual server instance lifecycle. It removes only the volume's association with the instance. You can delete data volumes manually after they are detached. Also, when you create data volumes, you can specify that they be automatically deleted when the instance is deleted.

Detached volumes can be attached to an available, running instance without reprovisioning the volume or the instance.

When you create and attach a data volume to a virtual server instance, you can later increase the size of that volume. You indicate capacity in GB increments up to 16,000 GB capacity, depending on your volume profile. For more information, see expanding Block Storage for VPC volume capacity.

Data volumes are encrypted by default with IBM-managed encryption. You can also encrypt data volumes by using your own root keys.

Block Storage for VPC IOPS profiles

When you create a Block Storage for VPC volume in your availability zone, you can use 3 different tiered profiles with predefined IOPS levels and a custom profile with which you can define your own IOPS level based on the volume capacity. All profiles are backed by solid-state drives (SSDs).

For more information, see Block Storage for VPC profiles

Block Storage for VPC encryption

IBM Cloud takes the need for security seriously and understands the importance of being able to encrypt data to keep it safe. When you create a data volume, you can choose to protect your data by using your own root keys, or use the default IBM-managed encryption. Boot volumes that are created during instance provisioning are encrypted with IBM-managed encryption by default. You can edit the boot volume to use your root keys. After you set up encryption for a boot or data volume, you can't change it.

For more information about data encryption, see About data encryption for VPC.

Block Storage Snapshots for VPC

Block Storage Snapshots for VPC are point-in-time copies of your Block Storage for VPC boot or data volumes. To protect your data in the unlikely event of a zone or region failure, consider Block Storage Snapshots for VPC. By scheduling snapshots at regular intervals, data can be replicated either to another zone in the same region, or cross-region, so that a copy is available in another region. Snapshots can also be cached for fast restore. With fast restore, you can achieve a recovery time objective that is faster than restoring from a regular snapshot. For more information about Block Storage Snapshots for VPC, see About Block Storage Snapshots for VPC and Planning snapshots.

Tags for Block Storage for VPC volumes

Block Storage for VPC is enabled for Global Searching and Tagging (GhoST). You can create and apply user tags and access management tags to volumes to better control and organize your Block Storage for VPC resources across the VPC. Each resource can have up to 1000 user tags, and no more than 250 access tags. However, only 100 tags can be attached or detached in the same operation.

User tags for Block Storage for VPC volumes

User tags are uniquely identified by a Cloud Resource Name (CRN) identifier. When you create a user tag, you provide a unique name within your billing account. You can define user tags in label or key-value format.

You can add user tags when you create a Block Storage for VPC volume or when you update an existing volume. You can also add tags to a boot or data volume during instance creation. For boot volumes, you edit the boot volume to add tags. For data volumes, you can add tags when you create and attach them to the instance, or add them to existing data volumes. Volume user tags are also used by backup policies to create automatic backup snapshots of the volume. Create, view, and manage user tags from the UI, CLI, API, or Terraform, and remove then at any time.

Access management tags for Block Storage for VPC volumes

Access management tags help organize access control by creating flexible resource groupings, enabling your Block Storage for VPC resources to grow without requiring updates to IAM policies.

You can create access management tags and then apply them to new or existing volumes. Use the IAM UI or the Global Search and Tagging API to create the access management tag. Then, from the VPC UI or API, add access management when you create a volume or modify an existing volume. You can't add these tags to volumes that are created during instance provisioning. After you add the access management tags, you can manage access to them by using the IAM policies. For more information, see Apply access management tags to a Block Storage for VPC volume.

For more information about managing tags for your account, see Working with tags.

Managing security and compliance

Block Storage for VPC is integrated with the Security and Compliance Center to help you manage security and compliance for your organization. You can set up goals that check whether volumes are encrypted by using customer-managed keys. By using the Security and Compliance Center to validate the Block Storage for VPC configurations in your account against a profile, you can identify potential issues as they arise.

For more information about monitoring security and compliance for VPC, see Getting started with Security and Compliance Center. For more information about creating security and compliance goals, see Defining rules in the Security and Compliance documentation.

Cancelling your Block Storage for VPC

If you no longer need a volume, you can cancel it at any time. IBM wipes all data before the storage is reused. If you have extra compliance requirements such as NIST 800-88 Guidelines for Media Sanitization, you must perform data sanitation procedures before you delete your volumes. For more information, see Sanitize your data before you delete a volume.

Next steps

Create your Block Storage for VPC volumes.

For more information about creating and managing instances in the VPC, see About virtual server instances for VPC.

Block Storage for VPC provides features that are unique to the VPC and are not compatible with the classic infrastructure storage. If you're interested in IBM Cloud® Block Storage for Classic on the classic infrastructure, see IBM Cloud® Block Storage for Classic.