How to Manage Attachments for Vultr File System Volume
- 
                
by Blog Admin
 - 41
 
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
 
- Navigate to Products and select Compute.
 - Click the Vultr Cloud Compute instance you want to attach to the Vultr File System volume.
 - Navigate to Settings and click Change Memory Backing. Select Shared and click Update.
 - Navigate to Products and select Cloud Storage. Then, click File System.
 - Select the target Vultr File System volume you want to attach to the Vultr Cloud Compute instance.
 - Navigate to the File System Information and click Attachments.
 - Click Attach to attach the Vultr File System volume to your target Vultr Cloud Compute instance.
 - Confirm the new change.
 - Navigate to Attachments and click Detach to remove the Vultr File System volume from the Vultr Cloud Compute instance.
 
- Terraform
 
- Open your existing Terraform configuration for the File System volume (and instances).
 - Attach: set 
attached_instanceson thevultr_vfsresource and apply.terraformresource "vultr_vfs" "file_system" { # ...existing fields (label, region, size_gb) attached_instances = [ vultr_instance.app1.id, # vultr_instance.app2.id ] }
 - 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 = [] }
 - Ensure each instance has Memory Backing set to “Shared” (Settings > Change Memory Backing > Shared) before attaching.
 
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…
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…