Can an ECS Without an EIP Bound Access the Internet?

Yes.

  • Method 1: Configure a SNAT server.

    You can configure the SNAT server so that the ECS without an EIP bound can access the Internet.

    For details, see "Configuring an SNAT Server" in Virtual Private Cloud User Guide.

  • Method 2: Create a NAT gateway.

    If a large number of concurrent connections are required, it is a good practice to use the NAT Gateway service provided by the cloud platform.

    The NAT Gateway service offers the network address translation (NAT) function for ECSs in a VPC, allowing these ECSs to access the Internet using an EIP. The SNAT function provided by the NAT Gateway service allows the ECSs in a VPC to access the Internet without requiring an EIP. Additionally, SNAT supports a large number of concurrent connections for applications that have a large number of requests and connections. For more information about NAT Gateway, see NAT Gateway User Guide.