Store WordPress media in Object Storage
Since Glesys Object Storage is S3-compatible, it's possible to use WordPress Media Cloud with it.
Media Cloud is a WordPress plugin that automatically imports the media gallery from your blog to Glesys Object Storage and uploads new media files through the WordPress media manager directly to a bucket in an object storage instance.
Before starting
You will need:
A WordPress installation on a VM.
An Object Storage instance at Glesys.
Please note that Media Cloud requires the PHP extensions xml and mbstring. If they are not installed on your operating system, you can install them from the command line using the package manager on Debian or Ubuntu using the command below. The command below is for PHP version 7.4. If you are using a different PHP version, adjust the command accordingly.
sudo apt install php7.4-xml php7.4-mbstringInstall Media Cloud
Media Cloud can be installed directly from the admin interface of your WordPress installation.
Go to the Plugins section in the WordPress admin dashboard, then click New Plugin and search for Media Cloud. Click Install Now to install Media Cloud.

When the installation is finished, activate the plugin by clicking Activate.
Configure Media Cloud
From the overview page, make sure Cloud Storage is enabled and click Setup Wizard to start the configuration.

The installation guide appears. Click Next to continue.

Select S3 Compatible as the storage provider.

Click Next to continue the configuration.

Provide the following values for your bucket in Glesys Cloud Storage.

Access Key: Access Key for your instance.
Secret Key: Secret Key for your instance.
Bucket: The name of your bucket.
Region: Automatic.
Custom Endpoint:
objects.dc-sto1.glesys.netorobjects.dc-fbg1.glesys.netdepending on which data center your Object Storage instance is located in.
Click Next to continue the configuration.
The installation wizard will then check your configuration. Click Start tests to begin validation of your settings. Several tests are performed to confirm that everything works correctly. If all succeed, click Next to continue.

The installation is now complete. Click Advanced Settings to finish the wizard and view the advanced options. Typically, nothing needs to be configured here, and you can go to your media library from here.

You can now upload your media files using WordPress’s media uploader. They will be automatically uploaded to the bucket in your object storage instance.
Once you’ve uploaded the files, you’ll notice a small cloud icon next to each media item, indicating that it is stored in the bucket.

Click on it to view information for each file. WordPress displays details such as the bucket name, the media dimensions, and the full URL of the file.

All uploaded files are automatically stored in your object‑storage instance and can be used from the media library as usual when you create your content.
If you don’t have a WordPress blog yet, feel free to use our One‑Click Installer VM template for WordPress to get started.
Last updated
Was this helpful?