Create S3 bucket and use it in Sentinel Hub requests

Step 1: Login to CREODIAS using CDSE account

In order to access the CREODIAS environment, you can use an already registered account in the Copernicus Data Space Ecosystem.

../_images/sign-in.png

You will be redirected to the login window, where you will able to use the CDSE login. From the “Identity Provider” field select “Copernicus Data Space Ecosystem” and then select “Authenticate” button to log in to CREODIAS using a CDSE account:

../_images/federation.png

Step 2: Register new organization

After logging in, you will be redirected to the CREODIAS website. To access the CREODIAS environment, you must register a new organization.

  • Select “My Account” button:

../_images/my-account.png
  • Select “My Profile” tile:

../_images/my-profile.png

You will be redirected to the management panel, where you will be able to register new organization using the following guide:

Adding and editing Organization

Step 3: Activate the cloud environment

If you are a new CREODIAS user, you can request for 250 free credits:

https://creodias.eu/pricing/free-trial-terms/

that will allow you to activate your cloud environment. To do this, please refer to this guide by activating the environment on WAW3-1:

Accounts and Projects Management

If you are interested in a commercial offer, follow this article and contact with our CREODIAS sales team:

Wallets and Contracts Management

Contact with Sales Department:

https://creodias.eu/contact/

Step 4: Access OpenStack environment

To access your activated OpenStack environment, go to this link:

https://horizon.cloudferro.com

From the drop-down menu Authenticate using select CREODIAS, and from Region choose WAW3-1.

../_images/horizon.png

After logging in to Openstack Horizon, go to the “Application Credentials” tab and then create a new Credential.

../_images/s3_bucket_1.png

Enter a name and select Role member.

../_images/s3_bucket_2.png

The credentials will be generated and you will be able to download the RCFile which will not require a password.

../_images/s3_bucket_3.png

Step 5: Create bucket

Follow the guide below:

How to use Object Storage on CREODIAS

to create a new bucket.

Step 6: Generate EC2 credentials

Use this guide:

How to generate and manage EC2 credentials on CREODIAS

to generate EC2 credentials, so you can access your buckets using, for example, the s3cmd tool.

Step 7: Configure s3cmd

The following is an example of a configuration s3cmd file:

[default]
access_key = <access_key>
host_base = s3.waw3-1.cloudferro.com
host_bucket = s3.waw3-1.cloudferro.com
human_readable_sizes = False
secret_key = <secret_key>
use_https = true
check_ssl_certificate = true

Step 7: Set bucket policy

Guides below will show you how to set the policy on newly created buckets to use the following functionalities:

  • Batch Processing:

https://documentation.dataspace.copernicus.eu/APIs/SentinelHub/Batch.html#bucket-settings

  • Batch Statistical:

https://documentation.dataspace.copernicus.eu/APIs/SentinelHub/BatchStatistical.html#bucket-settings

  • BYOC APIs:

https://documentation.dataspace.copernicus.eu/APIs/SentinelHub/Byoc.html#bucket-settings