On AWS, every byte that moves between two availability zones is billed twice: once when it leaves one zone and again when it arrives in the other. A default Kubernetes cluster sends most of its Service traffic across zones, because it picks a pod for each call without looking at where that pod runs. The bill adds it all up into one data transfer line that never names a pod.
Most of that line comes from a few paths, and most of those paths have a fix. Some of it is the price of surviving a zone failure, and that part should stay.
What each cloud charges
Cross-AZ data transfer is traffic between two zones of the same region. It is billed apart from internet egress and from traffic between regions. Prices below were read on November 19, 2026.
| Cloud | Traffic between zones in one region | Who pays |
|---|---|---|
| AWS | $0.01 per GB out of one zone plus $0.01 per GB into the other, so $0.02 per GB that crosses | Both sides, each on its own line item |
| Google Cloud | $0.01 per GiB | The project of the VM that sends it |
| Azure | No charge since 2024 | Nobody |
On AWS, three details decide whether a path costs anything:
- Traffic to a public or Elastic IP address is billed even when both ends sit in the same zone.
- Traffic between instances and an Application Load Balancer over private addresses in the same VPC is free.
- Traffic straight to S3, DynamoDB or ECR in the same region is free, but a NAT gateway or PrivateLink endpoint in the path adds its own charge per GB.
Google Cloud bills only the sender, and traffic to an external IPv4 address counts as leaving the zone even between two VMs in the same one. Azure still bills internet egress and traffic between regions, so on AKS the network line to watch is internet egress.
Why Kubernetes sends traffic across zones
When a pod calls a Service, kube-proxy picks one of the Service's ready pods. It doesn't check which zone that pod is in. With callers and pods spread evenly over three zones, two calls in three go to another zone.
Where a Service sends its calls
checkout calls an inventory Service with one pod in each zone. Each dot is one call.
Animated diagram of three zones, each with two checkout pods and one inventory pod. With default routing about two of every three calls go to the inventory pod in another zone; with PreferSameZone every call stays in its own zone.
Spreading replicas over zones is the right call for availability. It also guarantees that every Service has pods in other zones for kube-proxy to pick, so a request that passes through four services gets four chances to cross. Topology-aware routing changes that pick.
Stateful systems copy data on purpose
Kafka copies every message to brokers in other zones, and consumers read from the partition leader wherever it runs unless they know their own zone. A single Redis or PostgreSQL primary is worse: every client outside its zone crosses on every call. Stateful workloads and cross-zone traffic covers each system.
Load balancers, DNS and NAT gateways
In instance mode, the AWS Load Balancer Controller sends traffic to a node port on any node, and kube-proxy forwards it to a pod that may sit in another zone. IP target mode sends it straight to the pod.
DNS lookups go to the CoreDNS Service and are routed like any other call. Each packet is small, but pods send a lot of them.
A pod that reaches the internet through a NAT gateway in another zone pays for the crossing on the way to the gateway, on top of the gateway's own charge. EKS NAT gateway cost and the NAT gateway glossary entry cover that path.
One cluster's bill, path by path
Here is an example EKS cluster in us-east-1, with invented volumes and real AWS rates. Nodes and callers are spread evenly over three zones, and the table shows each path before and after the fix that applies to it.
| Path | Crosses a zone each month | Cost today | Change | Cost after |
|---|---|---|---|---|
web to the checkout Service, 2 pods per zone | 2,000 GB | $40 | trafficDistribution: PreferSameZone | about $0 |
checkout to the inventory Service, 1 pod per zone | 4,000 GB | $80 | trafficDistribution: PreferSameZone | about $0 |
api to a single redis primary | 5,000 GB | $100 | None on the Service: it has one endpoint | $100 |
| Kafka produce and replicate, 1 broker per zone | 8,000 GB | $160 | None: the copies are the durability | $160 |
| Kafka consumers, 2 groups | 4,000 GB | $80 | Follower fetching with client.rack | about $0 |
| Pods to CoreDNS, 2 pods | 200 GB | $4 | NodeLocal DNSCache | about $0 |
| Total | 23,200 GB | $464 | $260 |
Four changes take $204 a month off this bill. What stays pays for one Redis primary and for three copies of every Kafka message. Changing those is a design decision for the teams that own them.
Real clusters are rarely this even. When most callers sit in a zone that holds few of the endpoints, more than two thirds of their calls cross.
To price one of your own paths, set the traffic between the two services:
Cross-zone cost for one pair of services
AWS rate, us-east-1, November 2026: $0.01 per GB out of a zone and $0.01 per GB into the other. Azure has not charged between availability zones since 2024. 1 TB is counted as 1,000 GB. The starting 6 TB is the checkout to inventory path from the example. "With PreferSameZone" assumes 1% of the traffic still crosses while pods restart; measure your own.
Calculator for the traffic between two services. At an example 6 TB a month in three zones, 4 TB crosses a zone and costs $80 a month on AWS; with PreferSameZone, assuming 1% still crosses, it costs about $1 a month. On Azure the same traffic costs nothing.
Finding cross-zone charges in the bill
On AWS, cross-zone traffic sits under the usage type DataTransfer-Regional-Bytes in the Cost and Usage Report (CUR 2.0). Outside US East (N. Virginia) it carries a region prefix, such as USE2- for Ohio or EU- for Ireland. Each GB that crossed appears twice, once on the sender's line going out and once on the receiver's line coming in.
That usage type also holds load balancer, public IP and VPC peering traffic, so group by operation too. The traffic between zones is under InterZone-In and InterZone-Out. This Athena query lists the largest lines for one month in a CUR 2.0 export that includes resource IDs:
1SELECT
2 line_item_usage_type,
3 line_item_operation,
4 line_item_resource_id,
5 SUM(line_item_usage_amount) AS usage_gb,
6 SUM(line_item_unblended_cost) AS cost_usd
7FROM cur2
8WHERE line_item_usage_type LIKE '%DataTransfer-Regional-Bytes'
9 AND line_item_usage_start_date >= TIMESTAMP '2026-09-01 00:00:00'
10 AND line_item_usage_start_date < TIMESTAMP '2026-10-01 00:00:00'
11GROUP BY 1, 2, 3
12ORDER BY cost_usd DESC
13LIMIT 50;On Google Cloud, filter the billing export in BigQuery on the inter-zone data transfer SKUs and group by project. On Azure there is no line to find.
Every row names an instance. A node that paid for crossing zones ran pods from many teams, and the bill can't say which of them sent the bytes. Splitting the line takes byte counts per connection with the real pod addresses, matched to workloads and zones at the time; how to measure cross-AZ traffic per workload compares the ways to get them. Kubeadapt measures this at each pod and prices every path, which turns the bill line back into the table above.
Cutting cross-zone traffic
Start with the few paths that carry most of the bytes. For each one, keep the call in its zone when a healthy endpoint is there, or remove a hop.
-
Route chatty Services within the zone. Set
trafficDistribution: PreferSameZoneon the Service, orPreferSameNodefor node-local caches. Topology-aware routing covers which name to use on your version and what can go wrong.yaml1apiVersion: v1 2kind: Service 3metadata: 4 name: inventory 5spec: 6 selector: 7 app: inventory 8 ports: 9 - port: 8080 10 trafficDistribution: PreferSameZone # PreferClose on Kubernetes 1.31 to 1.33 -
Put endpoints in every zone. Zone-local routing only helps where a local endpoint exists, and a topology spread constraint keeps a replica in each zone:
yaml1topologySpreadConstraints: 2 - maxSkew: 1 3 topologyKey: topology.kubernetes.io/zone 4 whenUnsatisfiable: DoNotSchedule 5 labelSelector: 6 matchLabels: 7 app: inventory -
Send load balancer traffic straight to pods. On EKS, set
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ipfor NLBs oralb.ingress.kubernetes.io/target-type: ipfor ALBs, and leave NLB cross-zone load balancing off unless you need it. -
Tell Kafka consumers their zone. Set
broker.rackon brokers,replica.selector.class=org.apache.kafka.common.replica.RackAwareReplicaSelectoron the cluster, andclient.rackon each consumer. -
Cache DNS on the node with NodeLocal DNSCache.
-
Keep egress in the zone. One NAT gateway per zone avoids crossing on the way out, and an S3 gateway endpoint removes the NAT charge for S3.
-
Use private addresses. Traffic through public IPs is billed even inside one zone on AWS and Google Cloud.
Plan for one side effect. With PreferSameZone, a busy zone sends all its calls to its own pods, and a single autoscaler may add pods in the quiet zones instead. The EKS best practices guide suggests one Deployment and autoscaler per zone for those Services. It also strongly recommends running production across several zones, so moving a cluster into one zone to save transfer cost is a trade for a design review.
FAQ
Is cross-AZ traffic charged in both directions on AWS?
Yes. AWS charges $0.01 per GB as data leaves a zone and the same again as it enters the other, and the Cost and Usage Report shows a line item for each side. A request and its response are billed separately.
Is traffic between pods in the same zone free?
Traffic between pods on one node never touches the cloud network. Traffic between nodes in the same zone over private IPs is free on AWS and Google Cloud. Traffic sent to a public or external IP is billed even inside one zone.
Does topology-aware routing remove all cross-AZ cost?
No. It keeps Service traffic in the caller's zone when that zone has a ready endpoint, which in the example above removes about a quarter of the bill. Replication, calls to a single primary and traffic to external IPs stay as they were.
Finding the workloads behind the cross-zone line
Kubeadapt's network agent measures traffic at each pod's own network interface, so every byte keeps the address of the pod that sent it. It counts the node's own traffic too, such as the kubelet and host-network pods. Network Intelligence prices each path with the published AWS or Azure rate, or your own rate card, and Explorer lists the workload pairs that cross zones, most expensive first.
Network Intelligence also tells you which Services would save money with topology-aware routing, and how much each would save per month. In the example cluster, those are the checkout and inventory Services.
Kubeadapt doesn't change your cluster; your team makes the change. From Claude Code, ask Kubeadapt MCP which Services should get PreferSameZone and what each would save (example questions), and Claude Code can write the change into your repository as a pull request you review.
After the rollout, Explorer shows whether the pair stopped crossing, and a cost spike alert on the namespace flags it if a later release brings it back. When finance asks whether the figure matches the invoice, connect the AWS Cost and Usage Report and Kubeadapt reconciles workload cost with what you were billed.
Before you enable the network agent
The network agent requires a chart version later than 1.0.8. Do not enable it with chart version 1.0.8 or earlier on a cluster that enforces network policy. The agent docs list its requirements.
Install the agent with the quick start, or book a demo to see Network Intelligence on a running cluster.
Sources
- Amazon EC2 On-Demand Pricing: Data Transfer within the same AWS Region
- AWS Price List API: AWSDataTransfer offer file (us-east-1)
- AWS Data Exports: Understanding data transfer charges
- AWS blog: Understand AWS data transfer details in depth from the Cost and Usage Report
- AWS: Data transfer price reduction for PrivateLink, Transit Gateway and Client VPN (2022)
- Amazon VPC pricing: NAT gateway
- Google Cloud: All networking pricing (VM-to-VM data transfer)
- Azure: Bandwidth pricing
- Azure Updates: Update on Inter-Availability Zone Data Transfer Pricing
- InfoQ: Azure stops charging for data transfer between availability zones
- Kubernetes: Virtual IPs and Service Proxies (traffic distribution)
- Kubernetes: Feature gates (ServiceTrafficDistribution, PreferSameTrafficDistribution)
- Kubernetes: Using NodeLocal DNSCache
- Amazon EKS Best Practices: Cost Optimization - Networking
- AWS Load Balancer Controller: Network Load Balancer
- Network Load Balancer: Cross-zone load balancing for target groups
- Apache Kafka KIP-392: Allow consumers to fetch from closest replica



