1. Home
  2. Docs
  3. WP Media Storage To Cloud
  4. How To Connect Amazon S3 Bucket

How To Connect Amazon S3 Bucket

Before connecting the Media Storage To Cloud plugin with Amazon S3 bucket, ensure that you have already created an IAM user account on your AWS account.

If you haven’t created an IAM user account, follow this documentation to create it.

If you already have an IAM user account you want to use, follow these simple steps to connect the Amazon S3 bucket with Media Storage to Cloud:

 Step 1:

Go to your DashboardWP CloudSettings and click on the Amazon logo under Select Storages section.

This section for authorization will appear.

Authorize and Setup Amazon S3

Now you have to provide your Amazon S3 credentials.

Client ID:

Insert the Access Key ID of the IAM user account you’ll be using.

Client Secret:

Insert the secret access key of the same IAM user.


Type the name of the bucket you want to authorize with Media Storage To Cloud.


Enter the region name of your bucket.

Amazon S3 Bucket Information

Now, click on the blue Save button.

Amazon S3 Data Saved

This message will show up to inform you that your data has been successfully saved.

 Step 2: 

Now go to the Sync section

Choose Amazon S3 and click on Sync.

Sync Media Files

Your media files will be started syncing with your Amazon S3 bucket.

Now you have to wait for the media files to be synced with the bucket.

Syncing Complete

After syncing the media file, this message will appear.

Step 3: 

Now go to the Settings section.

Click on Amazon S3.

Amazon S3 Sync Settings

You’ll find these 3 options:

Serve Media File From Bucket: 

Turning on this feature will serve all the media files on your website directly from the Amazon S3 bucket.

Upload Media Files On Bucket When Uploaded On Media Library: 

Turning on this feature will auto-sync all the new media files you will be uploading on your media library with the bucket.

Delete Media From Bucket When Deleted From The Media Library: 

Turning on this feature will auto-delete any media file from the Amazon S3 bucket if it’s deleted from the media library.

Amazon S3 Confirm Settings

Turn on the features you want to use.

Now click on the blue Save button.

Settings Saved

This message will show up confirming that your new settings have saved.

Now you’re ready to offload your WordPress media files to Amazon S3 and serve from there.