MoodleData on AWS S3.. is this even possible...

MoodleData on AWS S3.. is this even possible...

by Chris Hansen -
Number of replies: 5

Hi everyone,

I have a situation where a school is using Moodle, and as part of the assignments the students will be uploading large video files (2g each).. I've looked high and low for an s3 plugin that would allow the student to upload directly to s3 but I do not see one anywhere in my searching.  I've also searched this forum to no avail.


To be clear, this is a bran new install of moodle (3.0.2) and is in a test environment.  The student and his teacher will be the only ones able to see the video uploaded.   At present, I do not see any way to modify where moodle stores the uploaded files.


Is this even possible, does anyone know of an existing plugin that will do this?


thanks to all that take the time to read and discuss.

Average of ratings: -
In reply to Chris Hansen

Re: MoodleData on AWS S3.. is this even possible...

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I think about a year ago I was asked for a quote to write such a plugin - same thing, uploading project videos to Amazon through Moodle. 


The project didn't go ahead but, unless somebody else did it, I assume that it does not exist.

In reply to Chris Hansen

Re: MoodleData on AWS S3.. is this even possible...

by Andrew Schlussel -

Hi Chris,

I'm looking for something similar, from the responses I've heard, it sounds like we'd want to host the moodledata directory externally, like on Amazon S3. I don't know how to do that, I've asked the Moodle Partner that we are talking to about it and they responded essentially saying that it would be a complex thing to develop.

So I'm still looking into it, please let me know if you find anything out.

In reply to Andrew Schlussel

Re: MoodleData on AWS S3.. is this even possible...

by Fernando Dingler -

Yeah. I'm also looking into this. I tried the S3 File Repository but its crap. Its only for importing files into Moodle. The files are still saved on disk! There doesn't seem to be a way to actually save files externally. Its crazy. 

In reply to Fernando Dingler

Re: MoodleData on AWS S3.. is this even possible...

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

HQ have prioritised this improvement for Moodle 3.3 (Release May 2017)

https://tracker.moodle.org/browse/MDL-46375

That's the first step required that will allow us to write a plugin to completely host moodledata on S3 and use other cheap object storage.

In reply to Dan Marsden

Re: MoodleData on AWS S3.. is this even possible...

by Fernando Dingler -

Wow. Excellent. That's great news! It was the missing piece for really making moodle scalable and deployable in the cloud. Will follow the progress closely. Thanks for the update.