To confirm your access to the fh-dasl-cbio
S3 bucket, follow the steps below.
đ Note: You should only be able to write and list files in this bucket.
ssh your_hutch_id@rhino
module load awscli
aws configure
# Use the credentials provided to you:
AWS Access Key ID [None]: <your access key>
AWS Secret Access Key [None]: <your secret key>
Default region name [None]: us-west-2
Default output format [None]:
# Create and upload a simple test file
echo "hello" | aws s3 cp - s3://fh-dasl-cbio/hello.txt
# List contents of the bucket to verify write access
aws s3 ls s3://fh-dasl-cbio
# This should return an error, as read access is restricted
aws s3 cp s3://fh-dasl-cbio/hello.txt hello.txt
If you can write and list files but cannot download them, your access is correctly configured as write-only.