NAT Gateway

A NAT gateway enables multiple instances within a virtual private cloud (VPC) to communicate with the Internet. Custom SNAT and DNAT rules can be created to help you use network resources in a flexible manner.

Latest News

Major Release

The all-new enhanced NAT gateways offer high performance and automatic elasticity with extensive O&M features.

Learn More
Free Upgrade

You can upgrade standard NAT gateways enhanced NAT gateways for free.

Learn More
Updates

Improved accuracy of NAT gateway billing based on usage (CU capacity)

Learn More

Benefits

NAT Gateway offers high performance, automatic elasticity, and flexible billing options with extensive O&M features.

  • H71767保湿补
    High Performance

    A NAT gateway supports tens of Gbit/s of throughput and millions of connections. This meets the requirements of large-scale workloads migrated to the cloud.

  • High Reliability

    Provides reliable gateway services that support disaster recovery across data centers with automatic elasticity as the business fluctuates

  • Cost-Effectiveness

    Supports bandwidth sharing among multiple VPCs and ECS instances to reduce bandwidth costs significantly

  • Easy O&M

    The graphic console makes it easy to create custom NAT rules and provides more than 22 monitoring metrics to facilitate operations and maintenance.

Features

You can create a NAT gateway to enable multiple instances within a VPC to communicate with the Internet. You can create custom SNAT and DNAT rules to help you use network resources flexibly and build a hybrid cloud network. The service provides value-added features, such as multiple IP addresses, shared Internet bandwidth, and extensive monitoring metrics.

SNAT

Multiple Elastic Compute Service (ECS) instances can access the Internet through the same public IP address. This avoids the hassle of managing multiple public IP addresses.

Supports custom CIDR blocks for individual vSwitches and ECS instances. This allows you to control access to the Internet based on your business requirements.

SNAT Quick Start Guide >

DNAT

An ECS instance can use one public IP address to deliver external services to all network ports.

An elastic IP address (EIP) can enable multiple VPC-connected ECS instances to deliver services to the Internet using different ports.

An application deployed on an ECS instance can use a public IP address and a port to deliver services to the Internet.

DNAT Quick Start Guide >

Value-Added Features

Supports traffic monitoring from various dimensions and provides up to 22 monitoring metrics

Displays ECS instances by network traffic volume and helps you quickly locate ECS instances with sudden traffic spikes

Supports billing based on hourly CU usage. This billing option is more flexible and cost-effective than billing based on specifications.

Allows you to create multiple enhanced NAT gateways within one VPC. This enables more fine-grained access to the Internet.

Scenarios

Scenario

For cloud-deployed services that require Internet access, usually, one ECS instance is associated with one EIP. The EIP cannot handle large numbers of requests when the workload of the ECS instance spikes. In this case, more EIPs and SNAT rules are required.

A NAT gateway allows you to add multiple EIPs to a SNAT IP address pool. When the ECS instance initiates an Internet connection request, the ECS instance randomly selects an EIP from the SNAT IP address pool to access the Internet.

Advantages

  • Supports a large number of SNAT connections

    Supports up to 2 million connections and allows you to expand the capacity to 10 million connections

  • Supports a large number of new SNAT connections

    Supports up to 100,000 new connections and allows you to expand the capacity to 1 million new connections to meet the requirements of large-scale workloads

Virtual Private Cloud

Helps you build an isolated network environment on Alibaba Cloud.

Learn More

Elastic IP Address

Provides independent public IP address resources.

Learn More

Elastic Compute Service

Provides elastic and secure virtual cloud servers to cater to all your cloud hosting needs.

Learn More

Scenario

When an enterprise expands, more than one ECS instance is necessary to provide external services. Each ECS instance is deployed with an application service, which provides services to the Internet. The ECS instances have different bandwidth requirements at different times. This may waste resources if you purchase bandwidth resources separately for each ECS instance.

In this case, you can purchase a NAT gateway to enable bandwidth sharing with multiple applications to save bandwidth costs.

Advantages

  • Supports high throughput capacity

    Supports 5 Gbit/s of throughput and allows you to expand the capacity to 100 Gbit/s of throughput to meet the requirements of large-scale Internet services

  • Provides flexible billing options

    Shared bandwidth supports flexible billing options to reduce costs further

Elastic Compute Service

Provides elastic and secure virtual cloud servers to cater to all your cloud hosting needs.

Learn More

Elastic IP Address

Provides independent public IP address resources.

Learn More

Server Load Balancer

Distributes traffic among multiple ECS instances to achieve load balancing.

Learn More

Scenario

When a business expands, different workloads deployed in the same VPC must be securely isolated from one another, and their access to the Internet must be controlled.

In this case, you can create multiple enhanced NAT gateways in the VPC to forward traffic to different destinations. You can also create different access control policies for the NAT gateways to precisely manage access to the Internet.

Advantages

  • Supports flexible and fine-grained traffic management

    Supports traffic management of individual vSwitches and ECS instances and provides various traffic monitoring metrics.

  • Supports multiple NAT gateways in one VPC

    Supports up to five NAT gateways in one VPC. You can submit a ticket to increase the quota.

Elastic Compute Service

Provides elastic and secure virtual cloud servers to cater to all your cloud hosting needs.

Learn More

Elastic IP Address

Provides independent public IP address resources.

Learn More

Server Load Balancer

Distributes traffic among multiple ECS instances to achieve load balancing.

Learn More

Scenario

If an ECS instance in a VPC is assigned a public IP address and other ECS instances in the VPC access the Internet using the SNAT feature of NAT Gateway, the ECS instances in the VPC use different IP addresses to access the Internet.

In this case, you can create a NAT gateway for the ECS instances so they can use the same public IP address to access the Internet. The ECS instances that do not have public IP addresses in the VPC can access the Internet using SNAT.

Advantages

  • Easy to Use

    NAT Gateway provides detailed configuration guides to help you set up Internet access using one public IP address.

  • Supports a variety of scenarios

    You can configure NAT Gateway to access the Internet using the same public IP address for ECS instances associated with EIPs or ECS instances with IP address mapping configured using DNAT.

Elastic Compute Service

Provides elastic and secure virtual cloud servers to cater to all your cloud hosting needs.

Learn More

Elastic IP Address

Provides independent public IP address resources.

Learn More

Server Load Balancer

Distributes traffic among multiple ECS instances to achieve load balancing.

Learn More

Upgraded Support For You

1 on 1 Presale Consultation, 24/7 Technical Support, Faster Response, and More Free Tickets.

1 on 1 Presale Consultation

Consulting by experienced cloud experts.Learn More

24/7 Technical Support

Extended service time from 10 hours 5 days a week to 24/7. Learn More

6 Free Tickets per Quarter

The number of free tickets doubled from 3 to 6 per quarter. Learn More

Faster Response

Shorten after-sale response time from 36 hours to 18 hours. Learn More