Updated on 2024-09-02 GMT+08:00

Creating a Network Interface

Scenarios

A primary network interface is created together with an instance by default. You can perform the following operations to create extended network interfaces on the Network Interfaces console.

Notes and Constraints

An extended network interface created on the console can only be attached to an instance from the same VPC, but they can be associated with different security groups.

If you create an extended network interface using an API, the interface can be attached to an instance from a different VPC.

Procedure

  1. Go to the network interface list page.
  2. Click Create Network Interface.
  3. Configure parameters for the network interface, as shown in Table 1.
    Table 1 Parameter descriptions

    Parameter

    Parameter Description

    Example Value

    Region

    Region where the network interface is created. Select the region nearest to you to ensure the lowest latency possible.

    CN-Hong Kong

    Name

    Name of the network interface. The name:
    • Can contain 1 to 64 characters.
    • Can contain letters, digits, underscores (_), hyphens (-), and periods (.).

    networkInterface-891e

    VPC

    VPC where the network interface is created.

    vpc-001

    Subnet

    Subnet where the network interface is created.

    subnet-001

    IPv4 Address

    How a private IPv4 address will be assigned to the network interface. There are two options:
    • Automatically assign IP address: The system assigns a private IPv4 from the subnet.
    • Manually specify IP address: You can specify an IP address.

      If you select Manually specify IP address, enter a private IPv4 address.

    192.168.0.15

    Security Group

    Select the security group that will be associated with the network interface.

    sg-001

  4. Click OK.