Vultr DocsLatest Content


How to Manage Attachments for Vultr File System Volume

Updated on 11 September, 2025

Learn how to connect and manage Vultr File System volumes with your instances for shared storage access.


Attaching a Vultr File System volume to a Vultr Cloud Compute instance allows the instance to discover the serverless volume as a new storage device. You can then mount the Vultr File System volume to share files across different Vultr Cloud Compute instances. You can remove a Vultr File System volume from a Vultr Cloud Compute instance.

Follow this guide to manage attachments for Vultr File System volume using the Vultr Customer Portal or Terraform.

  • Vultr Customer Portal
  • Terraform
  1. Navigate to Products and select Compute.
  2. Click the Vultr Cloud Compute instance you want to attach to the Vultr File System volume.
  3. Navigate to Settings and click Change Memory Backing. Select Shared and click Update.
  4. Navigate to Products and select Cloud Storage. Then, click File System.
  5. Select the target Vultr File System volume you want to attach to the Vultr Cloud Compute instance.
  6. Navigate to the File System Information and click Attachments.
  7. Click Attach to attach the Vultr File System volume to your target Vultr Cloud Compute instance.
  8. Confirm the new change.
  9. Navigate to Attachments and click Detach to remove the Vultr File System volume from the Vultr Cloud Compute instance.
  1. Open your existing Terraform configuration for the File System volume (and instances).

  2. Attach: set attached_instances on the vultr_vfs resource and apply.

    terraform
    resource "vultr_vfs" "file_system" {
        # ...existing fields (label, region, size_gb)
        attached_instances = [
            vultr_instance.app1.id,
            # vultr_instance.app2.id
        ]
    }
    
  3. Detach: remove instance IDs from the list (or set it to an empty list), then apply.

    terraform
    resource "vultr_vfs" "file_system" {
        # ...existing fields (label, region, size_gb)
        attached_instances = []
    }
    
  4. Ensure each instance has Memory Backing set to "Shared" (Settings > Change Memory Backing > Shared) before attaching.

Comments

No comments yet.