RhodiumGroup / docker_images

Docker images for Rhodium's jupyterlab deployments
2 stars 2 forks source link

Add s3 creds? #107

Open delgadom opened 4 years ago

delgadom commented 4 years ago

If we want, we can add the ability to automatically set up s3 creds on the notebook. Or you can run the following every time on boot, which is fine, and we could add this to docs somehow?

Install s3 cli

pip install --upgrade awscli s3transfer

Set up credentials

To set up credentials manually, run this once ever

aws configure

This should now authenticate your s3 tools whenever you install them

See the CLI docs on use, e.g. with AWS S3

Connect to s3

The s3 commands work very much like gsutil:

# list a "directory" on s3
aws s3 ls s3://bucket-name/path

# AWS rsync equivalent
aws s3 sync . s3://my-bucket/path