Skip to content

Use Amazon S3 as the file storage solution for your Magento 2 application

License

Notifications You must be signed in to change notification settings

HommeSauvage/magento2-s3

 
 

Repository files navigation

Thai's S3 Extension for Magento 2

Total Downloads MIT License Donate

Thai's S3 extension for Magento 2 allows retailers to upload their catalogue and WYSIWYG images straight to Amazon S3.

Benefits

Easy to use

This extension is easy to use with little configuration! You only need to follow a few simple steps (and one of them is simply to create a copy of your images as a precaution) to get up and running!

Sync all your media images

The following images are automatically saved to S3:

  • Product images
  • Generated thumbnails
  • WYSIWYG images
  • Category images

Magento can now scale horizontally

Complex file syncing between multiple servers is now a thing of the past with this extension. All your servers will be able to share the one S3 bucket as the single source of media.

Easy integration with CloudFront CDN

CloudFront CDN supports using S3 as an origin server so you can significantly reduce load on your servers.

Installation

See the Installation page on the wiki.

Support

There's a Troubleshooting page on the wiki that I'll try and keep up to date with any issues that the community might have with the extension.

If you can't find the answer you're looking for, however, feel free to create a GitHub issue or send us an email for support regarding this extension.

FAQs

Does this extension upload my log files?

No, the S3 extension only syncs across the media folder. You will need to find an alternative solution to store your log files.

Magento is still loading images from the file system! What went wrong?

The S3 extension is built on top of the built-in database file storage, which will re-download files back onto the file system as part of a caching mechanism. Magento will then use this cached version of the image instead of using S3.

If you have enabled S3 integration then you can safely delete the images off your file system (although please take a backup just in case). If you want Magento to not download files to the file system, you can configure your static media URL to point to S3 or CloudFront.

We did something wrong and all our images are gone! Can you restore it?

I recommend taking a backup of your media files when switching file storage systems. Unfortunately, there's nothing I can do if you somehow accidentally delete them.

Success Stories

Are you a happy user of my extension? I would love to feature you! Create a GitHub issue or send me an email to discuss opportunities for cross promotion!

About

Use Amazon S3 as the file storage solution for your Magento 2 application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 86.3%
  • HTML 13.7%