Swift
1. Creating new bucket/container S3 o with name demo-container in OVHcloud manager
- Use Standard Object Storage - Swift API and type public
2. Uploading file
- Create file file.txt with content
hello world
in directory roadshow-workspace - Sending new file to newly created directory
- Checking with web browser if the file is created.
Note
File will be reachable under: <endpoint>/file.txt
3. Downloading file
We use the same address to download file to the instance.
curl <endpoint>/file.txt > ~/file.txt
cat ~/file.txt
4. Connecting to bucket with minio
- Downloading and installing MinIO client: https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc
- Creating new S3 user in OVHcloud manager
- Configuring minio client for Object Storage access.
mc alias set demo <endpoint> <accessKey> <secretKey>
- Listing buckets
mc ls demo
- Listing objects from container/bucket
mc ls demo/demo-container
- Downloading object from bucket
mc cp demo/demo-container/file.txt ~/
cat ~/file.txt