Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adapted to cci

...

  1. Create the configuration file if it does not exist:

    No Format
    touch ~/.s3cfg


  2. Edit the file and set up at least the following parameters.

    ECMWF endpoint: host_base = https://object-store.os-api.cci1.ecmwf.int
    ECMWF pilot endpoint: host_base = storage.ecmwf.europeanweather.cloud 

    Warning

    From ECMWF ATOS HPCF , use the following slightly different host_base:

      host_base = storage-ecmwf.europeanweather.cloud


    EUMETSAT endpoint: host_base = s3.waw3-1.cloudferro.com

  3. Fill in the <youraccesskey> and <yoursecretkey> that will be given to you by the provider

    No Format
    host_base = <EUM or ECMWF endpoint>
    host_bucket = 
    access_key = <youraccesskey>
    secret_key = <yoursecretkey>
    use_https = True
    
    # Needed for EUMETSAT, as the provider currently supplies a "CloudFerro" SSL certificate. Skip if ECMWF.
    check_ssl_certificate = False


...

No Format
sudo mkdir /mnt/yourbucket
echo "s3fs#yourbucket /mnt/yourbucket fuse _netdev,allow_other,nodev,nosuid,uid=$(id -u),gid=$(id -g),use_path_request_style,url=https://storage.<provider>.europeanweather.cloud<s3_endpoint> 0 0" | sudo tee -a /etc/fstab
sudo mount -a

Again, you must replace <provider> <s3_endpoint> by the ecmwf or eumetsat, and relevant endpoint at ECMWF or EUMETSAT, and you may customise other mount options if you wish to do so. At this point you should have your bucket mounted and ready to use.

...