Object Storage Swift - Getting started

Ver como Markdown

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

Depending on the tool you plan to use:


OVHcloud Control Panel Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project

Instructions

Preparation

OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

Log in to your OVHcloud Control Panel and open Object Storage in the left-hand menu under Storage & backup.

Create a container

Info

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)
OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

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.
Warning

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

OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

Navigate to Object Storage in the left-hand menu. Your containers are listed under the My containers tab.

Upload objects

OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

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

OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

Click on the name of your container to view its objects in the Objects tab.

Download objects

OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

Click the download icon on the object line.

Delete objects and containers

OVHcloud Control Panel
Swift S3 API
Swift client
OVHcloud CLI

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.

¿Le ha resultado útil esta página?