How to Provision Vultr Object Storage Subscription

Updated on November 27, 2024

Vultr Object Storage is an S3-compatible solution that offers on-demand data storage for business assets. The solution is ideal for storing web application assets like images, audio, and videos.

Follow this guide to provision a Vultr Object Storage subscription using the Vultr Customer Portal, API, or CLI.

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

  2. Click Object Storage.

    Add Vultr Object Storage Subscription

  3. Select a location, enter a label, and click Add.

    Enter a Database Label

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

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

    console
    $ curl "https://api.vultr.com/v2/object-storage" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "cluster_id" : 2,
            "label" : "Remote-Object-Storage"        
        }'
    

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

  3. Send a GET request to the List Object Storages endpoint to view all Vultr Object Storage subscriptions.

    console
    $ curl "https://api.vultr.com/v2/object-storage" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json"
    
  1. List the available Vultr Object Storage subscription clusters and note the cluster ID of your preferred region. For instance, 2 for the New Jersey region.

    console
    $ vultr-cli object-storage list-clusters
    
  2. Create a new Vultr Object Storage subscription.

    console
    $ vultr-cli object-storage create \
    --cluster-id 2 \
    --label Remote-Object-Storage
    
  3. List all Vultr Object Storage subscriptions.

    console
    $ vultr-cli object-storage list
    

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