Vultr DocsLatest Content


Attach

Updated on 15 September, 2025

Connects a Block Storage volume to a specified instance, making the additional storage available to your virtual machine.


The vultr-cli block-storage attach command connects a Block Storage volume to a specified instance, making the additional storage available to that virtual machine.

Usage

console
$ vultr-cli block-storage attach <Block Storage ID> [flags]

Examples

console
#Full example
$ vultr-cli block-storage attach 67181686-5455-4ebb-81eb-7299f3506e2c --instance=a7898453-dd9e-4b47-bdab-9dd7a3448f1f
#Shortened with aliased commands
$ vultr-cli bs a 67181686-5455-4ebb-81eb-7299f3506e2c -i=a7898453-dd9e-4b47-bdab-9dd7a3448f1f

Flags

Shorthand Long Version Description
-i --instance instance ID to which to attach the block storage
- --live attach block storage without restarting the instance

Comments

No comments yet.