Updated on 2024-06-13 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

    Name

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

    networkInterface-891e

    VPC

    Select the VPC to which the network interface belongs.

    vpc-001

    Subnet

    Select the subnet that the network interface belongs to.

    subnet-001

    Private IP Address

    Select whether to automatically assign a private IP address.

    -

    Security Group

    Select the security group that the network interface belongs to.

    sg-001

  4. Click OK.