Skip to content

Swift

1. Creating new bucket/container S3 o with name demo-container in OVHcloud manager

  1. Use Standard Object Storage - Swift API and type public container creation

2. Uploading file

  1. Create file file.txt with content hello world in directory roadshow-workspace
  2. Sending new file to newly created directory send file
  3. Checking with web browser if the file is created.

Note

File will be reachable under: <endpoint>/file.txt

endpoint

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

  1. Downloading and installing MinIO client: https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc
  2. Creating new S3 user in OVHcloud manager
  3. Configuring minio client for Object Storage access.
    mc alias set demo <endpoint> <accessKey> <secretKey>
    
  4. Listing buckets
    mc ls demo
    
  5. Listing objects from container/bucket
    mc ls demo/demo-container
    
  6. Downloading object from bucket
    mc cp demo/demo-container/file.txt ~/
    
    cat ~/file.txt