Replies: 3 comments
-
When accessing NASA S3 hosted data in-region via HTTPS links, you're still actually just using S3! It is done via https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html automatically for you. There are a couple of automatic steps in between that add latency, but it's not a generic HTTP server sending things to you - it's the exact same serving infrastructure that S3 uses, just with a different authentication mechanism. So the question really is 'what performance benefit do we get from using direct S3 authentication vs the presigned URLs given to us by earthdata redirects?'. That could be settled by some benchmarking. My intuition is that we should tell users to use the HTTPS url by default, only switching to s3 in very specific (to be determined) cases. The advantages are:
|
Beta Was this translation helpful? Give feedback.
-
I do agree that hard data in terms of a quick benchmark would be necessary to move forward here. |
Beta Was this translation helpful? Give feedback.
-
At least in pangeo / xarray land, one big problem was that xarray / fsspec did not work with |
Beta Was this translation helpful? Give feedback.
-
@ashiklom Brought up such a great question during the ESIP Earthdata Cloud session that I’m paraphrasing, but essentially: Why not simply work with HTTPS links even if you’re in-region, instead of switching over to s3 which comes with so many additional challenges? Some feedback from @bilts:
But I’m left wondering what our role is here as far as teaching or promoting this option. I’d love to know more about the pros/cons that Patrick listed off (I’m sure there are many other considerations), as Alexey pointed out, if we can identify where the limitations are (i.e. in the tooling or system itself).
Some ideas:
From @briannapagan:
@ashiklom:
See comment in
earthaccess
issue: nsidc/earthaccess#188 (comment)Comment on #188 Document why signed S3 URLs might be giving 400s when called from inside us-west-2
@betolink :
This could be a topic for a future hackday. Further suggestions from @ScienceCat18 :
Beta Was this translation helpful? Give feedback.
All reactions