How to use Amazon S3 as Moodle Data Root

How to use Amazon S3 as Moodle Data Root

by JC Dodo -
Number of replies: 9

Hello,

Is it possible (or how) to use Amazon S3 as Moodle Data?

Cheers.

James

Average of ratings: -
In reply to JC Dodo

Re: How to use Amazon S3 as Moodle Data Root

by Bob Puffer -

In my trials, Amazon S3 proved too slow in allowable upload speeds to be used in this manner.

In reply to Bob Puffer

Re: How to use Amazon S3 as Moodle Data Root

by JC Dodo -

Hi Bob,

Did you mount the Amazon S3 to filesystem locally? What setup do you have in EC2 and S3?

Cheers.

James

In reply to Bob Puffer

Re: How to use Amazon S3 as Moodle Data Root

by Irati Abio -
In reply to Irati Abio

Re: How to use Amazon S3 as Moodle Data Root

by Lawrence Furnival -

Performance of certain temporary files is better if it has lower latency - consider core moodle change for changing the location of these files. Otherwise it works fine. Catalyst in New Zealand did this for us. (Teachers College, New York)

In reply to JC Dodo

Re: How to use Amazon S3 as Moodle Data Root

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
If is about installing Moodle, you'll get help in the "Installation problems" forum: http://moodle.org/mod/forum/view.php?id=28.

If it is about configuring a repository, try "Repostories" http://moodle.org/mod/forum/view.php?id=1807.

General pros and cons are discussed in the "Hardware and Performance": http://moodle.org/mod/forum/view.php?id=596

In any case go through old discussions on this topic, the "'Using Moodle' advanced search facility" http://moodle.org/mod/forum/search.php?search=&id=5 is very practical.
In reply to JC Dodo

Re: How to use Amazon S3 as Moodle Data Root

by Frank B -

I've yet to find a way to add niether an EBS Volume nor S3 storage to an Elastic Beanstalk instance.

In reply to Frank B

Re: How to use Amazon S3 as Moodle Data Root

by Lawrence Furnival -

S3fs. Works well for file uploads because of the hash file naming. The files are never treated as block store, but as files. You may want to put the tmp folder on the local HD for performance. Ask Piers Harding at Catalyst.

In reply to Lawrence Furnival

Re: How to use Amazon S3 as Moodle Data Root

by Julian Agudelo -

Hi Lawrence, I've been trying s3fs solution for moodledata, I'm using s3fs V 1.71; Ubuntu 12.04 ; I created my s3fs and mounted it on /mnt/s3, it seems to work fine, but when I try to install moodle and moodledata, it says that the folder /mnt/s3/ can't be created by the instaler.
So I try to change my s3fs permissions but with no success:

"chmod: changing permissions of `s3/': Input/output error"

Could you help me? Do you know something about this issue?

Regards,

In reply to Julian Agudelo

Re: How to use Amazon S3 as Moodle Data Root

by Albert Ramsbottom -

Did you ever get this to work?

I would be interested to know if it worked and what performance you got from this approach if it worked that is

 

Albert