Title: Sync media with AWS S3 CloudFront
Author: SoftSprint
Published: <strong>April 4, 2020</strong>
Last modified: October 22, 2026

---

Search plugins

![](https://ps.w.org/sync-media-with-aws-s3-cloudfront/assets/banner-772x250.png?
rev=2275878)

![](https://ps.w.org/sync-media-with-aws-s3-cloudfront/assets/icon-128x128.png?rev
=2275878)

# Sync media with AWS S3 CloudFront

 By [SoftSprint](https://profiles.wordpress.org/softsprint/)

[Download](https://downloads.wordpress.org/plugin/sync-media-with-aws-s3-cloudfront.zip)

 * [Details](https://en-ca.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/#developers)

 [Support](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/)

## Description

Upload images, CSS and JavaScript from WordPress uploads to Amazon S3 and serve 
registered files through S3 or CloudFront. Local copies are retained, and stored
post content is not changed.

 * Full or incremental batch uploads with progress reporting.
 * Searchable folder tree with a vertically resizable list.
 * Remote URLs for registered files, including responsive images and common lazy-
   load markup.
 * Confirmed deletion of tracked S3 files, with options to skip, restore or permanently
   delete files missing locally.
 * Recovery of supported images into the Media Library, including a separate local-
   only repair tool. Recovered attachments receive new IDs; deleted captions, alt
   text and post associations cannot be reconstructed.

Clear your page cache after updates, configuration changes, uploads or deletion;
the plugin does not purge it automatically. Existing unregistered S3 objects must
be uploaded again to enter the registry.

Deactivation preserves settings and registry records. Uninstall removes local bookkeeping
without deleting S3 objects.

## Screenshots

[⌊Configuration tab allows you to enter your AWS S3 "Bucket name", "Access key" "
Secret key", "Location" and select the directories and file types, which you want
to upload to S3.
The saved secret key is never included in the settings HTML. Leave
the secret field empty to keep the saved key for the same access key, including 
when testing the connection. Enter a new secret to replace it; changing the access
key requires its corresponding secret key.⌉⌊Configuration tab allows you to enter
your AWS S3 "Bucket name", "Access key" "Secret key", "Location" and select the 
directories and file types, which you want to upload to S3.
The saved secret key
is never included in the settings HTML. Leave the secret field empty to keep the
saved key for the same access key, including when testing the connection. Enter 
a new secret to replace it; changing the access key requires its corresponding secret
key.⌉[

Configuration tab allows you to enter your AWS S3 “Bucket name”, “Access key” “Secret
key”, “Location” and select the directories and file types, which you want to upload
to S3. The saved secret key is never included in the settings HTML. Leave the secret
field empty to keep the saved key for the same access key, including when testing
the connection. Enter a new secret to replace it; changing the access key requires
its corresponding secret key.

[⌊If you want to use CloudFront service, just select "yes" for "Use Cloudfront" 
option and enter your CloudFront ID in the appropriate field.⌉⌊If you want to use
CloudFront service, just select "yes" for "Use Cloudfront" option and enter your
CloudFront ID in the appropriate field.⌉[

If you want to use CloudFront service, just select “yes” for “Use Cloudfront” option
and enter your CloudFront ID in the appropriate field.

[⌊Click "Test link to AWS" to check the selected bucket's region and, when enabled,
the CloudFront distribution. Upload, delete, and public file access are not tested.⌉⌊
Click "Test link to AWS" to check the selected bucket's region and, when enabled,
the CloudFront distribution. Upload, delete, and public file access are not tested
.⌉[

Click “Test link to AWS” to check the selected bucket’s region and, when enabled,
the CloudFront distribution. Upload, delete, and public file access are not tested.

[⌊General tab contains the "Upload file to S3" button, which starts the process 
of the file upload. Besides you can see observe the process thanks to progress bar
with the list of the already uploaded files.⌉⌊General tab contains the "Upload file
to S3" button, which starts the process of the file upload. Besides you can see 
observe the process thanks to progress bar with the list of the already uploaded
files.⌉[

General tab contains the “Upload file to S3” button, which starts the process of
the file upload. Besides you can see observe the process thanks to progress bar 
with the list of the already uploaded files.

[⌊You will see the message about your invalidation ID if you have saved a configuration"
Use Cloudfront" > "yes" and have indicated your CloudFront ID.⌉⌊You will see the
message about your invalidation ID if you have saved a configuration "Use Cloudfront"
> "yes" and have indicated your CloudFront ID.⌉[

You will see the message about your invalidation ID if you have saved a configuration“
Use Cloudfront” > “yes” and have indicated your CloudFront ID.

[⌊Registered files use direct S3 URLs when "Use Cloudfront" is "no". Files without
a successful upload registry entry keep their local URLs.⌉⌊Registered files use 
direct S3 URLs when "Use Cloudfront" is "no". Files without a successful upload 
registry entry keep their local URLs.⌉[

Registered files use direct S3 URLs when “Use Cloudfront” is “no”. Files without
a successful upload registry entry keep their local URLs.

[⌊With "Use Cloudfront" set to "yes", registered files use the configured CloudFront
domain. Each image size is checked separately.⌉⌊With "Use Cloudfront" set to "yes",
registered files use the configured CloudFront domain. Each image size is checked
separately.⌉[

With “Use Cloudfront” set to “yes”, registered files use the configured CloudFront
domain. Each image size is checked separately.

## Installation

 1. Log in to your WordPress dashboard, navigate to the Plugins menu, click on \”Add
    New\”
 2. Click on \”Upload Plugin\” and upload the archive \”Add-To-Cart-redirect-for-WooCommerce.
    zip\” then click on \”Install\”.
 3. Activate the plugin through the \”Plugins\” menu in WordPress.

## FAQ

### How can I know that my AWS bucket credentials and keys are valid?

“Test link to AWS” checks the configured bucket with GetBucketLocation and verifies
that its region matches Location. It requires s3:GetBucketLocation on that bucket(
for example, arn:aws:s3:::your-bucket), not s3:ListAllMyBuckets. When CloudFront
is enabled, it also requires cloudfront:GetDistribution for the configured distribution.
The test does not upload or delete objects and does not check upload/delete permissions
or public access to file URLs. Other plugin operations require their own permissions.
The test works without the PHP gettext extension.

### Which images will change their source URLs if CloudFront option is used?

Only files registered for the current bucket and S3 prefix receive remote URLs. 
WordPress attachment, image src/srcset and rendered img/picture HTML are supported,
including common lazy-load attributes in posts and templates. Each thumbnail is 
checked separately. Stored post content is not modified. Existing page caches must
be cleared separately; images inserted by JavaScript after the response require 
a separate integration.

### Can I disable CloudFront with a private S3 bucket?

CloudFront No uses direct S3 URLs for registered files. The plugin does not generate
signed URLs or change bucket access policies. If the bucket permits access only 
through CloudFront, keep CloudFront enabled; anonymous direct S3 URLs will not be
accessible.

### Can another AWS plugin conflict with this plugin?

Another plugin that loads different versions of the same AWS SDK or its dependencies
can cause class conflicts. This plugin includes its SDK and loads it once; avoid
replacing individual SDK files.

### Which file types does the plugin support?

Supported image extensions are gif, png, jpg, jpeg, svg and webp. The uploader also
supports CSS and JavaScript when those file types are included in the saved configuration.
PDF, video and ZIP files are not upload candidates and do not receive remote URLs
without a registry entry.

## Reviews

![](https://secure.gravatar.com/avatar/2aff99a6c7ab59b00592786a85c08da86a2794a9e2af10ee0246bfeb247a4cc2?
s=60&d=retro&r=g)

### 󠀁[There is no documentation or usage tutorial](https://wordpress.org/support/topic/there-is-no-documentation-or-usage-tutorial/)󠁿

 [Henry Douglas](https://profiles.wordpress.org/henrydouglas/) September 9, 2024

There is no documentation or usage tutorial. Therefore, with the developer's guidance
through a tutorial, it is difficult to know how to configure it correctly.

![](https://secure.gravatar.com/avatar/9c3cea450e480cc71cae923a1917e6db35380f42f562318cbdb53e6ef0a220c9?
s=60&d=retro&r=g)

### 󠀁[Not copy to s3](https://wordpress.org/support/topic/not-copy-to-s3/)󠁿

 [masconexion](https://profiles.wordpress.org/masconexion/) July 11, 2023

Insufficient documentation.

![](https://secure.gravatar.com/avatar/e3861a3f06b157302798d534445309ef0eced8f8fef15aa53573cf1834c97412?
s=60&d=retro&r=g)

### 󠀁[Plugin work](https://wordpress.org/support/topic/plugin-work/)󠁿

 [tarasshynkler](https://profiles.wordpress.org/tarasshynkler/) April 1, 2022

The plugin speeds up media downloads on the site using aws s3!

![](https://secure.gravatar.com/avatar/2f6384f6d633f9f5038c37c4f866d9c408f7b5fe0f949876eda3f583b02bc69a?
s=60&d=retro&r=g)

### 󠀁[Plugin is tested and works fine](https://wordpress.org/support/topic/plugin-is-tested-and-works-fine/)󠁿

 [SoftSprint](https://profiles.wordpress.org/softsprint/) May 21, 2021

Pls, contact us directly – we will help to set it up. Plugin works properly!

![](https://secure.gravatar.com/avatar/370f35644a1c696092145088bdbe92c5cd00a3378a4eadbac48d0d616e170e96?
s=60&d=retro&r=g)

### 󠀁[Didnt work for me](https://wordpress.org/support/topic/didnt-work-for-me-170/)󠁿

 [murilozilli](https://profiles.wordpress.org/murilozilli/) April 14, 2021 1 reply

Unfortunetely requirement for php 7.1 doesnt work for me

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/)

## Contributors & Developers

“Sync media with AWS S3 CloudFront” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ SoftSprint ](https://profiles.wordpress.org/softsprint/)

“Sync media with AWS S3 CloudFront” has been translated into 2 locales. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/sync-media-with-aws-s3-cloudfront/contributors)
for their contributions.

[Translate “Sync media with AWS S3 CloudFront” into your language.](https://translate.wordpress.org/projects/wp-plugins/sync-media-with-aws-s3-cloudfront)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sync-media-with-aws-s3-cloudfront/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sync-media-with-aws-s3-cloudfront/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sync-media-with-aws-s3-cloudfront/)
by [RSS](https://plugins.trac.wordpress.org/log/sync-media-with-aws-s3-cloudfront/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.6

 * Add an upload registry, incremental uploads, and safe deletion of tracked files
   with local and Media Library restoration.
 * Introduce batch uploads with clearer progress reporting.
 * Serve registered files through S3 or CloudFront, including responsive images 
   and common lazy-load markup.
 * Redesign settings with a searchable folder tree and a resizable directory list.
 * Improve credential protection, configuration saving and AWS connection checks.
 * Bundle AWS SDK for PHP 3.401.2 through Composer with official unused-service 
   removal; retain S3, CloudFront and required SDK dependencies. Require WordPress
   6.2+ and PHP 8.1+.

#### 1.0

 * Stable tested version with the latest WordPress

## Meta

 *  Version **1.0.6**
 *  Last updated: **4 weeks ago**
 *  Active installations: **20+**
 *  WordPress Version: ** 6.2 or higher **
 *  Tested up to: **7.1.5**
 *  PHP Version: ** 8.1 or higher **
 *  Language:
 * [English (US)](https://wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/sync-media-with-aws-s3-cloudfront)
 * Tags:
 * [aws](https://en-ca.wordpress.org/plugins/tags/aws/)[media](https://en-ca.wordpress.org/plugins/tags/media/)
   [s3](https://en-ca.wordpress.org/plugins/tags/s3/)[uploads](https://en-ca.wordpress.org/plugins/tags/uploads/)
   [wp-content](https://en-ca.wordpress.org/plugins/tags/wp-content/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/sync-media-with-aws-s3-cloudfront/advanced/)

## Ratings

 3.4 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/reviews/)

## Contributors

 *   [ SoftSprint ](https://profiles.wordpress.org/softsprint/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sync-media-with-aws-s3-cloudfront/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://softsprint.net)