Store Wordpress Media on Object Storage with Media Cloud

Media Cloud Overview

Media Cloud is a Wordpress plugin allowing you to automatically import the media gallery of your blog to Object Storage and to upload new media files via the Wordpress Media Manager directly into an Object Storage Bucket.

Requirements:

Important: Media Cloud requires the PHP extensions xml and mbstring. If they are not installed on your system you can install them from the command line using the apt package manager on Debian and Ubuntu based systems: apt install php7.2-xml php7.2-mbstring (For PHP version 7.2 - if you are using another PHP version modify the command accordingly)

Installing Media Cloud

Media Cloud can be installed directly from the admin interface of your Wordpress blog.

1 . Enter the Plugins section in the admin interface of Wordpress, then click on New Plugin and search for Media Cloud.

2 . Click on Install Now to install the plugin into Wordpress:

3 . Once installed, activate the plugin by clicking on Activate:

Configuring Media Cloud

1 . From the plugin overview page, make sure that the Cloud Storage switch is toggled on (1) and click Setup Wizard (2) to launch the Media Cloud configuration:

2 . The setup wizard displays. Click Next to continue:

3 . Choose the S3 Compatible storage option to continue:

4 . Click Next to proceed with the configuration:

5 . Enter the connection credentials of your Object Storage bucket:

  • Access Key: Your Scaleway Access Key
  • Secret Key: Your Scaleway Secret Key
  • Bucket: The name of your Object Storage Bucket
  • Region: Automatic
  • Custom Endpoint: The endpoint of your bucket, it can either be https://s3.fr-par.scw.cloud for Paris (France), https://s3.nl-ams.scw.cloud for Amsterdam (The Netherlands), or https://s3.pl-waw.scw.cloud for Warsaw (Poland)

Click Next to continue with the configuration.

6 . The setup wizard will check your configuration. Click Start tests to launch the validation of your credentials:

7 . Several tests are done to validate that everything is working well. If everything succeeds, click Next to continue:

8 . The setup is complete now. Click Advanced Settings to exit the wizard and display the advanced settings. Normally nothing needs to be configured there, and you can go to your media gallery from there:

9 . Upload your media files using the Wordpress upload feature. They will be uploaded automatically into your Object Storage bucket.

10 . Once uploaded, you will notice a small cloud icon next to each media file, indicating that it is stored in the Object Storage bucket:

11 . To see details of each file, click on it. Wordpress displays details about the file, such as the bucket name, the media dimensions, and the complete storage URL:

All newly uploaded files are automatically stored in the Object Storage bucket and they can be used from the Media Library like any other media when writing a blog post.

If you do not have a Wordpress blog yet, get started with a few clicks, using our Wordpress blog.

Discover the Cloud That Makes Sense