Updated on 2025-10-30 GMT+08:00

Network Parameters

Description

  • VPC

    Virtual Private Cloud (VPC) allows you to create logically isolated, configurable, and manageable virtual networks for ECSs. You can define security groups, virtual private networks (VPNs), CIDR blocks and bandwidth for a VPC. This makes it easy for you to manage and configure private networks and improves network security. It improves resource security and simplifies network deployment on the cloud.

    ECSs in different VPCs cannot communicate with each other by default.

  • Subnet

    A subnet is a unique CIDR block with a range of IP addresses in a VPC. All resources in a VPC must be deployed on subnets. Subnets in a VPC cannot overlap with each other.

    By default, all instances in different subnets of the same VPC can communicate with each other and the subnets can be located in different AZs. If you have a VPC with two subnets in it and the subnets are located in different AZs, they can communicate with each other by default.

    Figure 1 Subnet
  • NIC

    A network interface card (NIC) is a virtual network adapter that can be bound to an ECS in a VPC. You can manage the ECS network with a NIC. A NIC can be a primary NIC or an extension NIC.

    The number of extension NICs that can be attached to an ECS is determined by the ECS specifications.

    Table 1 NICs

    Type

    Creation

    Attachment

    Communication with External Networks

    Communication with Public Service Zone

    Primary NIC

    Created along with the instance by default and cannot be created separately.

    Cannot be detached from the instance.

    Supported

    Supported

    Extension NIC

    Can be created separately on the Network Interface console.

    Can be attached to or detached from the instance.

    Not supported. Policy-based routes need to be configured for external network access.

    How Do I Configure Policy-Based Routes for an ECS with Multiple NICs?

    Not supported

  • IPv4

    By default, IPv4 addresses only support communication over private networks. You can configure an EIP or a public NAT gateway to enable communication over public networks. For details, see Binding an EIP and Using a Public NAT Gateway to Enable Servers to Share One or More EIPs to Access the Internet.

  • IPv6

    IPv6 addresses can effectively address the issue of limited IPv4 address resources. Once IPv6 is enabled, the instance can run in dual-stack mode, which means the instance has two versions of IP addresses: IPv4 and IPv6. They both can be used to access the private and public networks.

FAQs