• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. User Guide
  4. FAQs
  5. EIP FAQs
  6. Can an ECS Without an EIP Access the Internet?

Can an ECS Without an EIP 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 section "Configuring a SNAT Server" in Virtual Private Cloud User Guide.

  • Method 2: Create a NAT gateway.

    If a large number of concurrent connections are required, you are advised to use the NAT Gateway service provided by the public cloud platform.

    The NAT Gateway service offers the NAT function for ECSs in a VPC, allowing these ECSs to access the Internet using an EIP. For more information about NAT Gateway, see NAT Gateway User Guide.