tencent cloud

Feedback

Elastic Network Interface (ENI)

Last updated: 2024-01-08 09:12:28
    Elastic Network Interface (ENI) is an elastic network interface bound to CVMs in a VPC, which can be migrated among multiple CVMs. ENI is very useful for configuring management networks and establishing highly reliable network solutions.
    ENI has VPC, availability zone and subnet attributes. You can only bind it to CVMs under the same availability zone. A CVM can be bound with multiple ENIs, and the maximum number allowed varies by CVM specifications.

    Concepts

    Primary ENI and secondary ENI: The ENI created when creating the CVM in a VPC is the primary ENI, and those created by users are secondary ENIs. The primary ENI does not support binding and unbinding, but secondary ENIs do.
    Primary private IP: The primary private IP of an ENI is randomly assigned by the system or customized by users when the ENI is created. You can modify the primary private IP of the primary ENI, but not those of secondary ENIs.
    Secondary private IP: The secondary private IPs bound to the ENI, other than the primary IP, are configured by users when they create or modify the ENI. Users can also bind/unbind these IPs.
    EIP: Bound with private IPs of an ENI one by one.
    Security group: An ENI can be bound with one or more security groups.
    MAC address: An ENI has a globally unique MAC address.

    Applications

    Isolation among private network, public network and management network: Isolation among private network, public network and management network for secure data transmission is required for the network deployment of key businesses. Different routing policies and security group policies can guarantee data security and network isolation. Like a physical server, CVM can be bound with ENIs residing in different subnets to achieve isolation among three networks.
    Highly reliable application deployment: The high availability of key components in the system architecture is ensured through multi-server hot backup. Tencent Cloud provides ENIs and private IPs that can be flexibly bound and unbound. You can configure Keepalived disaster recovery to achieve highly available deployment of key components.

    Limits

    Based on CPU and memory configurations, the number of ENIs bound to a CVM differs from the number of private IPs bound to an ENI. The quotes are as shown below:
    Caution:
    The number of IPs that can be bound to a single ENI indicates the upper limit of IPs bound only. The EIP use limits, rather than the upper limit, determines the actual EIP quota.
    Number of ENIs bound to a CVM instance
    Number of private IPs bound to a single ENI on CVM instances
    Model
    Instance Type
    Number of ENIs
    CPU: 1 core
    CPU: 2 cores
    CPU: 4 cores
    CPU: 6 cores
    CPU: 8 cores
    CPU: 10 cores
    CPU: 12 cores
    CPU: 14 cores
    CPU: 16 cores
    CPU: >16 cores
    Standard
    Standard S5
    2
    4
    4
    -
    6
    -
    -
    -
    8
    8
    Standard Storage Optimized S5se
    -
    -
    4
    -
    6
    -
    -
    -
    8
    8
    Standard SA2
    2
    4
    4
    -
    6
    -
    -
    -
    8
    8
    Standard S4
    2
    4
    4
    -
    6
    -
    -
    -
    8
    8
    Standard Network-optimized SN3ne
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Standard S3
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Standard SA1
    2
    2
    4
    -
    6
    -
    -
    -
    8
    8
    Standard S2
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Standard S1
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    High IO
    High IO IT5
    -
    -
    -
    -
    -
    -
    -
    -
    8
    8
    High IO IT3
    -
    -
    -
    -
    -
    -
    -
    -
    8
    8
    MEM Optimized
    Memory Optimized M5
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Memory Optimized M4
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Memory Optimized M3
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Memory Optimized M2
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Memory Optimized M1
    2
    4
    4
    -
    6
    -
    8
    -
    8
    8
    Compute
    Compute Optimized C4
    -
    -
    4
    -
    6
    -
    -
    -
    8
    8
    Compute Network-optimized CN3
    -
    -
    4
    -
    6
    -
    -
    -
    8
    8
    Compute C3
    -
    -
    4
    -
    6
    -
    -
    -
    8
    8
    Compute C2
    -
    -
    4
    -
    6
    -
    -
    -
    8
    8
    GPU-based
    GPU Compute GN2
    -
    -
    -
    -
    -
    -
    -
    -
    -
    8
    GPU Compute GN6
    -
    -
    -
    -
    -
    -
    -
    -
    -
    8
    GPU Compute GN6S
    -
    -
    4
    -
    6
    -
    -
    -
    -
    -
    GPU Compute GN7
    -
    -
    4
    -
    6
    -
    -
    -
    -
    8
    GPU Compute GN8
    -
    -
    -
    4
    -
    -
    -
    8
    -
    8
    GPU Compute GN10X
    -
    -
    -
    -
    6
    -
    -
    -
    -
    8
    GPU Compute GN10Xp
    -
    -
    -
    -
    -
    6
    -
    -
    -
    8
    FPGA-based
    FPGA Accelerated FX4
    -
    -
    -
    -
    -
    6
    -
    -
    -
    8
    Big Data
    Big Data D3
    -
    -
    -
    -
    6
    -
    -
    -
    8
    8
    Big Data D2
    -
    -
    -
    -
    6
    -
    -
    -
    8
    8
    Big Data D1
    -
    -
    -
    -
    6
    -
    -
    -
    -
    8
    Cloud Physical Machine 2.0
    Not supported
    
    Model
    Instance Type
    Number of private IPs bound to a single ENI
    CPU: 1 core
    CPU: 2 cores
    CPU: 4 cores
    CPU: 6 cores
    CPU: 8 cores
    CPU: 10 cores
    CPU: 12 cores
    CPU: 14 cores
    CPU: 16 cores
    CPU: >16 cores
    Standard
    Standard S5
    6
    10
    10
    -
    20
    -
    -
    -
    30
    30
    Standard Storage Optimized S5se
    -
    -
    20
    -
    20
    -
    -
    -
    30
    30
    Standard SA2
    6
    10
    10
    -
    20
    -
    -
    -
    30
    30
    Standard S4
    6
    10
    10
    -
    20
    -
    -
    -
    30
    30
    Standard Network-optimized SN3ne
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Standard S3
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Standard SA1
    1 GB memory: 2>1 GB memory: 6
    10
    8 GB memory: 1016 GB memory: 20
    -
    20
    -
    -
    -
    30
    30
    Standard S2
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Standard S1
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    High IO
    High IO IT5
    -
    -
    -
    -
    -
    -
    -
    -
    30
    30
    High IO IT3
    -
    -
    -
    -
    -
    -
    -
    -
    30
    30
    MEM Optimized
    Memory Optimized M5
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Memory Optimized M4
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Memory Optimized M3
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Memory Optimized M2
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Memory Optimized M1
    6
    10
    10
    -
    20
    -
    30
    -
    30
    30
    Compute
    Compute Optimized C4
    -
    -
    10
    -
    20
    -
    -
    -
    30
    30
    Compute Network-optimized CN3
    -
    -
    10
    -
    20
    -
    -
    -
    30
    30
    Compute C3
    -
    -
    10
    -
    20
    -
    -
    -
    30
    30
    Compute C2
    -
    -
    10
    -
    20
    -
    -
    -
    30
    30
    GPU-based
    GPU Compute GN2
    -
    -
    -
    -
    -
    -
    -
    -
    -
    30
    GPU Compute GN6
    -
    -
    -
    -
    -
    -
    -
    -
    -
    30
    GPU Compute GN6S
    -
    -
    10
    -
    20
    -
    -
    -
    -
    -
    GPU Compute GN7
    -
    -
    10
    -
    20
    -
    -
    -
    -
    30
    GPU Compute GN8
    -
    -
    -
    10
    -
    -
    -
    30
    -
    30
    GPU Compute GN10X
    -
    -
    -
    -
    20
    -
    -
    -
    -
    30
    GPU Compute GN10Xp
    -
    -
    -
    -
    -
    20
    -
    -
    -
    30
    FPGA-based
    FPGA Accelerated FX4
    -
    -
    -
    -
    -
    20
    -
    -
    -
    30
    Big Data
    Big Data D3
    -
    -
    -
    -
    20
    -
    -
    -
    30
    30
    Big Data D2
    -
    -
    -
    -
    20
    -
    -
    -
    30
    30
    Big Data D1
    -
    -
    -
    -
    20
    -
    -
    -
    -
    30
    Cloud Physical Machine 2.0
    Not supported
    

    API Overview

    The APIs related to the ENI and CVM are shown in the following table. For more information, see API Category.
    Feature
    Action ID
    Description
    Create ENI
    Create an ENI
    Assign Private IP for ENI
    Assign a private IP for an ENI
    Bind ENI to CVM
    Bind an ENI to a CVM
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support