Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the S3 "US Standard" region the same as "us-east-1" in EC2?

I am planning on running a script located on an EC2 instance in us-east-1d.

The script basically pulls in images from a few different places and will throw them into an S3 bucket in the US-Standard Region.

Since there is no way to upload directly into an s3 bucket (by sending an API request that causes S3 to fetch a file from a remote URL as written about here and I don't think this has changed) I would like to make sure that the each image I save as temp file on my ec2 will not result in additional bandwidth charges when written to S3 (ie. leaves the Amazon data center). Will a us-east-1d EC2 instance uploading to a US-Standard S3 bucket will be communicating within the same AWS region?

Any insight into this would be greatly appreciated as it will be terabytes of data and I'm on a shoestring bucket I'd like to know before proceeding.

like image 994
brendosthoughts Avatar asked Jan 08 '14 23:01

brendosthoughts


People also ask

Is S3 in AWS region specific?

Amazon S3 creates buckets in a Region that you specify. To optimize latency, minimize costs, or address regulatory requirements, choose any AWS Region that is geographically close to you.

Can EC2 access S3 in different region?

Clients such as public EC2 instances, EC2 instances using Internet Gateways (IGWs), and on-premise that need to connect to and accelerate requests to S3, can simplify applications and network architecture with a S3 Multi-Region Access Point.

Are EC2 instances region specific?

Amazon EC2 is hosted in multiple locations world-wide. These locations are composed of AWS Regions, Availability Zones, Local Zones, AWS Outposts, and Wavelength Zones. Each Region is a separate geographic area. Availability Zones are multiple, isolated locations within each Region.

What is default region for S3 bucket?

S3 buckets are hosted in different AWS regions, the default being "US-East".


2 Answers

"US Standard" means "us-east-1".

According to S3 Pricing FAQ

There is no Data Transfer charge for data transferred between Amazon EC2 and Amazon S3 within the same Region or for data transferred between the Amazon EC2 Northern Virginia Region and the Amazon S3 US Standard Region.

This will mean that if your instance is in any of the us-east-1 AZs and your bucket is in the US Standard region, any movement of data between the 2 should cost nothing.

Also, depending on your use case, you may want to look at the new AWS SDK for JavaScript in the Browser as it may offer the direct to S3 uploads you're looking for.

like image 167
Bob Kinney Avatar answered Sep 19 '22 12:09

Bob Kinney


US standard includes us-east and part of us-west (oregon). It's a legacy construct that only applies for S3

like image 37
rICh Avatar answered Sep 20 '22 12:09

rICh