Deploying Object Storage on OPCP
Find out how to deploy and size the Object Storage service from the OPCP Admin Console, and enable it for your Organizations
Alpha version — This guide documents the alpha version of Cloud Store. Features, interfaces and procedures will change until general availability (GA), and this guide will be updated along with them.
Objective
This guide shows IT Admins how to deploy the Object Storage service from the OPCP Admin Console, size it and enable it for Organizations.
Object Storage provides S31-compatible storage to the Organizations of your platform: buckets and objects, reached with the S3 API or the service's web interface. It is built on Ceph: the Ceph RADOS Gateway (RGW) serves the S3 API, and a Ceph cluster stores the objects. Each Organization gets its own S3 access keys and only sees its own buckets.
This guide covers what is specific to Object Storage. The general steps (Service Catalog, Service Deployments, Organizations) are described in the guide OPCP Admin Console. How Organization users work with the service is described in the guide Using Object Storage on OPCP.
Requirements
- Access to the OPCP Admin Console, as described in the guide OPCP Admin Console.
- Compute and Block Storage deployed on the platform, as described in the guide Deploying and scaling Compute and Block Storage on OPCP. In the Alpha, the Ceph cluster of Object Storage runs on virtual machines, and these run on the hypervisors of Compute and Block Storage. With the default settings, Object Storage needs room for 5 virtual machines of the
opcp-b3-8flavor (2 vCPU and 8 GB of RAM each) and about 140 GB of block storage. - An Organization to enable the service for. To create one, read the "Creating an Organization" section of the "OPCP Admin Console" guide.
Instructions
Architecture overview
Each Organization only sees its own buckets. All Organizations share the same Ceph cluster and the same S3 endpoint.
Deploying the service
- Go to
Management>Service Catalogand open Object-storage. ClickNew deployment. - Choose the version of your service, then click
Next. - Allocate the host pools: choose the OpenStack project of the deployment. Do not select any host for the
cephHost Pool: in the Alpha, the Ceph cluster runs on virtual machines, and the hosts of this pool are not used. - Configure your service. Set the size of the data volumes according to the capacity you need. See the "Settings" section below.
- Click
Deploy.
The deployment creates the virtual machines of the Ceph cluster, installs Ceph, and starts the S3 entry point and the web interface of the service. It takes several tens of minutes. The Service Deployment is deploying, then deployed.
Settings
Versions earlier than 0.4.0-alpha.46 use b3-8 as the default of the three ceph_flavor_* settings. This flavor does not exist on OPCP, so a deployment with the defaults fails. With such a version, set the three settings to opcp-b3-8, or choose version 0.4.0-alpha.46 or later.
Choose the size of the cluster before you deploy. It cannot be changed afterwards in the Alpha.
Outputs
Once the Service Deployment is deployed, its Outputs tab shows, among others:
Each Enabled Service has one Output, Console: the link to the web interface of the service for this Organization. The Organization's users find it in the Overview tab of the service in the OPCP Cloud Console.
Ceph dashboard
Open the ceph_ui_url tab of the Service Deployment, and log in with ceph_ui_username and ceph_ui_password from the Outputs tab. The dashboard shows the health of the cluster, its usage and its hosts.
This is an administrator login of the Ceph cluster: it gives full control over the cluster. If you change its password in the dashboard, the Outputs tab keeps showing the initial one.
Changes made in the Ceph dashboard are not known to the Service Deployment. Changing or deleting pools, gateways or services there can break Object Storage for all Organizations and lose data. Use the dashboard to check the cluster, not to change it.
Enabling the service for an Organization
Enable the Service Deployment for each Organization that needs Object Storage, as described in the "Enabling a service for an Organization" section of the "OPCP Admin Console" guide.
- The Ceph cluster is shared between Organizations: there is no host to select.
- There is no property to fill in: the service takes everything it needs from the Service Deployment.
The Enabled Service is deploying, then deployed. The Organization's users then find the service in the OPCP Cloud Console, under the name you gave it when enabling it. Send them the guide Using Object Storage on OPCP.
Deleting the service
- Ask the Organizations to save their data and delete their buckets. Disabling the service for an Organization does not delete its buckets.
- Disable the service for each Organization.
- Delete the Service Deployment, as described in the "Disabling a service or deleting a Service Deployment" section of the "OPCP Admin Console" guide.
Deleting the Service Deployment deletes the Ceph cluster with its volumes. All buckets and objects of all Organizations are permanently lost.
Known limitations
The Alpha has the following known limitations:
Troubleshooting
Go further
Deploying and scaling Compute and Block Storage on OPCP
Object Storage features and specifications on OPCP
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 analysed 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.