Available in VPC
VPC (Virtual Private Cloud) is a service on the NAVER Cloud Platform that helps you configure and manage logically isolated private virtual networks. VPC provides a CLI for network configuration and management features—including VPC, subnets, network ACLs, route tables, NAT Gateway, and VPC peering—via the vpc command.
Common VPC settings
This section covers the command and option formats used across the VPC CLI.
Syntax
Run vpc using the following syntax.
./ncloud vpc <subcommand> [options]
Options
The following options are available across all vpc subcommands:
| Options | Type | Required | Description |
|---|---|---|---|
--regionCode |
String | Optional | Region code
|
--output |
String | Optional | Format of the response result
|
VPC commands
The following subcommands are available under vpc.
VPC Management
The following describes the VPC-related commands:
| Commands | Description |
|---|---|
| createVpc | Create VPC. |
| getVpcList | Get VPC list. |
| getVpcDetail | Get VPC details. |
| deleteVpc | Delete VPC. |
Subnet Management
The following describes the subnet-related commands:
| Commands | Description |
|---|---|
| createSubnet | Create subnet. |
| getSubnetList | Get subnet list. |
| getSubnetDetail | Get subnet details. |
| deleteSubnet | Delete subnet. |
Network ACL
The following describes the network ACL-related commands:
| Commands | Description |
|---|---|
| createNetworkAcl | Create network ACL. |
| getNetworkAclList | Get network ACL list. |
| getNetworkAclDetail | Get network ACL details. |
| setNetworkAclDescription | Edit the network ACL description. |
| setSubnetNetworkAcl | Set subnet's network ACL. |
| getNetworkAclRuleList | Get the list of network ACL rules. |
| addNetworkAclInboundRule | Add a network ACL inbound rule. |
| removeNetworkAclInboundRule | Remove a network ACL inbound rule. |
| addNetworkAclOutboundRule | Add a network ACL outbound rule. |
| removeNetworkAclOutboundRule | Remove a network ACL outbound rule. |
| createNetworkAclDenyAllowGroup | Create network ACL's Deny-Allow groups. |
| getNetworkAclDenyAllowGroupList | Get network ACL deny-allow group list. |
| getNetworkAclDenyAllowGroupDetail | Get network ACL deny-allow group details. |
| setNetworkAclDenyAllowGroupDescription | Edit network ACL deny-allow group description. |
| setNetworkAclDenyAllowGroupIpList | Configure network ACL deny-allow group IP list. |
| deleteNetworkAclDenyAllowGroup | Delete network ACL's Deny-Allow groups. |
| deleteNetworkAcl | Delete network ACL. |
Route Table
The following describes the route table-related commands:
| Commands | Description |
|---|---|
| createRouteTable | Create routing tables. |
| getRouteTableList | Get route table list. |
| getRouteTableDetail | Get route table details. |
| setRouteTableDescription | Edit routing table description. |
| addRoute | Add a route to a route table. |
| getRouteList | Get the list of routes configured in a route table. |
| removeRoute | Remove a route from configured in a route table. |
| addRouteTableSubnet | Add an associated subnet to a route table. |
| getRouteTableSubnetList | Get the list of subnets associated with a route table. |
| removeRouteTableSubnet | Remove a subnet associated with a route table. |
| deleteRouteTable | Delete routing tables. |
NAT Gateway
The following describes the NAT Gateway-related commands:
| Commands | Description |
|---|---|
| createNatGatewayInstance | Create NAT Gateway instances. |
| getNatGatewayInstanceList | Get NAT Gateway instance list. |
| getNatGatewayInstanceDetail | Get NAT Gateway instance details. |
| setNatGatewayDescription | Edit NAT Gateway description. |
| deleteNatGatewayInstance | Delete NAT Gateway instance. |
VPC Peering
The following describes the VPC-related commands:
| Commands | Description |
|---|---|
| createVpcPeeringInstance | Create a VPC peering instance. |
| getVpcPeeringInstanceList | Get the VPC peering instance list. |
| getVpcPeeringInstanceDetail | Get VPC peering instance details. |
| setVpcPeeringDescription | Edit VPC peering description. |
| acceptOrRejectVpcPeering | Accept/Reject a VPC peering request. |
| deleteVpcPeeringInstance | Delete VPC peering instance. |
VPC related resources
These resources provide additional context and support for the VPC CLI.
- VPC CLI guides
- CLI download: Learn how to download and install the Ncloud CLI.
- Authenticate CLI: Learn how to set an API authentication key and manage profiles.
- CLI usage: Review the Ncloud CLI command structure, option syntax, and output formats.
- VPC CLI service guides
- VPC user guide: Learn how to use VPC in the NAVER Cloud Platform console.
- VPC API guide: Learn how to call VPC APIs.
- VPC user environment guide: Explore VPC and Classic environments and supported services.
- Pricing and features: View pricing details and key capabilities.
- Latest announcements: Stay informed about VPC updates and news.
- FAQs: Get answers to common VPC questions.
- Contact Support: Get help if you can't find what you need in the CLI guide.