WP Plugin Upcasted S3 Offload
Learn how to use WP and a 3rd party plugin “Upcasted” to store and serve up your WordPress media assets using the ScPrime distributed datacenter using the XNS Relayer
Overview
WordPress is a free and open-source content management system (CMS) written in hypertext preprocessor (PHP) language and paired with a MySQL or MariaDB database with supported HTTPS. For this example, We will be using a plugin called “Upcasted S3 Offload” to use the XNS network as the storage method for your sites videos, photos, and other media content.
Read this guide for how to configure WP to Store media to XNS.
Prerequisites
- Have a domain and WordPress account setup.
- Install the XNS Relayer
- Configure the XNS Relayer’s Endpoint Access Key and Endpoint Secret Key
- Configure your Relayer URL and DNS to accept SSL/TSL. I used Cloudflare Tunnel for this example
Setup Guide
Step 1: Open Your WordPress CMS home dashboard
On the WP main menu, Select Plugins from the main menu. Click Add New
Step 2: Search
Type Upcasted s3 in the search bar. Click on the result shown below
Step 3: Install the Plugin
Click Install and Activate on the right-hand side of the screen.
Step 4: Setup the plugin
From the main menu of the WordPress CMS, Click Plugins > Installed Plugins to bring up the screen below. From here, we want to click on Settings option under Upcasted S3 Offload-
Step 5: Enter your Relayer Credentials
Enter your Access Key, Secret access key, Region, and Relayer URL *Note* As mentioned in the top of this article, your Relayer needs to be exposed to the public for this plugin to connect properly. This can be achieved several ways.
If the credentials were entered correctly, you should see a pop-up that allows you to select from your pre-defined buckets in MiniO.
Step 6: See Plugin documentation for use
Visit https://wordpress.org/plugins/upcasted-s3-offload/ to learn more about properly setting up your webpage to store your media files to your selected S3 buckets