Object Storage Swift - Getting started
Find out how to create and manage your Swift Object Storage containers using the OVHcloud Control Panel, Swift S3 API, python-swiftclient, or the OVHcloud CLI
Objective
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)
This guide explains how to create and manage your Swift Object Storage containers.
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
OVHcloud Control Panel Access
- Direct link:
- 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 availability zone type (3-AZ Region, 1-AZ Region, or Local Zone), then select a geographic area.
- Container type: Choose the access type Static hosting, Private, or Public.
If you want to link your container to a domain name, the container name must not contain . or _, and must not use capital letters. See: Linking a container to a domain name.
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 ... button on the container line, then select Delete and confirm.
Go further
For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analyzed by our experts.
Join our community of users.
1: S3 is a trademark of Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.