# Egress fees

> What a cloud provider charges you for data leaving its network.

- Level: Intermediate
- Topics: Cloud, Networks
- URL: https://tidbit.legios.com.ar/egress-fees/
- In Spanish: [Costos de egreso](https://tidbit.legios.com.ar/es/egress-fees/)

**Egress fees** are the charges for data that goes out of a cloud provider's network: to users on the internet, to another cloud, or back to your own office. Data coming in, called **ingress**, is usually free. So uploading a terabyte of videos to cloud storage costs nothing to transfer, but serving those videos to viewers is billed for every gigabyte that leaves.

On AWS, data sent out to the internet is priced per gigabyte, with lower rates at higher volumes, and AWS gives 100 GB a month free across its services. Traffic between regions, and in many cases between availability zones in the same region, has its own prices too. For a video platform, a download site or an API that returns large files, egress can end up bigger than the bill for the servers themselves.

Egress fees matter beyond the invoice because they make leaving expensive: moving years of data to another provider can cost a lot just in transfer. Critics see them as a source of vendor lock-in, and regulators have noticed; the EU Data Act requires providers to phase out switching charges. AWS, Google Cloud and Microsoft Azure have all announced free egress for customers who move all their data out. Common ways to cut egress are a CDN, compression, and keeping chatty services in the same region.

## An analogy

A parking garage that lets you drive in for free but charges at the exit gate, and charges more the bigger your car. Putting things in is easy; getting them out is where you pay.

## Keep in mind

- Charged per gigabyte for data leaving the cloud; incoming data is usually free.
- Traffic between regions or zones often has its own price.
- Can exceed compute costs for apps that serve a lot of data.
- Makes switching providers costly, so regulators are pushing back.

## Go deeper

- [Data transfer pricing, in Amazon EC2 On-Demand pricing](https://aws.amazon.com/ec2/pricing/on-demand/)
- [Free data transfer out when moving out of AWS (AWS blog)](https://aws.amazon.com/blogs/aws/free-data-transfer-out-to-internet-when-moving-out-of-aws/)
- [The EU Data Act (European Commission)](https://digital-strategy.ec.europa.eu/en/policies/data-act)

## Related terms

- [Cloud computing](https://tidbit.legios.com.ar/cloud-computing/): Renting computers over the internet instead of buying your own.
- [Internet](https://tidbit.legios.com.ar/internet/): A worldwide network of networks that lets any connected device reach any other.
- [Bit and byte](https://tidbit.legios.com.ar/bit-and-byte/): The smallest unit of digital information, and the group of eight that computers count in.
- [Regions and Availability Zones](https://tidbit.legios.com.ar/regions-and-availability-zones/): Where AWS physically lives: cities worldwide, each split into separate data centers.
- [API](https://tidbit.legios.com.ar/api/): The menu of things one program lets another program ask for.
- [Server](https://tidbit.legios.com.ar/server/): A computer whose job is to answer requests from other computers, all day, every day.
- [Vendor lock-in](https://tidbit.legios.com.ar/vendor-lock-in/): When leaving a provider would cost so much that you are stuck with it.
- [Google Cloud](https://tidbit.legios.com.ar/google-cloud/): Google's cloud business: computing, storage, data and AI services rented by the hour.
