Direct access to S3 data from outside EC2

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 2
Joined: Thu Jun 01, 2023 6:36 am America/New_York
Answers: 0

Direct access to S3 data from outside EC2

by lesimppa » Thu Jun 01, 2023 9:18 am America/New_York

Hi everyone,

Thanks for making the data public. It's awesome and very easy to download with the HTTP endpoint. We are building a distributed system that consumes data from LPDAAC and the HTTP endpoint is a little slow for our needs. I've been trying to access assets via S3 as shown in this notebook:, which seems not be working as I'm doing it from outside AWS. I understand that direct access must be done from within the same region, but would there be a way do it from outside, even if it's not free?

Thank you,


LP DAAC - afriesz
Subject Matter Expert
Subject Matter Expert
Posts: 59
Joined: Tue Nov 12, 2019 4:02 pm America/New_York
Answers: 2
Been thanked: 2 times

Re: Direct access to S3 data from outside EC2

by LP DAAC - afriesz » Fri Jun 02, 2023 3:22 pm America/New_York

@lesimppa ,

The notebook you refer to will only work if you are executing the notebook in AWS region us-west-2. If you are trying to access data that resides in Earthdata Cloud from a machine outside AWS, e.g. from your laptop, you have to use the HTTPS endpoint. This notebook gives a quick Python example for setting the environmental variables and reading in an HLS asset via its HTTPS URL:

Post Reply