Sub topic 12
How Region and AZ choices change your bill
This chapter assumes you know what Regions and Availability Zones (AZs) are, and that you can run AWS CLI commands. It covers the three ways placement affects cost: the price of the resource, the price of moving data, and the price of running duplicate capacity.
Prices differ by Region
AWS sets prices per Region. The same instance type, storage class, or managed database can cost noticeably more in one Region than in another. In general, US Regions such as us-east-1 and us-east-2 are among the cheapest. Regions in South America and some in Asia-Pacific tend to cost more. Check the pricing page for your service and Region before you commit, because exact rates change.
A cheaper Region is not always the right one. Moving a workload away from its users adds latency. Compliance rules may also fix the Region for you. Treat price as one factor among several.
Data transfer is the hidden cost
Most surprises come from data transfer, not compute. These are the main patterns:
| Traffic path | Typical billing |
|---|---|
| Internet into AWS | Free |
| Within one AZ over private IPs | Free |
| Between AZs in one Region | Charged per GB in each direction |
| Between Regions | Charged per GB leaving the source Region |
| AWS out to the internet | Charged per GB, with a small monthly free allowance |
Cross-AZ charges look small per GB, but they apply on every request between tiers. A chatty application that spreads its web tier and database across AZs can generate a steady charge that you will not notice until the invoice arrives.
Multi-AZ costs more than single-AZ
Spreading a workload across AZs improves availability, and it also raises cost in three ways:
- You run more instances, or a standby, so compute and storage double in some designs.
- Replication and load balancing between AZs create cross-AZ data transfer.
- Per-AZ components multiply. A NAT gateway has an hourly charge plus a per-GB processing charge, and the usual high-availability pattern is one per AZ.
Public IPv4 addresses are also billed hourly, whether or not they are attached to a running resource you are using. Ten idle addresses still cost money.
Finding where the money goes
Cost Explorer can group your spend by usage type. Data transfer usage types include DataTransfer in the name, and inter-AZ traffic appears as DataTransfer-Regional-Bytes. This command lists those lines for November so far:
aws ce get-cost-and-usage \
--region us-east-1 \
--time-period Start=2026-11-01,End=2026-11-26 \
--granularity MONTHLY \
--metrics UnblendedCost \
--group-by Type=DIMENSION,Key=USAGE_TYPE \
--query "ResultsByTime[].Groups[?contains(Keys[0], 'DataTransfer')].[Keys[0], Metrics.UnblendedCost.Amount]" \
--output textEach usage type name starts with a Region prefix such as USE1- for us-east-1. That lets you see which Region produced the cost.
Free Tier and Region
Free Tier allowances usually apply to your account as a whole, not per Region. Running a small instance in two Regions at once draws from the same monthly hours. Resources forgotten in a Region you rarely open keep accruing charges, so check Regions you have used.
A practical checklist
- Pick the Region on latency, compliance, and service availability first, then compare price among the remaining options.
- Keep tightly coupled tiers in the same AZ unless availability demands otherwise.
- Use private IPs and VPC endpoints to avoid avoidable transfer and NAT charges.
- Review Cost Explorer by usage type after the first week of any new architecture.
Exercise
A web tier in us-east-1a calls a database in us-east-1b about 2 TB per month over private IPs. Which kind of charge does this create, and how could you remove it without giving up the database's availability?
Show answer
It creates inter-AZ data transfer charges, billed per GB in each direction within the Region. To reduce it, make the web servers prefer a database endpoint in their own AZ, for example by reading from a replica in the same AZ. Keep the standby in the other AZ for failover, so availability is preserved while most traffic stays free.