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 created. For more information, see CRE User Guide - Create ECS Instance.

Procedure

  1. On the EIP console page, find the EIP that you want to manage, and click Binding Resource in the Operation column. fg-dc-eip-3.4-1
  2. In the Associate EIP with Resource dialog box, set the following parameters and click OK.
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. After the binding is successful, the IP Status updated to Bind. fg-dc-eip-3.4-3