--- title: "createVpcPeeringInstance" slug: "cli-vpc-vpcpeering-createvpcpeeringinstance" tags: ["VPC"] updated: 2026-10-08T05:04:19Z published: 2026-10-08T05:04:19Z canonical: "cli.ncloud-docs.com/cli-vpc-vpcpeering-createvpcpeeringinstance" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # createVpcPeeringInstance Available in VPC Create a VPC peering instance through the peering request. ## Syntax The `createVpcPeeringInstance` syntax is as follows: ``` ./ncloud vpc createVpcPeeringInstance \ --sourceVpcNo \ --targetVpcNo \ [--targetVpcName ] \ [--targetVpcLoginId ] \ [--vpcPeeringName ] \ [--vpcPeeringDescription ] \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `createVpcPeeringInstance`. ### Required options The following options are required for `createVpcPeeringInstance`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--sourceVpcNo` | String | Required | VPC number sending the peering request - See [getVpcList](/docs/en/cli-vpc-vpcmanagement-getvpclist). | | `--targetVpcNo` | String | Required | VPC number receiving the peering request - If the IPv4 CIDR blocks of the VPC sending the peering request and the VPC receiving the request overlap, the VPC peering connection cannot be established. - See [getVpcList](/docs/en/cli-vpc-vpcmanagement-getvpclist) for the account receiving the request. | | `--targetVpcName` | String | Conditional | Name of the VPC receiving the peering request - If the account receiving the peering request is different from the sending account, you must enter the name of the receiving VPC. | | `--targetVpcLoginId` | String | Conditional | Owner ID (email format) of the VPC receiving the peering request - If the account receiving the request is different from the sending account, you must enter the receiving account. | ### Optional options These are the optional options for `createVpcPeeringInstance`. Options that are not specified will use their default values. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--vpcPeeringName` | String | Optional | VPC peering name - Enter 3-30 characters, including lowercase English letters, numbers, and special character `-`. - The string must begin with an English letter and end with an English letter or number. - If not entered, NAVER Cloud Platform will assign one automatically. | | `--vpcPeeringDescription` | String | Optional | Description of the VPC peering (byte) - 0-1000 | ### Common options For information about the options common to all `vpc` subcommands, see [VPC options](/docs/en/cli-vpc#%EC%98%B5%EC%85%98). ## Examples If the request to create a VPC peering instance is successful, the instance's configuration information and creation status are returned. ### Command The command example is as follows: ``` ./ncloud vpc createVpcPeeringInstance \ --sourceVpcNo 12345678 \ --targetVpcNo 12345679 \ --targetVpcName test-vpc-02 \ --targetVpcLoginId user2@example.com \ --vpcPeeringName test-peering \ --vpcPeeringDescription "VPC peering example" \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "createVpcPeeringInstanceResponse": { "totalRows": 1, "vpcPeeringInstanceList": [ { "vpcPeeringInstanceNo": "67890123", "vpcPeeringName": "test-peering", "regionCode": "KR", "createDate": "2026-07-07T16:41:47+0900", "lastModifyDate": "2026-07-07T16:41:47+0900", "vpcPeeringInstanceStatus": { "code": "INIT", "codeName": "Under preparation" }, "vpcPeeringInstanceStatusName": "Waiting", "vpcPeeringInstanceOperation": { "code": "NULL", "codeName": "NULL OP" }, "sourceVpcNo": "12345678", "sourceVpcName": "test-vpc-01", "sourceVpcIpv4CidrBlock": "10.0.0.0/16", "sourceVpcLoginId": "user@example.com", "targetVpcNo": "12345679", "targetVpcName": "test-vpc-02", "targetVpcIpv4CidrBlock": "172.31.0.0/16", "targetVpcLoginId": "user2@example.com", "vpcPeeringDescription": "VPC peering example", "hasReverseVpcPeering": false, "isBetweenAccounts": true, "reverseVpcPeeringInstanceNo": "" } ], "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "returnCode": "0", "returnMessage": "success" } } ```