How to Provision Vultr Block Storage Volume

Updated on November 27, 2024

Vultr Block Storage volume is a mountable HDD or NVMe disk volume you can attach to Vultr Cloud Compute instances. These high-speed volumes offer raw block-level storage to expand your application storage needs for databases, images, audio, and video-based applications. To attach Vultr Block Storage volume to Vultr Cloud Compute instance, both resources must be in the same Vultr Location. Vultr Block Storage volumes support up to 10 TB of data encrypted with Advanced Encryption Standard (AES-256).

Follow this guide to provision Vultr Block Storage volume using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Cloud Storage.

  2. Click Object Storage and select Add Block Storage.

    Add Block Storage Volume

  3. Select a HDD or NVMe storage type.

    Select Disk Type

  4. Choose a storage location depending on where you've provisioned the Vultr Cloud Compute instances.

    Select Disk Type

  5. Move the slider to customize the storage size.

    Customize Storage Size

  6. Enter a label and click Add Block Storage.

    Enter Block Storage Volume Label

  1. Send a GET request to the Get All Regions endpoint and note the ID of your preferred region. For instance, ewr for the New Jersey region.

    console
    $ curl "https://api.vultr.com/v2/regions" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a POST request to the Create Block Storage endpoint to create a Vultr Block Storage volume.

    console
    $ curl "https://api.vultr.com/v2/blocks" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "region" : "ewr",
            "size_gb" : 80,
            "label" : "Remote-Block-Storage",
            "block_type": "high_perf"
        }'
    

    Visit the Create Block Storage endpoint to view additional attributes to add to your request.

  3. Send a GET request to the List Block Storages endpoint to list all Vultr Block Storage volumes.

    console
    $ curl "https://api.vultr.com/v2/blocks" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json"
    
  1. List the available Vultr Block Storage volume regions and choose your preferred region. For instance ewr for the New Jersey region.

    console
    $ vultr-cli regions list
    
  2. Create a new Vultr Block Storage volume.

    console
    $ vultr-cli block-storage create \
    --block-type high_perf \
    --region ewr \
    --size 80 \
    --label Remote-Block-Storage
    
  3. List all Vultr Block Storage volumes.

    console
    $ vultr-cli block-storage list
    

    Run vultr-cli block-storage create --help to view all options.