Data transfer limit in free tier.

1

I create an ec2 ubuntu instance. But when I use it and upload and download files in it (simple data transfer), app data go through regional data limit means AWS to azs, but I transfer data in open internet only not in any other regional connection, when I check the reason I found out I use elastic ip that's why every data transfer taken as regional not global out front. But my question is if I don't use elastic ip how could I get dedicated ip, and I I use elastic ip then data doesn't go out out front, but in regional. Is there any way to use elastic ip but data doesn't go through regional. Please note I really doesn't transfer data any regional service, I only received and outgoing data o open public area like googledrive, etc. So I didn't get that 100gd free data transfer instead I get charged at regional data transfer which is only 1gb limit.

Rishav
asked 7 months ago448 views
2 Answers
1

Inter-region data transfer charges are incurred not because you use Elastic IPs. Check the Data Transfer section on this page for more information. If you are charged for sending data between regions, use tcpdump or Wireshark to find where the data is transferred. Alternatively, you can use VPC Flow Logs but consider the associated pricing.

AWS
Max
answered 7 months ago
0
Accepted Answer

Instance with Elastic IP:

  1. When uploading a 1GB file to googledrive, the cost will be $0.01/GB x 1GB + $0.09 = $0.10.
  2. When downloading a 1GB file from googledrive, the cost will be $0.01/GB x 1GB = $0.01 and $0.09 is calculated toward the 100GB free tier
  3. You'll pay $0.01 for every GB transferred in each direction within the region

Instance without Elastic IP:

  1. You'll need to have a NAT Gateway in the VPC
  2. When uploading a 1GB file to googledrive, the cost will be $0.045/GB x 1GB + $0.09 = $0.135 and $0.09 is calculated toward 100GB free tier
  3. When downloading a 1GB file from googledrive, the cost will be $0.045/GB x 1GB = $0.045
  4. You don't pay anything for data transferred within the region

So if the instance is only uploading and downloading data from googledrive, it's actually cheaper by using an Elastic IP.

profile pictureAWS
EXPERT
answered 7 months ago
profile picture
EXPERT
reviewed a month ago
  • But then why my data transfer doesn't comes under that 100gb free tier, why I get charged as regional data transfer limit which is 1gb only.

  • let's breaking "uploading 1GB file to googledrive" into two parts:

    1. Your instance with Elastic IP will have to transfer the file to the IGW (Internet Gateway) which is the $0.01GB X 1GB = $0.01. The 1GB here is not counted for the 100GB Internet Out, but counted regional.
    2. The IGW will then transfer the file to googledrive which is the $0.09 x 1GB = $0.09 and this 1GB is counted toward the 100GB Internet Out.

    So if your plan is to take advantage of the 100GB free tier, you would want to remove the elastic IP from the instance and move the instance into a private subnet. You'll be paying $0.045 for each GB dowloaded and uploaded from\to googledrive.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions