Object Storage - Utilizza Object Storage con S3cmd (EN)
Objective
S3cmd is a free command line tool and client for managing data in storage spaces that use the Amazon S3 protocol, such as Amazon S3 Object Storage, Google Cloud Storage or DreamHost DreamObjects.
This guide explains how to configure S3cmd to manage your buckets and objects.
OVHcloud provides services which you are responsible for with regard to their configuration and management. You are therefore responsible for ensuring they function correctly.
This guide is designed to assist you in common tasks as much as possible. If you encounter any difficulties performing these actions, please contact a specialist service provider and/or discuss the issue with our community on https://community.ovh.com/en/. OVHcloud cannot provide you with technical support in this regard.
Requirements
- A bucket
- A user with the required access rights on the bucket
- Your Object Storage credentials (access_key and secret_access_key).
See our Getting started with Object Storage guide.
In order to identify your endpoint corresponding to your storage class, please refer to this guide: Object Storage - Endpoints and Object Storage geoavailability.
Instructions
To configure s3cmd, run the following command:
S3cmd is now ready to be used.
Command examples
List all buckets:
Create a new bucket:
List the contents of a bucket:
Synchronise /home/user/documents to a bucket
Copy a file /home/user/file.txt into a bucket:
Download a file file.txt from a bucket:
You will find a detailed documentation of the possible actions on the official S3cmd documentation.
Go further
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.
Join our community of users.