Where to put Vagrant box images for MDN?

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
a year ago

People

(Reporter: jezdez, Assigned: cturra)

Tracking

Details

(Reporter)

Description

5 years ago
The kuma project (MDN) uses Vagrant for setting up development environments to be as welcoming as possible to contributors. We need a place to host a few Vagrant box images somewhere that is publicly available via HTTP, ideally with a good connection to non-US networks.
For what it's worth, we have this on MDN staging:

https://developer.allizom.org/landfill/

Currently, tarballs of static file uploads are dumped there. Soon, we're hoping sanitized SQL dumps will end up there, too.

So, it would be great if we could push VM images there periodically, too. That would put all the resources to set up a dev VM in one spot.
The bedrock project (and likely others) could use this as well. It would be nice to solve this problem for all of us. It seems many of us (including bedrock) have tried people.mozilla.com to host these, but the speed, especially from outside the US, just isn't good enough. Thanks!
As noted by :pmac (and others), people.m.c is a highly inappropriate place for anything that might be construed as a publicly-available service, and should be avoided entirely where possible.  Just putting this out there as a possibility, but how about hosting the images on Amazon ?  DISCLAIMER: This is neither a plan nor guarantee - just floating the idea and looking for feedback.
(In reply to Daniel Maher [:phrawzty] from comment #3)
> As noted by :pmac (and others), people.m.c is a highly inappropriate place
> for anything that might be construed as a publicly-available service, and
> should be avoided entirely where possible. 
> Just putting this out there as a
> possibility, but how about hosting the images on Amazon ?  DISCLAIMER: This
> is neither a plan nor guarantee - just floating the idea and looking for
> feedback.

I think Amazon would be great, if we have a Mozilla account & can give access core devs for updates. S3 in particular would suit the bill for many things
+1 Amazon S3
(Assignee)

Updated

5 years ago
Assignee: server-ops-webops → cturra
(Assignee)

Comment 6

5 years ago
i have setup an s3 bucket for vmimages, and created a directory in it for vagrant images (as an example of structure). externally, it can be found here:

  http://vmimages.mozilla.net


to start out, i have created aws accounts for: Jannis, Paul, Les and Luke. you will each find your access ids/private keys in a file called `mozilla-aws-creds.txt` in your home directory on people.mo. with these, you have full access to the vmimages.mozilla.net bucket. please test is out and let me know if you'd like others added to it.

*additionally, i want to ask that you keep the content uploaded here in context - ie. vm images. i'd prefer this not to turn into a general dumping ground. this said, if in future you need other buckets created for content, please let us know.
Flags: needinfo?
(In reply to Chris Turra [:cturra] from comment #6)

> *additionally, i want to ask that you keep the content uploaded here in
> context - ie. vm images. i'd prefer this not to turn into a general dumping
> ground. this said, if in future you need other buckets created for content,
> please let us know.

Actually, another bucket we'd really like is for python packages. Just like this, an S3 bucket for simple HTTP would be great.
Flags: needinfo?
(Assignee)

Comment 8

5 years ago
(In reply to Les Orchard [:lorchard] from comment #7)
> Actually, another bucket we'd really like is for python packages. Just like
> this, an S3 bucket for simple HTTP would be great.

:lorchard - please file another bug for this request. 

have you had a chance to log into this new vmimage bucket and test things out? is it working as expected?
Flags: needinfo?(lorchard)
(Reporter)

Comment 9

5 years ago
:cturra Login worked for me! Thank you! <3
(In reply to Chris Turra [:cturra] from comment #8)

> :lorchard - please file another bug for this request. 

filed bug 971770

> have you had a chance to log into this new vmimage bucket and test things
> out? is it working as expected?

Login works, uploading a VM image now, so far so good.
Flags: needinfo?(lorchard)
(Assignee)

Comment 11

5 years ago
excellent. i see the vagrant image now. initially i was getting a forbidden accessing the box file so i added a bucket policy to allow public read for the entire bucket. 

i'm going to mark this bug as r/fixed now, but please reopen if you see anything misbehaving.


 $ curl -I http://vmimages.mozilla.net/vagrant/kuma-ubuntu-20140128.box
 HTTP/1.1 200 OK
 x-amz-id-2: FAtgNNafawiu736jivaE4mdKRfh+/bK4u0lTOyf3KavcSZHnQUSSjFuiJS7/oU54
 x-amz-request-id: 86155C3F2DBF953F
 Date: Wed, 12 Feb 2014 17:40:10 GMT
 Last-Modified: Wed, 12 Feb 2014 17:18:03 GMT
 ETag: "1497281c792876d6727e7e92415023b5"
 Content-Type: application/octet-stream
 Content-Length: 698450859
 Server: AmazonS3
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

a year ago
See Also: → bug 1380982
You need to log in before you can comment on or make changes to this bug.