Skip to content

EPFL-ENAC/enacit4r-cdn

Repository files navigation

ENACIT4Research CDN

Hosted on https://enacit4r-cdn.epfl.ch/

How do I upload my dataset ?

  1. install s3cmd

    • on Windows
    • on Mac OS :
      brew install s3cmd
    • on Ubuntu :
      sudo apt install s3cmd
  2. configure s3cmd

    s3cmd --configure

    Answers :

    • Access Key : documented in enacit4r KeeWeb
    • Secret Key : idem
    • Region : keep default
    • S3 Endpoint : s3.epfl.ch
    • DNS-style bucket+hostname:port template for accessing a bucket : s3.epfl.ch/%(bucket)
    • Encryption password : keep empty
    • Path to GPG program : keep default
    • Use HTTPS protocol : Yes
    • HTTP Proxy server name : keep empty
    • Test access with supplied credentials? : Yes
    • Save settings? : Yes
  3. upload your project data to S3 storage

    export BUCKET_NAME="documented in enacit-linux-sysadmins KeeWeb"
    export VERSION_NAME=$(date +%F)
    
    s3cmd put --recursive --acl-public --guess-mime-type myProjectDataOrDist s3://${BUCKET_NAME}/myProject/${VERSION_NAME}/
  4. Use it

https://enacit4r-cdn.epfl.ch/myProject/2022-05-08/path/to/my/file