惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
D
Docker
N
Netflix TechBlog - Medium
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
博客园_首页
量子位
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
D
DataBreaches.Net
I
InfoQ
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
H
Help Net Security
V
V2EX

Devoriales - DevOps and Python Tutorials

Python Multiprocessing vs Threading: Which One Actually Speeds Up CPU-Bound Work? Istio Traffic Mirroring: Correlating Shadow Requests Kubernetes 1.37: What Actually Landed Kimi K3 Open Weights: What Moonshot Actually Shipped Cloud & DevOps & AI Digest: The Week of Jun 28, 2026 Cloud & DevOps & AI Digest: The Week of Jun 20, 2026 Ansible for DevOps Engineers: Architecture, Core Concepts, and Hands-On Lab Login Must-Have Kubernetes CLI Tools Every Platform Engineer Should Know Login Login Login Why Your Best Engineers Are Quitting (And How to Stop It) Login ArgoCD Vulnerability: How the ServerSideDiff Feature Exposes Kubernetes Secrets Login How Kubernetes Controls What Your Containers Can Do Login Multi-AZ Is Not Disaster Recovery: What the AWS Bahrain Outage Finally Proved Trivy Supply Chain Attack: When Your Security Scanner Becomes the Threat Is Claude Opus 4.6 Fast Mode Really Worth 6× the Price? Login Unlocking Higher Pod Density in EKS with Prefix Delegation Kubernetes 1.35 Timbernetes Release AWS re:Invent 2025: The Future of Kubernetes on EKS Debate Series: How Do We Control Deployment Order in Kubernetes? Debate Series: Should We Eliminate Kubernetes Secrets Entirely? Kubernetes CRDs Explained: A Beginner-Friendly Guide to Extending the Kubernetes API Reduce Cloud Cross-Zone Data Transfer Costs with Kubernetes 1.33 trafficDistribution Building Custom Bitnami Images: A Guide for Self-Hosted Container Images
AWS Regional NAT Gateway: What It Is and Why You Should Care
Aleksandro Matejic · 2025-12-22 · via Devoriales - DevOps and Python Tutorials

Aleksandro Matejic

Amazon’s latest update promises to fix the most tedious part of cloud networking, but convenience comes with its own hidden price tag.

For over a decade, reliable cloud networking has required a strict, repetitive architectural pattern. To ensure high availability for outbound traffic, engineers were forced to provision a distinct NAT Gateway in every single Availability Zone. This meant managing redundant infrastructure, maintaining multiple routing tables, and burning IP addresses in public subnets that existed solely to host network traffic. If you missed a zone, your reliability score dropped; if you over-provisioned, your bill increased.

That era effectively ended this November with the release of the AWS Regional NAT Gateway. This feature represents a shift from manual redundancy to automated reliability. Instead of micromanaging individual gateways in every zone, Amazon now offers a single "Regional" resource. You create one gateway ID for your entire Virtual Private Cloud, and the service automatically detects where your servers are running. When you launch a workload in a new zone, the gateway extends its underlying infrastructure to cover that area without manual intervention. It eliminates the need for dedicated public subnets and collapses complex routing logic into a single line item.

However, experienced engineers know that abstraction rarely comes without trade-offs. The most critical detail lies in the provisioning latency. Because the system dynamically follows your workload, it is not always pre-warmed. When you expand into a new Availability Zone for the first time, the gateway takes approximately 15 to 20 minutes to establish a local endpoint. During this expansion window, your traffic is not dropped, but it is routed cross-zone to an existing endpoint. This keeps packets flowing, but it introduces temporary cross-zone data transfer costs and increased latency. For latency-sensitive applications that demand immediate performance upon scaling, this lag necessitates careful planning or manual pre-provisioning.

The financial model also requires scrutiny. While the "Regional" label suggests a flat fee, the pricing logic remains tied to usage. You are billed hourly for every Availability Zone where the gateway is active. The primary savings come from efficiency: unlike the legacy model, which billed you for idle gateways 24/7, the Regional NAT Gateway automatically stops charging for a zone the moment your workload leaves it. This effectively allows your infrastructure costs to scale to zero in i.e. development environments or during off-peak hours.

Unfortunately, the update does not address the most contentious aspect of AWS networking costs: the data processing fee. You will still pay the standard rate for every gigabyte processed, regardless of the architectural model. Additionally, this feature currently supports only public internet connectivity, meaning those requiring Private NAT for internal communication must stick to the legacy manual method.

Ultimately, the Regional NAT Gateway is a victory for operational simplicity. For the majority of engineering teams, the reduction in Terraform code and management overhead makes it the new default standard. But for engineers optimizing for extreme low latency or strict cost controls, the manual approach remains the only way to bypass the limitations of automation.

Links

https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html

https://aws.amazon.com/blogs/networking-and-content-delivery/build-scalable-ipv4-addressing-with-aws-nat-gateway-in-regional-availability-mode-amazon-vpc-ipam-policies-and-prefix-lists/