Skip to main content

To all AWS Public Datasets users of S2 L1C data. This thread will be used to communicate changes happening to the S2 bucket. As we expect to gather some feedback from power users in this thread, we might change the approach a bit during the discussion in ongoing. The summarized and harmonized description will be available on this FAQ link.


End of June we will set S2 L1C bucket as “Requester pays” similarly as it is for S2 L2A and S1 GRD. This move is required to allow further increase of the shared data - for continuation of Sentinel-2 L1C coverage, to accommodate global rollout of Sentinel-2 L2A and to host European and then global Sentinel-2 analysis ready mosaics.


How might this affect your workflow:


  1. If you are using the data within AWS EU (Frankfurt) region using S3 protocol, there will be practically no change. There will be some very small additional charge incurred to your account, related to “GET, SELECT and all other Requests”, currently at 0.43$ per 1 million requests.

  2. If you are using the data within any other AWS region using S3 protocol, there will be a small data transfer charge incurred to your account - “Data transfer OUT from Amazon EC2 To Another AWS region”, currently at 0.02 $ per GB. You can avoid this by setting up part (or all) of your processing to AWS EU (Frankfurt) region.

  3. If you are using the data within AWS using HTTP protocol, you will need to sign requests (more info here). You will find examples on how to do it here. We will also upgrade our sentinelhub-py python libraries to work with S3 data soon (by mid of May latest) to make it easier for you.

  4. If you are using data outside of AWS, you should consider setting up AWS instance within EU-1 region. There is free tier available and you might be applicable for AWS research credits. Alternatively see this thread on how it is possible to access data directly over Internet. Note that there will be a small charge for this as well “Data transfer OUT from Amazon EC2 To Internet”, currently at 0.05-0.09 $ per GB

Note that whichever category you fall into above, you will need to make changes to your code to continue to access Sentinel-2 data on AWS. In most cases, it’s as simple as adding a flag to your object request.


As there are several web applications out there making use of Sentinel meta-data, we have decided to make some of these data available over HTTP permanently:


  1. L1C and L2A tiles

  1. L1C and L2A products

In case you believe we should make some other meta-data available in a similar manner, describe the need in the thread bellow.


We understand that this change might be an inconvenience to some users. However, the goal of this experiment is to discover how best to stage data for analysis and processing in the cloud. When the Sentinel Public Dataset was established two years ago, getting hold of Sentinel imagery was quite a challenge. It was distributed in unwieldy chunks and Copernicus SciHub had trouble managing the demand. And there was no other place to get it. At that time, we made a decision to make the data available as easily as possible and as openly as possible. Things are changing now, with the collaborative ground segment running, four DIAS-es coming in a few months, and data generally being more easily accessible. So we believe the time is now right to go back to original purpose – experimenting with how best to stage data for analysis in the cloud.


Best Regards,

Sinergise (Sentinel custodian at AWS Public Datasets)

Thanks for the information. Just to make sure I’m following correctly on scenario #4, after the switch to requester pays, downloading from the S2 L1C S3 bucket to locations outside of AWS entirely would incur transfer out charges at the rate of $0.05-0.09 per GB? Will there be any changes for the L1C SNS Topic for scene notifications or will that operate the same?


Thanks


You are right. The main cost is related to data transfer. SNS topics will operate in the same way and there are no charges related to that as far as I know.


Thanks for the update on the provision of the Sentinel-2 public datasets and all the work you guys put in as custodians.

 


Update about sentinelhub Python package:

Since the new version 2.0.1 users can choose to download Sentinel-2 L1C data from S3 instead of http. Instructions are written in documentation. Basically there is now an option to switch to S3 by setting:

$ sentinelhub.config --use_s3_l1c_bucket true

in command line.

Best regards,
Sinergise


 
:

S2 L1C bucket as “Requester pays”

Hi, just checking if the S2 L1C bucket been has been switched to Requester pays yet? Thanks!


No, not yet. We want to first ensure proper “proxy” to the meta-data described above. Planned to happen in a couple of weeks.

We will give advanced notice, at least 2 weeks, here, once the date is fixed.


The date when Requester Pays is configured for Sentinel-2 L1C is set to 7th of August 2018.


For those requiring access to meta-data, this post describes how to get it over internet after above mentioned date.


Thanks for update 


This change has now been implemented.


I’m not sure if the data is available on s3 bucket. I’ve been trying to use “aws s3 ls” using this command “aws s3 ls x-amz-request-payer=s3://sentinel-s2-l1c/” I get an error saying

A client error (InvalidBucketName) occurred when calling the ListObjects operation: The specified bucket is not valid.


Hi,


once you set up your AWS credentials this is how you can access the bucket:


aws s3 ls s3://sentinel-s2-l1c/ --request-payer

Good morning, I would like to know how I do to download S2 images, after this change I expect to return.


Hi, please check the first post in this thread, it describes how you can access the data stored on AWS.


Good morning, I’m from Brazil, my resource for downloading these images is over the internet. So I would like to know what the steps are that I should take. I thank the attention.


See point 4 from the first post.


Hi,
I don’t understand how I can simply have the access to the common bucket s3, for example, one like this s3://sentinel-s2-l1c/tiles/33/S/WC/2018/7/12/0

I download from Italy, so in the EU region (I don’t know if AWS EU or EU-1 region, if there are differences), and before the Requester Pays changes, I had access directly to the s3 web path and I got the download via Matlab script.
Could you please give me some advices about which of the different point (1,2,3,4) I have to follow?
Thanks a lot.


Hi, it is not clear from your question, whether you are doing this from within AWS (e.g. using AWS EC3 virtual machine) or from your own computer. If the latter, this falls under point 4. as it is “outside of the region”.
If you are doing it from AWS virtual machine, probably point 3. applies.


Hi,
No, the download it’s from my own computer or from the computer of the University where I work, through a personal and simple processing script . Anyway, is not from an AWS application or machine. So, I think my situation falls under outside the region.
Thank you!


Hello, but I’m confused when creating the account and start enjoying the new method, because before I used https://search.remotepixel.ca to download the images in .jp2, I’d like to know how to proceed because I’m from Brazil and I’m confused. Thank you for your attention and I apologize for the inconvenience.


It is not possible any more to download data directly from browser as you might have been used to. Now you need to do it using signed requests as there are traffic costs attached to it (you will have to pay for it).


I understand … I would like support because I’m having trouble choosing the right plan and using the S2 files. If you have a tutoring, I appreciate it.


Hi,, I’ll send you a message directly with some more info.


@edcc the instructions at How to access S-2 meta-data in AWS after bucket goes to Requester pays? are the best resource but if you’re still having issues, feel free to send me a direct message on here and I’ll try to help.


Hello,


I was using this


gdal_translate --config CPL_TMPDIR temp -projwin_srs “EPSG:4326” -projwin 75.576740 31.138820 75.578092 31.137444 /vsicurl/http://sentinel-s2-l1c.s3-website.eu-central-1.amazonaws.com/tiles/43/R/EQ/2017/7/7/0/B01.jp2 /Downloads


command when sentinel data was not requester pay


But now it is giving me error


ERROR 11: HTTP response code: 403 - Failed writing header


Can anyone help to use this command with requester pay


thank you


Reply