This topic describes how to associate an Elastic IP Address (EIP) with a NAT Gateway. A NAT Gateway can work normally only after it is associated with a public IP address. After you associate an EIP with a NAT Gateway, you can use the EIP to configure SNAT entries.
- Log on to the VPC console.
- In the left-side navigation pane, click NAT Gateways.
- Select the region of the NAT Gateway.
- Find the target NAT Gateway and choose Actions column. in the
- On the Bind Elastic IP Address page, complete the following configurations, and then click OK.
Configuration Description Select from EIP list Usable EIP list Select an EIP that is used to access the Internet. VSwitch Select the VSwitch to which you want to add SNAT entries.
The system automatically adds SNAT entries so that Alibaba Cloud services connected to this VSwitch can access the Internet. Alternatively, you can skip this step and add SNAT entries after you associate an EIP with a NAT Gateway. For more information, see Create a SNAT entry.Note This option is displayed only for NAT Gateways that are not associated with an EIP.
Allocate one EIP and bind it to NAT Gateway Buy EIP Displays the number of EIPs to be purchased. The default value is 1 and cannot be modified.
The system automatically creates an EIP billed by traffic and associate it with the NAT Gateway.Note One NAT Gateway can be associated with up to 20 EIPs, including up to 10 EIPs billed by traffic. The peak bandwidth of each EIP billed by traffic cannot exceed 200 Mbps. However, you can open a ticket to increase the quota of EIPs that one NAT Gateway can be associated with.