---
title: Attach
url: https://docs.vultr.com/reference/vultr-cli/instance/vpc2/attach
description: Attaches an existing Vultr instance to a VPC 2.0 network to enable private network connectivity between resources.
publish_date: 2025-09-14T03:06:55.081575Z
last_updated: 2025-11-07T17:47:56.620097Z
---

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.

## 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 |