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 network connectivity between the instance and other resources in that VPC.
$ vultr-cli instance vpc2 attach <Instance ID>, <VPC2 ID> [flags]
# Full example
$ vultr-cli instance vpc2 attach <instanceID> --vpc-id="2126b7d9-5e2a-491e-8840-838aa6b5f294"
| Shorthand | Long Version | Description |
|---|---|---|
| -i | --ip-address | the IP address to use for this instance on the attached VPC 2.0 network |