Enjoy Up To
80% OFF

How to integrate Amazon S3 with WordPress to offload files

How to integrate Amazon S3 with WordPress to offload files

Are you searching for ways to integrate Amazon S3 with WordPress using a plugin to offload media files? Then this blog will elaborately show you the right path to integrate the Amazon S3 with WordPress.

WordPress is one of the most popular content management systems (CMS) for building websites. It allows users to easily create and manage websites, including media files such as images and videos. 

However, as your website grows and your media library expands, you may find that your WordPress server needs help to handle the load. This is where Amazon S3 comes in. 

Amazon S3 (Simple Storage Service) is a highly scalable, secure, and cost-effective cloud storage solution that can be integrated with WordPress to store and serve media files from the cloud.

In this blog, we’ll discuss how to integrate an Amazon S3 with a WordPress website to offload media files using the Next3 Offload plugin, and how it can benefit your website.

What is Amazon S3?

Amazon S3 (Simple Storage Service) is a cloud-based object storage service provided by Amazon Web Services (AWS). It is designed to store and retrieve any amount of data, at any time, from anywhere on the web.

Amazon S3 stores and retrieves a wide range of data types, including documents, images, videos, backups, and log files. It provides developers with a simple web services interface that can be used to store and retrieve data from anywhere on the web.

Which WordPress S3 plugin should you use?

When it comes to choosing a WordPress S3 plugin, it is important to select one that is reliable, easy to use and provides the necessary features for your specific use case.


Let’s talk about the top three plugins that can integrate Amazon S3 with your WordPress:

  1. Next3 Offload: The  Next3 Offload Media plugin is a WordPress S3 plugin that offers advanced features for managing media files on WordPress sites. It integrates with Amazon S3 to store media files in the cloud, freeing up server space and improving site performance
  2. Wasabi Smart File Uploads: The plugin appears as a powerful plugin. You can use it to upload local WordPress files instantly to your Amazon S3. It makes the process of uploading files to your server easier.
  3. UpdraftPlus: This plugin is one of the most popular WordPress S3 plugins on the market. The plugin lets you create backups of your WordPress site for you to download or upload to the cloud. 

Recommended: One popular plugin that meets all these above criteria is the Next3 Offload media plugins. The plugin offers advanced features for managing media files on WordPress sites.

How to connect Amazon S3 with WordPress using Next3 Offload?

You can easily offload your WordPress Media Library to Amazon S3 by accessing Next3 Offload most prominently. 

You need to follow some steps to use Amazon S3 provider:

  1. Install the plugin Next3 Offload.
  2. Choose a provider.
  3. Log in to the AWS Console.
  4. Create an IAM User.
  5. Bucket Public Permission.
  6. Define your Access Key.
  7. Configure Next3 Offload media.
  8. Configure storage settings.
  9. Set up delivery settings.
  10. Set up the offload settings. 

Step #1: Install and activate Next3 Offload

To integrate your WordPress media files with Amazon S3, first, you need to install and activate an effective offloading plugin

First, log in to your WordPress admin dashboard. Then, go to the Plugin section. 


Then click on the Add New Plugin button.


Now, navigate to the Upload Plugin option.


At this point, click on the Choose File option.


Navigate to the Install Now button (You can follow this article to complete the installation process).


Then, you need to activate the plugin.


Now, to access the plugin, you need to activate the license. Insert your collected license key in the field

Click the Active License button. 


After following the above process, you can access the Next3 Offload dashboard and all the features of this plugin.

Step #2: Choose a provider

Now, it’s time to select a provider. Here we’ll choose the provider Amazon S3 to integrate with the WordPress site.


At this stage, you need to insert the Access Key and Secret Key. For this purpose, you have to create an Amazon S3 account. 

Let’s go through the following process that’ll show the ways to sign in and sign up process in Amazon S3.

Step #3: Logging in to the AWS Console

If you already have an Amazon Web Services (AWS) account, sign in here. 


Don’t you have an AWS account yet?  You will need to sign up.


Step #4: Create an IAM user

After logging into the console, you have to create a new IAM user. 

We’re following two methods for creating an IAM User:

Method 1: 

In the User name field, insert the user’s name.

Next, select the check box of Access key – Programmatic access as AWS credential type.


You must offer the new user particular permissions to let it manage buckets and objects in the S3 service.

When configuring Next3 Offload Media for the first time, the “AmazonS3FullAccess” policy helps prevent potential issues. 

However, experienced AWS users may want to utilize a Custom IAM Policy. Any IAM User’s policy can be changed later to limit access to the resources needed by Next3 Offload Media.

Now select “Attach existing policies directly,” Then type “s3” into the filter policies entry box.

At the bottom of the screen, select the “AmazonS3FullAccess” policy. Lastly, click Next: Tags.

You can add tags here. It is entirely up to you whether you want to add or not. 

