2017 © Pedro Peláez
 

magento2-module magento2-s3

Use Amazon S3 as the file storage backend for your store.

image

thaiphan/magento2-s3

Use Amazon S3 as the file storage backend for your store.

  • Thursday, June 14, 2018
  • by thaiphan
  • Repository
  • 10 Watchers
  • 62 Stars
  • 10,295 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 27 Forks
  • 15 Open issues
  • 9 Versions
  • 29 % Grown

The README.md

Thai's S3 Extension for Magento 2

Total Downloads MIT License Donate, (*1)

Amazon S3 is a popular file storage solution that allows web apps to host images in the cloud. Setting up your web app to use cloud storage removes the need to use the local filesystem to store images. This, in turn, allows companies to spin up more servers to handle more traffic without having to worry also copying over pre-existing images onto these new servers. Cloud storage also provides some other performance benefits, such as shifting a lot of the load of retrieving images for a customer to S3 and the ability to easily set up a CloudFront CDN for your images., (*2)

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

This is done by overriding the built-in database file storage mechanism to upload to Amazon S3 bucket instead of MySQL. By handling integration with Amazon S3 in this manner, this extension will work nicely with third-party extensions that properly use Magento's file system mechanisms as well as work with any future Magento functionality., (*4)

Support

Magento Version Supported
2.0 :white_check_mark:
2.1 :white_check_mark:
2.2 :white_check_mark:
2.3 :negative_squared_cross_mark:

Magento 2.3 introduced breaking changes, which I am still contemplating how to fix. Please be patient or help contribute to this open source project!, (*5)

Account & pricing

You will need to create an Amazon AWS account to get started. The cost to host your images on S3 varies depending on the AWS region that you are using and on the kind and amount of images that you upload. Click here for more detailed pricing information, https://aws.amazon.com/s3/pricing/, (*6)

Features

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!, (*7)

Sync all your media images

The following images are automatically saved to S3:, (*8)

  • Product images
  • Generated thumbnails
  • WYSIWYG images
  • Category images
  • CAPTCHA images
  • Logos and favicons

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., (*9)

Easy integration with CloudFront CDN

CloudFront CDN supports using S3 as an origin server so you can significantly reduce load on your servers., (*10)

Installation

See the Installation page on the wiki., (*11)

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., (*12)

If you can't find the answer you're looking for, however, feel free to create a GitHub issue for support regarding this extension., (*13)

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., (*14)

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., (*15)

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., (*16)

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., (*17)

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!, (*18)

The Versions

14/06 2018

dev-master

9999999-dev

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

14/06 2018

dev-develop

dev-develop

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

14/06 2018

1.3.1

1.3.1.0

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

10/06 2018

1.3.0

1.3.0.0

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

09/06 2018

1.2.0

1.2.0.0

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

06/06 2018

1.1.0

1.1.0.0

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

31/12 2017

1.0.1

1.0.1.0

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

11/11 2017

1.0.0

1.0.0.0

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires

 

21/03 2017

1.0.0-RC

1.0.0.0-RC

Use Amazon S3 as the file storage backend for your store.

  Sources   Download

MIT

The Requires