First you will neet to get an account. You will have to choose either a EUMETSAT or ECMWF tenancy (drawbacks/benefits between the two?). You will receive S3 credentials (I, Leif, did anyway).
lcd@wrk1:/dmidata/projects/cloudphysics/danra/data$ s3cmd mb s3://danra
Bucket 's3://danra/' created
lcd@wrk1:/dmidata/projects/cloudphysics/danra/data$ s3cmd info s3://danra
s3://danra/ (bucket):
Location: default
Payer: BucketOwner
Ownership: none
Versioning:none
Expiration rule: none
Block Public Access: none
Policy: none
CORS: none
ACL: *anon*: READ
ACL: cci1-ewcloud-ecmwf-ml-pilot: FULL_CONTROL
URL: http://object-store.os-api.cci1.ecmwf.int/danra/
-
Log in to the Morpheus webportal using the tenancy you have been given (ECMWF or EUMETSAT)
-
Create a bucket in the S3 object store of the tenancy you have been given.
To both of the commands below you can add the flag --acl-public
to make the files publically readable.
Single file:
(base) lcd@wrk1:/dmidata/projects/cloudphysics/danra/data$ s3cmd put CHANGELOG.md s3://danra/
upload: 'CHANGELOG.md' -> 's3://danra/CHANGELOG.md' [1 of 1]
1060 of 1060 100% in 0s 12.35 KB/s done
Directory:
(base) lcd@wrk1:/dmidata/projects/cloudphysics/danra/data$ s3cmd sync v0.2.2/ s3://danra/v0.2.2/ --debug
Note: trailing slashes are required, s3cmd does at lot of checks before uploading which is why I include --debug
to see what is happening