Amazon s3

alt=
DannyA
@dannya
10 years ago
584 posts
I know i brought this up before
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/6358/amazon-s3

but I can't wait any longer. Can you let me know if you have a release date for it planned. If not,

My priority is to be able to save /data/media files to S3. If you can point me in the right direction of which files need to be edited to allow for this, it would be helpful. i.e. which functions/files write to that folder.

Not sure how I would build a module to do this without modifying core though.
updated by @dannya: 12/29/14 09:14:08AM
brian
@brian
10 years ago
10,148 posts
If you can't wait any longer, then you'll need to create something custom that can do this for you now. A "media abstraction" layer is still planned for Jamroom, but it's going to be the summer (at the earliest) you will see this, as it has been bundled into work I am doing for an unreleased project - that won't be released until hopefully sometime in the summer.

Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
A quick followup - how much disk space are you looking for? There are a number of dedicated servers you can get with 4TB+ of disk space - just an FYI.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
I'm running on EC2. I can easily get a larger instance with more storage, but the storage in EC2 is more expensive than S3. Almost double in fact. I also have a pretty good deal to use storage and CDN from another company, but the same problem exists.

So in absence of the data abstraction layer, like you said, would have to do something ourselves (unless by summer you mean June21 :) ) So the question still stands, which functions/files do we need to worry about.
brian
@brian
10 years ago
10,148 posts
Is June 21 your dead line? I might be able to get support in for S3 by then - I'll be working on it well before then, and would be willing to prioritize that a bit ahead of schedule.

Let me know.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
Sure. My deadline is ASAP but if you can accelerate, I can just boost my EC2 storage until then. The other question is will I be able to migrate the existing data from one location to the new one?

Also, will the data abstraction layer allow you to redirect static objects to a CDN? It's simple to make that functionality into a module but if you plan on making that part of this future module it would be good to know.
brian
@brian
10 years ago
10,148 posts
andersda:
Sure. My deadline is ASAP but if you can accelerate, I can just boost my EC2 storage until then. The other question is will I be able to migrate the existing data from one location to the new one?

Possibly - but maybe not right at first, but for testing I will likely have to build something even if it initially works as a hack.

Quote:
Also, will the data abstraction layer allow you to redirect static objects to a CDN? It's simple to make that functionality into a module but if you plan on making that part of this future module it would be good to know.

No - the media layer is the only layer that will be supported - i.e. your media files will be stored on S3, not site level objects such as skin images, Javascript, etc - those will need to be served from your front end (since the core has to be able to "watch" those to rebuild if necessary). Note that with gzipping and browser caching (which JR uses), moving these items to a CDN does not really help a lot, but if you want to manage that that is up to you.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
Good point. Was more concerned about cdn for the media.

Anyway, lets shoot for June. I will just eat the additional ec2 costs for now. Let me know if I can assist for testing. I have amazon ami for JR set up if you need it.
brian
@brian
10 years ago
10,148 posts
I will let you know - it's not something I'm going to be getting to for a bit - I've got several things in front of it, but when I feel it is ready for some testing I will let you know.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags