Object Storage - Use Object Storage with S3cmd
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.
NOTE: OVHcloud provides services for which you are responsible for their configuration and management. You are therefore responsible for their proper functioning.
This tutorial is designed to help you as much as possible with common tasks. If you are having difficulty performing these actions, please contact a specialized service provider. OVHcloud cannot provide you with technical support in this regard.
Requirements
- A bucket (see our Getting Started with Object Storage guide)
- A user with the required access rights on the container
- Your Object Storage credentials (access_key and secret_access_key)
- S3cmd installed
To identify the endpoint corresponding to your storage class, please refer to our Endpoints and Object Storage Geoavailability guide.
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
Browse all the Object Storage (S3™-compatible) guides.
Browse the rest of the OVHcloud US documentation for guides on our other products and services.
Learn more about Object Storage on the OVHcloud US website.
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 a custom analysis of your project.
*S3 is a trademark filed by Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.