BLOG

AWS Data Transfer IN Is Not Always Free

3e954 1em8cjyfejitmyvl41y xqq

Table of contents

How much do you pay for ingress data transfer to your instance? itโ€™s free, right? Well, not exactlyโ€ฆ

3e954 1em8cjyfejitmyvl41y xqq
Apparently,

In AWS EC2 on-demand pricing page, you can find AWS Data transfer pricing, when you look for Data Transfer into Amazon EC2 From Internet, the price is $0.00:

when you scroll down a bit more, you will find this section:

a5bdd 1j3c8a0lmxbg6hjgaq d w

I wasnโ€™t sure about this, do you pay when you download from the same region? I read this section a few times and I was confused, so I decided to conduct a test:

I provisioned 2 instances in the London region (eu-west-2), on 2 different AWS accounts, one instance in zone euw2-az3, and another one in zone euw2-az2.

Then, I downloaded a 5Gb file from an instance in one account to an instance in the other account using a public IP. After 24 hours, I entered the billing dashboard in the account that downloaded the file:

e3f22 1aa ii4tu2bdeyjeicf2zta

Surprisingly, you actually pay $0.01/Gb for data transfer IN when you download from EC2 IP in the same region.

I was also curious, will I be charged the same if the traffic is in the same availability zone? I ran another test in the Stockholm region (eu-north-1), both of the instances are in the eun1-az1 zone and the result was the same.

AWS Cost and Usage Report (CUR):

I used AWS Cost and Usage report while I was working on this blog post, and I couldnโ€™t find any information in AWS documentation about this, so Iโ€™m writing this down here for future searches:

dc083 1eyoncpcmcue lxykwm04xg

If you search for data transfer IN in AWS CUR, the UsageType is โ€œDataTransfer-Regional-Bytesโ€, Operation is โ€œPublicIP-Inโ€ and ItemDescription is โ€œUSD 0.01 per GB for DataTransfer-Regional-Bytesโ€ (pricing varies from one region to another).

P.Sโ€Šโ€”โ€ŠCorey Quinn wrote in his blog about similar unclear pricing issues with data transfer between availability zones.

Schedule a call with our team

You will receive a calendar invite to the email address provided below for a 15-minute call with one of our team members to discuss your needs.

You will be presented with date and time options on the next step