Object Storage Swift - Getting started
The Object Storage Swift solution for Public Cloud offers unlimited storage with simple billing tailored to your needs. Containers can be configured for different use cases:
- Static hosting (static website)
- Private hosting (e.g. personal data storage)
- Public hosting (publicly accessible content)
- Cold storage (archiving)
Requirements
-
A Public Cloud project in your OVHcloud account
-
Depending on the tool you plan to use:
- Swift S31 API: An environment prepared for the OpenStack API with
python-openstackclientandawscliinstalled - Swift client: An environment prepared for the OpenStack API with
python-swiftclientinstalled - OVHcloud CLI: The OVHcloud CLI installed and configured
- Swift S31 API: An environment prepared for the OpenStack API with
OVHcloud Control Panel Access
- Direct link: Public Cloud Projects
- Navigation path:
Public Cloud> Select your project
Instructions
Preparation
Log in to your OVHcloud Control Panel and open Object Storage in the left-hand menu under Storage & backup.
Create a container
When using the Swift S3 API, bucket names must follow these rules:
- Between 3 and 63 characters long
- Lowercase letters, numbers, periods, and dashes only
- Must start with a lowercase letter or number
- No underscores, no consecutive periods, no dashes adjacent to periods
- Not formatted as an IP address (e.g.
198.51.100.24)
Click Create an object container.
Fill in the creation form:
- Container name: Enter a name for your container.
- Container type: Select
Swift API. - Location: Choose an available location.
- Container type: Choose the access type Static hosting, Private, or Public.
Review the summary panel, then click Create.
List your containers
Navigate to Object Storage in the left-hand menu. Your containers are listed under the My containers tab.
Upload objects
Click on the name of your container, then click Add objects in the Objects tab.
Select the file you want to upload and click Import.
List objects in a container
Click on the name of your container to view its objects in the Objects tab.
Download objects
Click the download icon on the object line.
Delete objects and containers
Delete an object: Click the delete icon (trash can) on the object line and confirm.
Delete a container: Click the more options ... button on the container line, then select Delete and confirm.
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.