But, if you frequently use AWS, you may want to add tags as it will facilitate administrative tasks. 

Now click the Next: Review button to proceed to the next step.


If everything appears to be in order, select the Create user button.


You can see the user’s security credentials here. The credentials contain a Secret Access Key and an Access Key ID.

You need to download these as a.csv file and copy them to a secure location because Amazon won’t display them again. The secret keys cannot be retrieved again if you lose them. 

However, you can always create a fresh set of keys from the console.


Method 2:

After logging into the console, you have to create a new IAM user. 

In the User name field, insert the user’s name.

Then click on the Next button.

Now, select a permission policy. As a first-time user, we are choosing AmazonS3FullAccess. It is also recommended for you.


Then click on the Create user button.


Now, go to IAM >> Users >> next3 and click on Security credentials.


In this create access key section, you have to go through three steps. In the first step of Access key best practices & alternatives, you need to select the Command Line Interface.


Then go to the second step. Set the description tag here and click on the Create access key.


Now in the third step, you can retrieve the access keys.


Note: You can download the Access Key and Secret Key files or save them in your local storage for next time use.

Step #5: Bucket Public Permission

There is also a Block public access (account settings) page. It can be accessed from the Amazon S3 sidebar. You need to disable public access to objects in all existing and new buckets.

Go for AmazonS3 >> Buckets >> bucket name. Then click on permission.


Now check the box of Block all public access. Then click on the Save Changes button.


In Edit Object Ownership check the box of ACLs enabled and object writer.

Don’t forget to click on the Save Changes button to save all the setup. 


Step #6: Define your Access Keys

You must now add your AWS Access Keys to your website for Next3 Offload Media to use the Amazon S3 service.

To connect with Amazon S3 enter the Access key ID and Secret Access Key. To insert the keys open the CSV file that you have downloaded before and copy the Access key ID and Secret Key. 
After copying the keys go to your WordPress admin panel and enter the required Keys into the related fields. Then click on Next.


Step #7: Configure Next3 Offload media

You must first specify the bucket that Next3 Offload Media should use to begin offloading recently uploaded media files to Amazon S3. The setup page for Next3 Offload Media allows you to create a bucket for usage with the service.


You can enter the name of the bucket you’ve previously made and click the “Save Bucket Setting” button.

The “Create New Bucket” link will take you to a form where you can enter the bucket’s name and region if you haven’t already done it.


You can also “Browse Existing Buckets” if you haven’t restricted your IAM User’s access to list buckets.


Step #8: Configure storage settings

After integrating Amazon S3 with WordPress you need to set up all the basic functionalities on Storage Settings. 
To configure the basic storage settings, you can navigate to the WordPress Admin Dashboard, and then head to the Next3 Offload menu.


From the Next3 Offload control panel, you can access all the features.


Now, you can enable Offload media and Copy to local server options using the toggle button.


After scrolling down a bit, you can also enable the options for Setup Path and File Management.

For example, Add prefix to bucket path, Add year & month to bucket path, Add object version to bucket path, Rename files, Offload format to cloud etc.


Step #9: Set up delivery settings

Now it’s time to select a provider to deliver your offloaded files. 

Go to the Delivery Settings.


Now, select a provider. You can also enable some basic functions from here as well.


After enabling the basic functions, click on the Save Settings button.


Step #10: Set up the offload settings

Finally, you can set up the Offload Settings. 


You can now offload your existing media files and individually offload the existing media files. Just click on the Offload Now button to complete the offloading process.


You can also access the features to restore offloaded files to local storage and clean up offloaded files from local storage.


You can both offload existing CSS and JS files to the Cloud.


Note: You can check your WordPress media library to see whether your files have offloaded or not. 

Final Words 

You can easily integrate Amazon S3 with WordPress using a plugin. It is an effective way to improve website performance, scalability, and cost-effectiveness of your site. 

By offloading media files to the cloud, you can reduce the load on your WordPress server, resulting in faster page load times and a better user experience. 

Additionally, Amazon S3 provides advanced security features such as access control and encryption, ensuring that your media files are safe and secure.

If you like this article, please subscribe to our YouTube channel. We have WordPress video tutorials. You can also connect to our Twitter and Facebook accounts to keep abreast of the latest updates, news, and more offers.

Mehrin Ferdous Meem
Written by

Mehrin Ferdous Meem

Mehrin is a content writer of ThemeDev who prefers to write about tech products, travelling, health, food, lifestyle, marketing, technology etc. She also works for creating video. She has completed her Bachelor's degree in Computer Science and Engineering. Her hobbies include blogging, reading, cooking etc.

Table of Content

Table of Contents

LTD Deals: 10+ Pro Plugins

Limited Time Offer
LTD Deals: 10+ Pro Plugins

Offer ends soon! Don't let it get away this time!


Trusted by 25,099+ Customers

30 days Money Back Guarantee