Skip to main content

Associate an EIP with a NAT gateway

Overview

This topic describes how to associate an elastic IP address (EIP) with a NAT gateway. After you associate an EIP with a NAT gateway, you can create DNAT and SNAT entries for the EIP.

Prerequisites

A NAT gateway is required. For details, see the CRE User Guide - Creating a NAT Gateway for step-by-step instructions.

Procedure

  1. On the EIP page, click the Binding Resource button in the operation column. fg-dc-eip-3.4-1
  2. On the Bind elastic public network IP to resources section, configure the parameters.
ParameterDescription
Instance TypeSelect NAT Gateway.
Select an instance to bindSelect the NAT gateway to be associated with the EIP.
Make sure that the following requirements are met:
● You had not purchased a NAT bandwidth plan before January 26, 2018, with the Cloud account to which the NAT gateway belongs. If you did, associate the NAT bandwidth plan with the NAT gateway.
● The NAT gateway and EIP must be deployed in the same region.
● You can associate a NAT gateway with at most 20 EIPs, among which at most 10 pay-by-data-transfer EIPs can be associated. If you want to associate more EIPs, submit a ticket to request a quota increase.

fg-dc-eip-3.4-2
3. On the Bind elastic public network IP to resources section, click the OK button.
4. Once the IP address is successfully bound, its status has been updated to Bind. fg-dc-eip-3.4-3