Attach
Attach
Attaches compute instances to a VPC 2.0 network to enable secure private communication between resources.
The vultr-cli vpc2 nodes attach command attaches compute instances to a VPC 2.0 network, enabling them to communicate securely within the private network environment.
Usage
console
$ vultr-cli vpc2 nodes attach <VPC2 ID> [flags]
Examples
console
# Full example
$ vultr-cli vpc2 nodes attach 84fee086-6691-417a-b2db-e2a71061fa17 \
--nodes="35dbcffe-58bf-46fe-bd68-964d95488dd8,1f5d784a-1011-430c-a2e2-39ba045abe3c"
Flags
| Shorthand | Long Version | Description |
|---|---|---|
| -n | –nodes | the instance IDs you wish to attach to the VPC2 network |