All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term


Access the Internet

Last updated:2021-08-30 17:19:27

You can use the following methods to access the Internet from containers:

  • Use the Network Address Translation (NAT) gateway bound to the Virtual Private Cloud (VPC) to which your container instance belongs.
  • Directly bind the container instance to an elastic IP address (EIP).

Access the Internet by using NAT

For more information, see NAT.

Bind a container instance to an EIP

You can bind a container instance to an EIP by using the SDK or the console. In this example, the console is used.


You have a container group in the Running state.


  1. Log in to the EIP console and purchase an EIP. For more information, see EIP User Guide.

  2. Select the EIP you just purchased and click Bind Resource in the Operation column.


  3. Select Container Instance as the binding mode, select the container instance to bind to the EIP, and then click Bind.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen