Jump toUpdate content
Store Wordpress Media on Object Storage with Media Cloud
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.
Media Cloud requires the PHP extensions
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).
Media Cloud can be installed directly from the admin interface of your Wordpress blog.
Enter the Plugins section in the admin interface of Wordpress, then click New Plugin and search for Media Cloud.
Click Install Now to install the plugin into Wordpress:
Once installed, activate the plugin by clicking on Activate:
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:
The setup wizard displays. Click Next to continue:
Choose the S3 Compatible storage option to continue:
Click Next to proceed with the configuration:
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.cloudfor Paris (France)
https://s3.nl-ams.scw.cloudfor Amsterdam (The Netherlands)
https://s3.pl-waw.scw.cloudfor Warsaw (Poland) Click Next to continue with the configuration.
The setup wizard will check your configuration. Click Start tests to launch the validation of your credentials:
Several tests are done to validate that everything is working well. If everything succeeds, click Next to continue:
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:
Upload your media files using the Wordpress upload feature. They will be uploaded automatically into your Object Storage bucket.
Once uploaded, you will notice a small cloud icon next to each media file, indicating that it is stored in the Object Storage bucket:
To see details of each file, click 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.