How to Provision a Vultr Object Storage Subscription

How to Provision a Vultr Object Storage Subscription

A guide explaining how to set up and activate a Vultr Object Storage subscription for cloud-based data storage.


Vultr Object Storage is an S3-compatible solution that lets you store and serve large amounts of data as objects. Vultr Object Storage provides scalable, durable, and secure storage for a variety of data types, such as documents, images, videos, and backups. It’s ideal for big data storage, data backups, and content distribution using a secure S3-compatible endpoint.

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

  • Vultr Customer Portal
  1. Navigate to Products and click Cloud Storage.
  2. Select Object Storage from the list of options.
  3. Click Add Object Storage
  4. Select a Vultr Object Storage tier from the following options:
    • Accelerated: High-performance NVMe storage optimized for write-intensive workloads. Supports up to 10,000 IOPS and 5 Gbps throughput.
    • Performance: Low-latency NVMe storage designed for datacenter workloads. Supports up to 4,000 IOPS and 1 Gbps throughput.
    • Premium: Reliable and durable storage for general-purpose applications. Stored on HDD, indexed on SSD, with up to 1,000 IOPS and 800 Mbps throughput.
    • Standard: Cost-effective, high-availability bulk storage. Stored on HDD, indexed on SSD, with up to 800 IOPS and 600 Mbps throughput.
  5. Select your desired Vultr location.
  6. Enter a descriptive label in the Label field.
  7. Click Add Object Storage to provision the Vultr Object Storage subscription.
  • Vultr API
  1. Send a GET request to the Get All Clusters endpoint and note your target cluster ID depending on the Vultr region.
    console
    $ curl "https://api.vultr.com/v2/object-storage/clusters" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a GET request to the Get All Tiers endpoint to view all available Vultr Object Storage tiers and note your target tier ID.
    console
    $ curl "https://api.vultr.com/v2/object-storage/tiers" \
      -X GET \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  3. Send a POST request to the Create Object Storage endpoint to provision a Vultr Object Storage subscription with your target tier and region.
    console
    $ curl "https://api.vultr.com/v2/object-storage" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "label" : "<label>"  
            "cluster_id" : <cluster-id>,   
            "tier_id" : <tier-id>
        }'
    

    Visit the Create Object Storage endpoint to view additional attributes to apply to your Vultr Object Storage subscription request.

  4. Send a GET request to the List Object Storages endpoint to view all available Vultr Object Storage subscriptions in your account.
    console
    $ curl "https://api.vultr.com/v2/object-storage" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json"
    
    
    • Vultr CLI
    1. List all available Vultr Object Storage clusters and note your target cluster ID depending on the Vultr region.
      console
      $ vultr-cli object-storage list-clusters
      

      Provision a Vultr Object Storage subscription.

    2. console
      $ vultr-cli object-storage create --cluster-id <cluster-id> --label <label>
      

      List all Vultr Object Storage subscriptions in your account.

    3. console
      $ vultr-cli object-storage list
      

      Run vultr-cli object-storage create --help to view all available options to apply to your Vultr Object Storage subscription request.

    • Terraform
    1. Ensure the Vultr Terraform provider is configured in your Terraform project.
    2. Define the Object Storage subscription resource.
      terraform
      terraform {
          required_providers {
              vultr = {
                  source  = "vultr/vultr"
                  version = "~> 2.23"
              }
          }
      }
      
      provider "vultr" {}
      
      resource "vultr_object_storage" "object_storage" {
          cluster_id = 4  # Object Storage cluster (region).
          tier_id    = 1  # Performance tier ID.
          label      = "Object-Storage"
      }
      

      Apply the configuration and observe the following output:

    3. Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
     

How to Provision a Vultr Object Storage Subscription A guide explaining how to set up and activate a Vultr Object Storage subscription for cloud-based data storage. Vultr Object Storage is an S3-compatible solution that lets you store and serve large amounts of data as objects. Vultr Object Storage provides scalable,…

How to Provision a Vultr Object Storage Subscription A guide explaining how to set up and activate a Vultr Object Storage subscription for cloud-based data storage. Vultr Object Storage is an S3-compatible solution that lets you store and serve large amounts of data as objects. Vultr Object Storage provides scalable,…

Leave a Reply

Your email address will not be published. Required fields are marked *