nav-img
Advanced

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.

Note

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

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Virtual Private Cloud > Network Interfaces.
  4. Click Create Network Interface.
  5. Configure parameters for the network interface, as shown in Table 1.
    Table 1 Parameter descriptions

    Parameter

    Parameter Description

    Example Value

    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

    Private IP Address

    Whether to automatically assign a private IP address.

    -

    Security Group

    Security group that will be associated with the network interface.

    sg-001

  6. Click OK.