View here to log in or access your console

OK

NAT Gateway

A public Internet gateway for flexible usage of network resources and access to VPC.

Buy Now Contact Sales

Overview

NAT Gateway is an enterprise-class public network gateway, providing proxy services (SNAT and DNAT), up to 10 Gbps forwarding capacity, and cross-zone disaster recovery. NAT Gateway helps you establish an Internet gateway for a VPC by configuring SNAT and DNAT entries, allowing more flexible use of network resources.


Benefits

Flexible and Easy-to-Use

  • As an enterprise-class public network gateway for VPC, NAT Gateway provides SNAT and DNAT functions, with no need to construct a SNAT gateway on your own servers.

High-performance

  • Using SDN virtualization technology, NAT Gateway provides a virtual network hardware based on Alibaba Cloud’s self-developed distributed gateway. NAT Gateway supports large-scale Internet applications with forwarding capability of 10 Gbps.

High Availability

  • NAT Gateway supports cross-zone disaster recovery. Any failure of a single zone will not affect the business continuity of the NAT Gateway.

Pay-As-You-Go

  • Change the gateway specifications, peak bandwidth, and the number of the public IPs at any time according to business needs.

Product Details

As a public network gateway, NAT Gateway must be configured with public IPs, which are abstractly grouped into a shared bandwidth package. The NAT Gateway and shared bandwidth packages must be used together in order to provide a high-performance, flexible, enterprise-class public gateway service.


Functions

Shared Bandwidth Package

Prior to using the SNAT or DNAT function, you will first need to add a shared bandwidth package to the NAT Gateway.

A NAT Gateway can contain a maximum of four shared bandwidth packages.

DNAT

NAT Gateway supports DNAT (Destination NAT), allowing you to map a public IP to a private IP. The ECS instance with the specified IP can then publish public services over the Internet.

SNAT

NAT Gateway supports SNAT (Source NAT), allowing you to associate a public IP with a VSwitch. The ECS instances in the VSwitch can then use the public IP to access the Internet.

Scenarios

Scenario: A VPC ECS instance without a public IP requiring access to the Internet

For security considerations, IT systems sometimes require servers to have access to the Internet without exposing their public IPs to public networks. For such scenarios, you may utilize the SNAT function of the NAT Gateway to create a highly available SNAT gateway.


Pricing

As NAT Gateway must be used in conjunction with shared bandwidth packages, users can access the public IP NAT configurations after purchasing a shared bandwidth package. When NAT Gateway, you will be charged for the NAT Gateway and the shared bandwidth package.

NAT Gateway

Billing method: Pay-As-You-Go

Billing cycle: Per day

Billing items: NAT Gateway reservation fee

NAT Gateway provides different specifications to meet different user needs and different specifications contain different pricing.

The following table lists the cost of NAT Gateway for different regions.

Region Specification Small (USD/Day) Specification Medium (USD/Day) Specification Large (USD/Day) Specification Super Large (USD/Day)
China North 1 (Qingdao) 1.829 3.505 6.858 12.192
China East 1 (Hangzhou), China East 2 (Shanghai), China North 2 (Beijing), China North 3 (Zhangjiakou), China South 1 (Shenzhen) 1.829 3.505 6.858 12.192
Hong Kong 2.438 4.572 8.991 15.849
Singapore 2.743 5.334 10.363 18.287
US East 1 (Virginia) 2.438 4.572 8.991 15.849
US West 1 (Silicon Valley) 2.591 5.029 9.601 17.068
Asia Pacific NE 1 (Japan) 2.926 5.608 10.972 19.507
Middle East 1 (Dubai) 5.486 10.515 20.573 36.575
Asia Pacific SE 2 (Sydney) 3.657 5.334 13.716 24.383
Germany 1 (Frankfurt) 3.292 6.309 12.344 21.945
Prices may change over time. Please refer to the NAT Gateway console for current prices.

Shared Bandwidth Package

  • Billing method: Pay-AS-You-Go

  • Billing cycle: By hour

  • Billing items: Public IP reservation fee, and traffic fee (charged for the actual traffic)

Billing method: Pay-As-You-Go

Billing cycle: Per hour

Billing items

IP address retention fee

  • Cost = price * retention time, each IP address is charged independently.

  • Price: Refer to pricing table.

  • Retention time: Billed hourly, usage sessions less than one hour are rounded up to one hour.

Traffic fee

  • Cost = price * billing traffic, each IP address is charged independently.

  • Price: Refer to pricing table.

  • Charged traffic: The cumulative value of the IP address's hourly outbound traffic. Outbound traffic refers to data transferred from the Alibaba Cloud data center to the Internet, the reverse is known as inbound traffic.

The following table lists the price of shared bandwidth packages (IP address retention fee and traffic fee) for different regions.

Region IP address retention fee (USD/hour) Traffic fee (USD/GB)
China North 1 (Qingdao) 0.003 0.113
China East 1 (Hangzhou), China East 2 (Shanghai), China North 2 (Beijing), China North 3 (Zhangjiakou), China South 1 (Shenzhen) 0.003 0.125
Hong Kong 0.009 0.156
Singapore 0.125 0.081
US East 1 (Virginia) 0.005 0.078
US West 1 (Silicon Valley) 0.005 0.078
Asia Pacific NE 1 (Japan) 0.005 0.12
Middle East 1 (Dubai) 0.009 0.447
Asia Pacific SE 2 (Sydney) 0.006 0.13
Germany 1 (Frankfurt) 0.006 0.07
Prices may change. Please refer to the NAT Gateway console for current prices.

Getting Started

Access Alibaba Cloud NAT Gateway Via the Management Console

The Alibaba Cloud Management Console provides a simple web-based user interface that allows you to access and configure NAT Gateway. Use this console to create, modify and manage your NAT Gateway.

For a step-by-step guide on how to create an Alibaba Cloud NAT Gateway through the management console, please read the Quick Start Guide.

Documentation

To create your own Alibaba Cloud NAT Gateway, please see the NAT Gateway Documentation for a detailed introduction on how NAT Gateway works and how to modify and manage your NAT Gateway.

Alibaba Cloud VPC API Reference

Access the web-based Alibaba Cloud NAT Gateway APIs to programmatically create, manage and achieve greater control of your product resources

Resources

The following resources offer detailed information about Alibaba Cloud NAT Gateway.

Developer Resources

See the links below for advanced features and Documentation. These resources are useful for developers wishing to integrate Alibaba Cloud NAT Gateway with their existing applications or to improve configurations.

Related Services