eZ Community » Forums » Discussions » Images on amazon S3 ? It's on its way

Thursday 05 June 2014 4:09:59 pm - 5 replies

» Read full blog post


It’s an increasingly common requirement to store images for a website on specialized cloud hosts such as Amazon S3, whether it’s for redundancy, geographical optimization, scalability, or cost of maintenance.

So far, it was considered complex, if not impossible, to implement it cleanly on eZ Publish Legacy. It turns out this is not the case. The legacy DFS cluster handler makes it quite easy. Moreover, being pragmatic, as long as the legacy backoffice will be there, New Stack only solutions are a no-go if they're required here. To get something that works with the new stack, and is usable in the admin, it must at the very least work with the Legacy Kernel.

Tuesday 10 June 2014 11:36:21 am

Thanks Bertrand, it looks very promising! Any plan to update also the binary file datatype?


Tuesday 10 June 2014 11:45:09 am

Hi Gabriele.

You mean support for downloading binary files, not for the new stack's BinaryFile field type, right ? If yes, it will be supported, yes. When ? We do not know yet. How ? We do not know yet either happy.gif Emoticon

I have started to write down a couple facts about it, but would be happy to exchange with you, if you have more detailed requirements or particular knowledge (for instance about downloads requiring authentication).

Note that it might actually already be possible. If var/site/storage/original is mapped to the S3 handler, files will be saved there. What's left is generating the link, but it could already be done manually. The  direct binary file handler was deprecated and removed a while ago, but the extension point is still here.

Modified on Tuesday 10 June 2014 12:04:14 pm by Bertrand Dunogier

Wednesday 11 June 2014 12:02:38 am

Ciao Bertrand, exactly I'm referring to the to the old field type. For sure authentication is one of main interesting topic.

For sake of curiosity, have you tried to use s3fs to map var/site/storage on an S3 bucket? I'm curious about performances and reliability

Saturday 14 June 2014 4:15:44 pm

I am pretty sure system level solutions work fine. We could expect issues in clustered setups, though. But yes, it would probably do the job happy.gif Emoticon

Wednesday 01 October 2014 12:39:02 am

Hello Bertrand,

Congratulations on this impressive breakthrough!

I look forward to the day when I can host client binary files (word docs, tar.gz files, etc) on S3 using built-in solutions from eZ Systems.

Till that day comes we offer this solution to users of eZ Publish Legacy: https://github.com/brookinsconsulting/ezs3upload



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from