s3 connection using s3cmd (Linux)
To connect to a bucket from the Digital Archive using an S3 client, you need:
- For IPv4-only systems:
- Server name: https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
- Port: 8483
- For IPv6-only systems:
- Server name: https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
- Port: 443
- For IP DualStack:
- Server name: https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
- Port: 443
- Access Key
- Secret Key
- Bucket Name
You can view the endpoint on the data project info page. You will get this from the admins of the corresponding data project in SeviRe to which your s3-bucket belongs.
Installation s3cmd via pip
pip install s3cmd
Configuration of s3cmd for s3 buckets
s3cmd --configure
Folgen Sie den Konfigurationsschritten:
Access Key: [Read_Acc]
Secret Key: [Read_Priv]
Default Region [US]:
us-east-1
S3 Endpoint:
digitalarchiv.s3.fds.rwth-aachen.de:9021
DNS-style bucket+hostname:port template for accessing a bucket: [bucketname XXXX-XXXXX...]
Encryption password:
Path to GPG program: [e.g. /usr/bin/gpg]
Use HTTPS protocol: Yes
HTTP Proxy server name: [empty]
HTTP Proxy server port: [empty]
Test access with supplied credentials? [Y/n]: y
Save settings? [y/N]: y
Lists od objects in bucket
s3cmd ls s3://[bucket name]
Downloading an object from bucket
s3cmd get s3://[bucket name]/[filename]