Vultr DocsLatest Content


Attach

Updated on 15 September, 2025

Attaches an existing Vultr instance to a VPC 2.0 network to enable private network connectivity between resources.


The vultr-cli instance vpc2 attach command attaches an existing instance to a VPC 2.0 network, enabling private network connectivity between resources in your Vultr infrastructure.

Usage

console
$ vultr-cli instance vpc2 attach <Instance ID>, <VPC2 ID> [flags]

Examples

console
# Full example
$ vultr-cli instance vpc2 attach <instanceID> --vpc-id="2126b7d9-5e2a-491e-8840-838aa6b5f294"

Flags

Shorthand Long Version Description
-i --ip-address the IP address to use for this instance on the attached VPC 2.0 network

Comments

No comments yet.