About Block Storage for VPC
IBM® Cloud Block Storage for Virtual Private Cloud provides 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 that are 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.
IAM roles for creating and managing volumes
Block Storage for VPC require IAM permissions for role-based access control. Depending on your assigned role, you can create and manage volumes. For more information, see IAM roles and actions for Block Storage for VPC.
For more information, see the best practices for assigning access. For the complete IAM process, which includes inviting users to your account and assigning Cloud IAM access, see the IAM getting started tutorial.
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 volume 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. Or you can select 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).
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. All block storage volumes are encrypted at rest with IBM-managed encryption by default.
You can also choose to protect your volumes by creating an envelop encryption with your own root keys that are stored in one of the approved Key Management Systems (KMS). In IBM Cloud, the KMS can be either located in the same or in another account as the service that is using an encryption key. This deployment pattern allows enterprises to centrally manage encryption keys for all corporate accounts.
Your data is protected while at rest, and also in transit from the storage to the hypervisor and host. After you set up the encryption type 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. Snapshots can be shared with other accounts to create volumes in their VPCs. For more information about Block Storage Snapshots for VPC, see About Block Storage Snapshots for VPC and Planning snapshots.
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.
Deleting your Block Storage for VPC
If you no longer need a volume, you can delete 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 a volume during instance provisioning, see Create and attach a Block Storage for VPC volume when you create an instance.
- For more information about creating a Block Storage for VPC encrypted by your own encryption keys, see Creating Block Storage for VPC volumes with customer-managed encryption.
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.