Pre-requisites
EWC S3 endpoint URL is: https://s3.waw3-1.cloudferro.com
For private buckets you need the access keys to your S3 bucket ready. Typically you'll find your access key and secret key in Morpheus under Tools -> Cypher.
CLI libraries
Some of the CLI libraries that can be used to access s3 buckets are described below:
rclone
it works for public and private buckets after configuration
1. Run rclone config
and follow the interactive configuration for a new remote
Then insert n and follow the instructions:
name
: s3
storage option
: 5
s3 provider
: 22
env_auth
: leave default
access_key_id
: your access key
secret_key_id
: your secret key
region
: leave default
endpoint
: s3 bucket endpint URL https://s3.waw3-1.cloudferro.com
location_constraint
: leave default
acl
: select the one that best fits your use case
Finalize it and save
2. Run the following command with your 'bucket_name':
rclone ls s3://bucket_name/
s3cmd
It works only for private buckets
1. Run s3cmd --
configure
and follow the interactive configuration for a new remote
2. Run the following command with your 'bucket_name'
s3cmd ls s3://bucket_name/
awscli
Access private bucket
1. Run
and follow the interactive configuration for a new remote to setup the access_key and the secret_key to be used by the CLI.aws configure
2. Run the following command with your 'bucket_name' for a private bucket:
aws s3 ls --endpoint-url s3_endpoint_url s3://bucket_name/
Access public bucket
Run the following command with your 'bucket_name' for a public bucket:
aws s3 ls --endpoint-url s3_endpoint_url s3://bucket_name/ --no-sign-request