Many teams are surprised when data transfer, not servers, becomes the biggest line on their cloud bill. Understanding cloud egress costs helps you choose the right hosting and design apps that do not leak money with every download.
Before you start
- Know your traffic: monthly outbound GB, peak bandwidth and where users are. See bandwidth vs port speed.
Types of data transfer
| Traffic | Typical billing |
|---|---|
| Ingress (into the cloud) | Usually free |
| Egress to the internet | Charged per GB on many hyperscale clouds, tiered by volume and region |
| Between availability zones or regions | Often charged, even inside one provider |
| Within one zone over private IPs | Often free |
| CDN to users | Charged by the CDN, sometimes cheaper than origin egress |
Exact prices vary widely by provider and region; always check current price sheets.
How VPS bandwidth differs
Many VPS and dedicated server providers include a monthly transfer allowance (for example several TB) or unmetered traffic at a fixed port speed. Overage, if any, is charged per TB or the port is throttled. For download-heavy sites this can be far cheaper than per-GB egress. Check the fair-use terms.
Where egress hides
- Serving large media, software downloads or backups to users.
- Backups and replication to another region or provider.
- Microservices chatting across zones.
- Logs and metrics shipped to an external service.
- Moving data out when you migrate away (an exit cost).
Ways to reduce egress costs
- Put a CDN in front so repeated requests are served from cache; see what is a CDN.
- Compress and optimise: Brotli/gzip, modern image formats, smaller JavaScript bundles.
- Keep chatty services in one zone and use private networking.
- Pick storage with low or zero egress fees for public files; see object storage.
- Back up incrementally instead of full copies every time.
- Set billing alerts so spikes are noticed early.
Frequently asked questions
Why is ingress free but egress not?
Providers encourage bringing data in, and outbound transit is where their network costs and lock-in incentives lie.
Does shared hosting charge for bandwidth?
Plans usually include an allowance; check your plan details.
Is unmetered really unlimited?
It means no per-GB charge at a given port speed, usually under a fair-use policy.
