NAT Gateway Configuration Guide

Setup Flow

Setup flow — from zero to a working NAT Gateway

Steps 1–3 are required. 4a and 4b are independent — add either or both. 5 is verification.

#
Task
Console path
What you'll set

1

Allocate Elastic IPs

Same region as the gateway

2

Create Public NAT Gateway

Global VPC · subnets to route through the gateway

3

Bind an EIPv4 to the gateway

Open Public NAT Gatewayarrow-up-right → gateway → InformationBind Elastic IPv4

Pick one of the allocated EIPs

4a

Add a SNAT entry (outbound)

Same gateway → NAT RulesCreate SNAT Entry

Source subnets / CIDRs · outbound EIPv4

4b

Add a DNAT entry (inbound)

Same gateway → NAT RulesCreate DNAT Entry

EIPv4 + Public port → Private IP + Private port · Protocol (tcp / udp; any only with no port fields)

5

Verify VPC routes (optional)

VPC → Route Tablesarrow-up-right, filter by type NAT Gateway

Each covered subnet has a default route to the gateway

The gateway must reach Active state before step 3. Each new SNAT/DNAT entry is enforced once the gateway applies the rule.

Day-2 Operations

Task
Console path

Change subnet association

Gateway detail panel → edit subnet selection

Delete a SNAT or DNAT entry

Gateway → NAT RulesDelete on the target entry

Delete the gateway

Public NAT Gatewayarrow-up-right (Actions) → Delete. Delete unused entries first; remaining EIPs are unbound and gateway routes are withdrawn automatically.

View bills and orders

Gateway → InformationOrder and billingView Related Orders / View Bill Details

Last updated