Virtual Private Cloud
Virtual Private Cloud
All results for "
" in this service
All results for "
" in this service
What's New
Function Overview
Service Overview
What Is Virtual Private Cloud?
VPC Advantages
Application Scenarios
VPC Functions
Notes and Constraints
VPC and Related Services
Billing
Permissions
Basic Concepts
Subnet
Elastic IP
Route Table
Security Group
VPC Peering Connection
Network ACL
Virtual IP Address
Elastic Network Interface
Supplementary Network Interface
Region and AZ
Getting Started
Setting Up an IPv4 Network in a VPC
Setting Up an IPv4/IPv6 Dual-Stack Network in a VPC
User Guide
Permissions Management
Creating an IAM User and Granting VPC Permissions
VPC Custom Policies
VPC and Subnet
VPC and Subnet Planning
VPC Connectivity Options
Overview
Connecting VPCs
Connecting VPCs to the Public Network
Connecting VPCs to On-Premises Data Centers
VPC
Creating a VPC and Subnet
Adding a Secondary IPv4 CIDR Block to a VPC
Obtaining a VPC ID
Modifying a VPC
Viewing a VPC Topology
Exporting VPCs
Managing VPC Tags
Deleting a Secondary IPv4 CIDR Block from a VPC
Deleting a VPC
Subnet
Creating a Subnet for an Existing VPC
Modifying a Subnet
Exporting Subnets
Viewing and Deleting Resources in a Subnet
Viewing IP Addresses in a Subnet
Managing Subnet Tags
Deleting a Subnet
Route Table and Route
Route Table and Route Overview
Managing Route Tables
Creating a Custom Route Table
Associating a Route Table with a Subnet
Changing the Route Table Associated with a Subnet
Viewing the Route Table Associated with a Subnet
Viewing Route Table Information
Deleting a Route Table
Managing Routes
Adding Routes to a Route Table
Modifying a Route
Replicating a Route
Deleting a Route
Route Configuration Examples
Configuring an SNAT Server to Enable ECSs to Share an EIP to Access the Internet
Virtual IP Address
Virtual IP Address Overview
Assigning a Virtual IP Address
Binding a Virtual IP Address to an Instance or EIP
Unbinding a Virtual IP Address from an Instance or EIP
Releasing a Virtual IP Address
Virtual IP Address Configuration Example
Using a Virtual IP Address and Keepalived to Set Up a High-Availability Web Cluster
Elastic Network Interface and Supplementary Network Interface
Elastic Network Interface
Elastic Network Interface Overview
Creating a Network Interface
Viewing the Basic Information About a Network Interface
Attaching a Network Interface to a Cloud Server
Binding an EIP to a Network Interface
Binding a Network Interface to a Virtual IP Address
Detaching a Network Interface from an Instance or Unbinding an EIP from a Network Interface
Changing Security Groups That Are Associated with a Network Interface
Deleting a Network Interface
Supplementary Network Interfaces
Supplementary Network Interface Overview
Creating a Supplementary Network Interface
Viewing the Basic Information About a Supplementary Network Interface
Binding or Unbinding an EIP to or from a Supplementary Network Interface
Changing Security Groups That Are Associated with a Supplementary Network Interface
Deleting a Supplementary Network Interface
Network Interface Configuration Examples
Binding an EIP to the Extension NIC of an ECS to Enable Internet Access
Configuring Policy-based Routes for an ECS with Multiple Network Interfaces
Overview
Collecting ECS Network Information
Configuring Policy-based Routes for a Linux ECS with Multiple Network Interfaces
Configuring Policy-based Routes for a Windows ECS with Multiple Network Interfaces
Access Control
Access Control Overview
Security Group
Security Group and Security Group Rule Overview
Default Security Groups
Security Group Examples
Common ECS Ports
Managing a Security Group
Creating a Security Group
Cloning a Security Group
Modifying a Security Group
Deleting a Security Group
Managing Security Group Rules
Adding a Security Group Rule
Fast-Adding Security Group Rules
Allowing Common Ports with a Few Clicks
Modifying a Security Group Rule
Replicating a Security Group Rule
Importing and Exporting Security Group Rules
Deleting a Security Group Rule
Querying Security Group Rule Changes
Managing Instances Added to a Security Group
Adding an Instance to or Removing an Instance from a Security Group
Changing the Security Group of an ECS
Network ACL
Network ACL Overview
Network ACL Configuration Examples
Managing Network ACLs
Creating a Network ACL
Modifying a Network ACL
Enabling or Disabling a Network ACL
Viewing a Network ACL
Deleting a Network ACL
Managing Network ACL Rules
Adding a Network ACL Rule
Modifying a Network ACL Rule
Enabling or Disabling a Network ACL Rule
Exporting and Importing Network ACL Rules
Deleting a Network ACL Rule
Managing Subnets Associated with a Network ACL
Associating Subnets with a Network ACL
Disassociating Subnets from a Network ACL
IP Address Group
IP Address Group Overview
Managing an IP Address Group
Creating an IP Address Group
Associating an IP Address Group with Resources
Modifying an IP Address Group
Exporting IP Address Group Details
Viewing the Details of an IP Address Group
Deleting an IP Address Group
Managing IP Addresses in an IP Address Group
Adding IP Addresses to an IP Address Group
Modifying IP Addresses in an IP Address Group
Deleting IP Addresses from an IP Address Group
IP Address Group Configuration Examples
Using IP Address Groups to Reduce the Number of Security Group Rules
VPC Peering Connection
VPC Peering Connection Overview
VPC Peering Connection Usage
VPC Peering Connection Usage Examples
Using a VPC Peering Connection to Connect Two VPCs
Using a VPC Peering Connection to Connect Subnets in Two VPCs
Using a VPC Peering Connection to Connect ECSs in Two VPCs
Unsupported VPC Peering Configurations
Creating a VPC Peering Connection to Connect Two VPCs in the Same Account
Creating a VPC Peering Connection to Connect Two VPCs in Different Accounts
Obtaining the Peer Project ID of a VPC Peering Connection
Modifying a VPC Peering Connection
Viewing VPC Peering Connections
Deleting a VPC Peering Connection
Modifying Routes Configured for a VPC Peering Connection
Viewing Routes Configured for a VPC Peering Connection
Deleting Routes Configured for a VPC Peering Connection
IPv4/IPv6 Dual-Stack Network
VPC Flow Log
VPC Flow Log
Creating a VPC Flow Log
Viewing a VPC Flow Log
Enabling or Disabling VPC Flow Log
Deleting a VPC Flow Log
Elastic IP
EIP Overview
Assigning an EIP and Binding It to an ECS
Unbinding an EIP from an ECS and Releasing the EIP
Modifying an EIP Bandwidth
Exporting EIP Information
Managing EIP Tags
IPv6 EIP
Shared Bandwidth
Shared Bandwidth Overview
Assigning a Shared Bandwidth
Adding EIPs to a Shared Bandwidth
Removing EIPs from a Shared Bandwidth
Modifying a Shared Bandwidth
Deleting a Shared Bandwidth
Monitoring and Auditing
Cloud Eye Monitoring
Supported Metrics
Viewing Metrics
Creating an Alarm Rule
CTS Auditing
Key Operations Recorded by CTS
Viewing Traces
Managing Quotas
Best Practices
VPC and Subnet Planning
VPC Connectivity
Private Network Access
Public Network Access
Lower Network Costs
VPC Security
Using IP Address Groups to Reduce the Number of Security Group Rules
Using Security Groups and Network ACLs to Control Traffic
Using a Third-Party Firewall to Scrub Traffic for VPCs Connected by VPC Peering Connections
Using Third-Party Firewalls to Filter Traffic When Connecting an On-premises Data Center to the Cloud
Deploying Containers that Can Communicate with Each Other on Huawei Cloud ECSs
Using a Virtual IP Address and Keepalived to Set Up a High-Availability Web Cluster
Configuring Policy-based Routes for an ECS with Multiple NICs
Overview
Collecting ECS Network Information
Configuring Policy-based Routes for a Linux ECS with Multiple NICs
Configuring Policy-based Routes for a Windows ECS with Multiple NICs
VPC Peering Connection Configurations
Overview
Using a VPC Peering Connection to Connect Two VPCs
Using a VPC Peering Connection to Connect Subnets in Two VPCs
Using a VPC Peering Connection to Connect ECSs in Two VPCs
Unsupported VPC Peering Configurations
API Reference
Before You Start
Overview
API Calling
Endpoints
Notes and Constraints
Concepts
Selecting an API Type
API Overview
Calling APIs
Making an API Request
Authentication
Response
APIs
Virtual Private Cloud
Creating a VPC
Querying VPC Details
Querying VPCs
Updating a VPC
Deleting a VPC
Subnet
Creating a Subnet
Querying Subnet Details
Querying Subnets
Updating Subnet Information
Deleting a Subnet
Quota
Querying Quotas
Private IP Address
Assigning a Private IP Address
Querying Private IP Address Details
Querying Private IP Addresses
Deleting a Private IP Address
Security Group
Creating a Security Group
Querying Security Group Details
Querying Security Groups
Deleting a Security Group
Adding a Security Group Rule
Querying Security Group Rule Details
Querying Security Group Rules
Deleting a Security Group Rule
Port
Creating a Port
Querying a Port
Querying Ports
Updating a Port
Deleting a Port
VPC Peering Connection
Querying VPC Peering Connections
Querying a VPC Peering Connection
Creating a VPC Peering Connection
Accepting a VPC Peering Connection
Refusing a VPC Peering Connection
Updating a VPC Peering Connection
Deleting a VPC Peering Connection
VPC Route
Querying VPC Routes
Querying a VPC Route
Creating a VPC Route
Deleting a VPC Route
Route Table
Querying Route Tables
Querying a Route Table
Creating a Route Table
Updating a Route Table
Associating Subnets with a Route Table
Disassociating Subnets from a Route Table
Deleting a Route Table
VPC Tag Management
Adding a Tag to a VPC
Querying VPC Tags
Deleting a Tag from a VPC
Batch Adding or Deleting VPC Tags
Querying VPCs by Tag
Querying VPC Tags in a Specified Project
Subnet Tag Management
Adding a Tag to a Subnet
Querying Subnet Tags
Deleting a Tag from a Subnet
Batch Adding or Deleting Subnet Tags
Querying Subnets by Tag
Querying Subnet Tags in a Specified Project
Querying IP Address Usage
Querying IP Address Usage on a Specified Network
API V3
VPC
Querying VPCs
Querying the Details of a VPC
Adding a Secondary CIDR Block to a VPC
Removing a Secondary CIDR Block from a VPC
Security Group
Creating a Security Group
Querying Security Groups
Querying the Details of a Security Group
Updating a Security Group
Deleting a Security Group
Security Group Rule
Creating a Security Group Rule
Querying Security Group Rules
Querying a Security Group Rule
Deleting a Security Group Rule
IP Address Group
Creating an IP Address Group
Querying IP Address Groups
Querying an IP Address Group
Updating an IP Address Group
Deleting an IP Address Group
Forcibly Deleting an IP Address Group
Supplementary Network Interface
Creating a Supplementary Network Interface
Creating Supplementary Network Interfaces in Batches
Querying Supplementary Network Interfaces
Querying the Details of a Supplementary Network Interface
Querying the Number of Supplementary Network Interfaces
Updating a Supplementary Network Interface
Deleting a Supplementary Network Interface
Network ACL
Creating a Network ACL
Querying Network ACLs
Query the Details of a Network ACL
Updating a Network ACL
Deleting a Network ACL
Updating a Network ACL Rule
Inserting a Network ACL Rule
Deleting a Network ACL Rule
Associating a Subnet with a Network ACL
Disassociating a Subnet from a Network ACL
Port
Adding a Security Group to the Security Group List of a Port
Removing a Security Group from the Security Group List of a Port
Native OpenStack Neutron APIs (V2.0)
API Version Information
Querying API Versions
Pagination
Port
Querying Ports
Querying a Port
Creating a Port
Updating a Port
Deleting a Port
Network
Querying Networks
Querying Network Details
Creating a Network
Updating a Network
Deleting a Network
Subnet
Querying Subnets
Querying a Subnet
Creating a Subnet
Updating a Subnet
Deleting a Subnet
Router
Querying Routers
Querying a Router
Creating a Router
Updating a Router
Deleting a Router
Adding an Interface to a Router
Removing an Interface from a Router
Network ACL
Querying Network ACL Rules
Querying a Network ACL Rule
Creating a Network ACL Rule
Updating a Network ACL Rule
Deleting a Network ACL Rule
Querying Network ACL Policies
Querying a Network ACL Policy
Creating a Network ACL Policy
Updating a Network ACL Policy
Deleting a Network ACL Policy
Inserting a Network ACL Rule
Removing a Network ACL Rule
Querying Network ACL Groups
Querying a Network ACL Group
Creating a Network ACL Group
Updating a Network ACL Group
Deleting a Network ACL Group
Security Group
Querying Security Groups
Querying a Security Group
Creating a Security Group
Updating a Security Group
Deleting a Security Group
Querying Security Group Rules
Querying a Security Group Rule
Adding a Security Group Rule
Deleting a Security Group Rule
Application Examples
Example 1: Creating a VPC and Subnet for an ECS
Example 2: Configuring a Security Group for an ECS
Example 3: Assigning a Virtual IP Address to an ECS for HA
Example 4: Assigning a Virtual IPv6 Address to ECSs for HA
Permissions and Supported Actions
Introduction
VPC
Subnet
Port
VPC Peering Connection
VPC Route
Route Table
Quota
Private IP Address
Security Group
Security Group Rule
VPC Tag
Subnet Tag
Port (OpenStack Neutron API)
Network (OpenStack Neutron API)
Subnet (OpenStack Neutron API)
Router (OpenStack Neutron API)
Network ACL (OpenStack Neutron API)
Security Group (OpenStack Neutron API)
Precautions for API Permissions
FAQs
What Are the Differences Between the VPC Subnet API and the OpenStack Neutron Subnet API?
What Are the Relationships Among Network ACL Groups, Policies, and Rules?
Out-of-Date APIs
Port (Discarded)
Creating a Port (Discarded)
Querying a Port (Discarded)
Querying Ports (Discarded)
Updating a Port (Discarded)
Deleting a Port (Discarded)
Appendix
ICMP-Port Range Relationship Table
VPC Monitoring Metrics
Status Codes
Error Codes
Obtaining a Project ID
SDK Reference
SDK Overview
FAQs
Billing and Payments
Will I Be Billed for Using the VPC Service?
Why Is My VPC Still Being Billed After It Was Deleted?
How Do I View My VPC Bills?
How Is an EIP Charged?
How Do I Change My EIP Billing Mode Between Pay-per-Use and Yearly/Monthly?
How Do I Change the Billing Option of a Pay-per-Use EIP Between By Bandwidth and By Traffic?
VPCs and Subnets
What Is Virtual Private Cloud?
Which CIDR Blocks Are Available for the VPC Service?
How Many VPCs Can I Create?
Can Subnets Communicate with Each Other?
What Subnet CIDR Blocks Are Available?
Can I Change the CIDR Block of a Subnet?
How Many Subnets Can I Create?
How Do I Make the Changed DHCP Lease Time of a Subnet Take Effect Immediately?
Why Can't I Delete My VPCs and Subnets?
Can I Change the VPC of an ECS?
Why Is the ECS IP Address Released After the System Time Is Changed?
How Do I Change the DNS Server Address of an ECS?
EIPs
How Do I Assign or Retrieve a Specific EIP?
What Are the Differences Between EIP, Private IP Address, and Virtual IP Address?
Can I Change the Dedicated Bandwidth Used by an EIP to a Shared Bandwidth?
How Many ECSs Can I Bind an EIP To?
How Do I Access an ECS with an EIP Bound from the Internet?
What Is the EIP Assignment Policy?
Can I Bind an EIP of an ECS to Another ECS?
Can I Buy a Specific EIP?
How Do I Query the Region of My EIPs?
How Can I Unbind an Existing EIP from an Instance and Bind Another EIP to the Instance?
Can I Bind an EIP to a Cloud Resource in Another Region?
Can I Change the Region of an EIP?
VPC Peering Connections
How Many VPC Peering Connections Can I Create in an Account?
Can a VPC Peering Connection Connect VPCs in Different Regions?
Why Did Communication Fail Between VPCs That Were Connected by a VPC Peering Connection?
Virtual IP Addresses
Why Can't the Virtual IP Address Be Pinged After It Is Bound to an ECS NIC?
How Do I Bind a Virtual IP Address on Huawei Cloud to a Server in an On-premises Data Center?
Why Is the Network Disconnected Between Servers Using a Virtual IP Address After an Active/Standby Switchover?
Bandwidth
What Are Inbound Bandwidth and Outbound Bandwidth?
What Are the Differences Between Static BGP and Dynamic BGP?
How Do I Know If My EIP Bandwidth Limit Has Been Exceeded?
What Are the Differences Between Public Bandwidth and Private Bandwidth?
What Bandwidth Types Are Available?
What Are the Differences Between a Dedicated Bandwidth and a Shared Bandwidth?
How Many EIPs Can I Add to Each Shared Bandwidth?
Can I Increase a Yearly/Monthly Bandwidth and Decrease It Later?
What Is the Relationship Between Bandwidth and Upload/Download Rate?
Connectivity
Does a VPN Allow Communication Between Two VPCs?
Why Cannot I Access Public Websites Through Domain Names or Access Internal Domain Names on the Cloud When My ECS Has Multiple NICs?
What Are the Priorities of the Custom Route and EIP If Both Are Configured for an ECS to Enable the ECS to Access the Internet?
Why Are There Intermittent Interruptions When a Local Host Accesses a Website Built on an ECS?
Why Do ECSs Using Private IP Addresses in the Same Subnet Only Support One-Way Communication?
Why Does Communication Fail Between Two ECSs in the Same VPC or Packet Loss Occur When They Communicate?
Why Can't My ECS Use Cloud-init?
Why Can't My ECS Access the Internet Even After an EIP Is Bound?
Why Is My ECS Unable to Communicate at a Layer 2 or Layer 3 Network?
How Do I Handle a BMS Network Failure?
Why Does My ECS Fail to Obtain an IP Address?
How Do I Handle a VPN or Direct Connect Connection Network Failure?
Why Can My Server Be Accessed from the Internet But Cannot Access the Internet?
Why Can't I Access Websites Using IPv6 Addresses After IPv4/IPv6 Dual Stack Is Configured?
Why Does My ECS Fail to Communicate with Other After It Has Firewall Installed?
Routing
How Do I Configure Policy-Based Routes for an ECS with Multiple NICs?
Can a Route Table Span Multiple VPCs?
Are There Any Restrictions on Using a Route Table?
Security
Does a Modified Security Group Rule or a Network ACL Rule Take Effect Immediately for Existing Connections?
Why Is Outbound Access on TCP Port 25 Blocked?
How Do I Know the Instances Associated with a Security Group?
Why Can't I Delete a Security Group?
Can I Change the Security Group of an ECS?
How Do I Configure a Security Group for Multi-Channel Protocols?
Why Are Some Ports of ECSs Inaccessible?
Why Is Access from a Specific IP Address Still Allowed After a Network ACL Rule That Denies the Access from the IP Address Has Been Added?
Why Are My Security Group Rules Not Working?