Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

290
Views
How can I determine the region for a public AWS S3 bucket?

I know I can determine the region for AWS S3 buckets I own by doing:

aws s3api get-bucket-location --bucket <my-bucket>

but how can I determine the region for a public access bucket (which clearly I do not own)?

If I try to access one of the AWS Open Data buckets like noaa-goes16:

$ aws s3api get-bucket-location --bucket noaa-goes16

I get:

An error occurred (AccessDenied) when calling the GetBucketLocation operation: Access Denied
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Yeah, you would think this would be easier to figure out, but here's the method I use:

$ curl -sI https://noaa-goes16.s3.amazonaws.com | grep bucket-region

which returns:

x-amz-bucket-region: us-east-1
over 4 years ago · Santiago Trujillo Report

0

Any objects returned from the bucket will respond with a x-amz-bucket-region header which contains the buckets region.

In addition by running a head command curl --head $BUCKET_NAME.s3.amazonaws.com against your bucket you can see the above header to identify the region your bucket is in.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!