Costs for downloading a file from S3 to EC2 using Presigned URL within same region

Viewed 508

I have an EC2 instance that needs to download a file from S3 via a presigned download url. Both instance and S3 bucket are in the same region (and account) and the EC2 instance is also accessing the internet via NAT Gateway. Am I correct in my assumption, that the traffic from S3 to EC2 does not count as "within the same region" and it actually goes through the internet?

And are the S3 outbound traffic costs (0,09$/GB) in addition to the general outbound costs of 0,15$/GB? Any other traffic-related costs I am missing?

Thanks for any help!

1 Answers

One of the exceptions to S3 bandwidth charges is to an EC2 instance in the same region. The signed URL is just an authentication mechanism that doesn’t change the request source.

From: https://aws.amazon.com/s3/pricing/

Data transferred out to an Amazon Elastic Compute Cloud (Amazon EC2) instance, when the instance is in the same AWS Region as the S3 bucket (including to a different account in the same AWS region).

Related