Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summer 2015 release as EC2 AMI #49

Closed
ck37 opened this issue Jul 16, 2015 · 10 comments
Closed

Summer 2015 release as EC2 AMI #49

ck37 opened this issue Jul 16, 2015 · 10 comments

Comments

@ck37
Copy link
Contributor

ck37 commented Jul 16, 2015

Does the summer 2015 release exist as an EC2 AMI? I can only find the spring 2015 release :(

@paciorek
Copy link
Contributor

I never got around to building it for summer 2015, partly just because I
didn't know that anyone was using the spring 2015 one other than me. If we
think there is demand, I could do it (or tell you how to do it). Otherwise
I'll make sure to do it for fall 2015 release.

chris

On Wed, Jul 15, 2015 at 8:28 PM, Chris Kennedy notifications@github.com
wrote:

Does the summer 2015 release exist as an EC2 AMI? I can only find the
spring 2015 release :(


Reply to this email directly or view it on GitHub
#49.

@ck37
Copy link
Contributor Author

ck37 commented Jul 16, 2015

Gotcha, yeah I would be happy to do it or otherwise help out.

@aculich
Copy link
Contributor

aculich commented Jul 16, 2015

It might be helpful to have the official BCE AMI for the AWS train the trainer session happening next week.

@paciorek
Copy link
Contributor

I'm on vacation next week so will not be able to do a summer 2015 AMI.

I would think the AWS train the trainer could use the spring 2015 AMI, no?

If not, and if anyone wants to build the summer 2015 AMI I can help give
some tips before I leave on Sunday.

On Thu, Jul 16, 2015 at 10:54 AM, Aaron Culich notifications@github.com
wrote:

It might be helpful to have the official BCE AMI for the AWS train the
trainer session happening next week.


Reply to this email directly or view it on GitHub
#49 (comment).

@aculich
Copy link
Contributor

aculich commented Jul 16, 2015

@paciorek any tips you have that may save us time re-learning what you've already figured out would be much appreciated.

@paciorek
Copy link
Contributor

I looked back at my notes and don't have much recorded.

Basically, I believe this covers it:

  • edit BCE-14.10-amd64.json file stanza for amazon-ebs type (update
    ami_name, and per Chris K's thought, perhaps swap 'region' and
    'ami_regions' contents so building happens in us-west-2
  • following HOWTO.md in provisioning run "make ec2"
  • (a bit vague here..) I believe this will upload the AMIs to us-west-{1,2}
    in the builders AWS account. So far this has been the SCF account. I'm
    happy to keep the AMIs there, but if someone else builds, we end up with
    the AMIs located in different places, which could be confusing.
  • make sure to set the AMIs to be public -- go to AWS Management Console,
    EC2 dashboard, select AMIs, click on the AMI for BCE and then choose
    Actions->Modify Image Permissions. Select 'Public'.

I think that's it but possible I'm forgetting something.

On Thu, Jul 16, 2015 at 11:29 AM, Aaron Culich notifications@github.com
wrote:

@paciorek https://github.com/paciorek any tips you have that may save
us time re-learning what you've already figured out would be much
appreciated.


Reply to this email directly or view it on GitHub
#49 (comment).

@paciorek
Copy link
Contributor

oh, and change the source AMI so that it is for the relevant version of
Ubuntu (now 15.04).

Current source AMI is in us-west-1 and is
ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20140816

So we'd want to search Community AMIs for a recent hvm-ssd AMI for the
relevant Ubuntu version.

On Thu, Jul 16, 2015 at 2:40 PM, Chris Paciorek paciorek@stat.berkeley.edu
wrote:

I looked back at my notes and don't have much recorded.

Basically, I believe this covers it:

  • edit BCE-14.10-amd64.json file stanza for amazon-ebs type (update
    ami_name, and per Chris K's thought, perhaps swap 'region' and
    'ami_regions' contents so building happens in us-west-2
  • following HOWTO.md in provisioning run "make ec2"
  • (a bit vague here..) I believe this will upload the AMIs to
    us-west-{1,2} in the builders AWS account. So far this has been the SCF
    account. I'm happy to keep the AMIs there, but if someone else builds, we
    end up with the AMIs located in different places, which could be confusing.
  • make sure to set the AMIs to be public -- go to AWS Management Console,
    EC2 dashboard, select AMIs, click on the AMI for BCE and then choose
    Actions->Modify Image Permissions. Select 'Public'.

I think that's it but possible I'm forgetting something.

On Thu, Jul 16, 2015 at 11:29 AM, Aaron Culich notifications@github.com
wrote:

@paciorek https://github.com/paciorek any tips you have that may save
us time re-learning what you've already figured out would be much
appreciated.


Reply to this email directly or view it on GitHub
#49 (comment).

@ck37
Copy link
Contributor Author

ck37 commented Jul 16, 2015

Yeah I was just noticing that the current dev code doesn't even build on EC2 right now due to using the old AMI - it hangs while waiting for SSH to be enabled.

The new AMIs are listed at https://cloud-images.ubuntu.com/releases/15.04/release/ so I'm testing the hvm-ssd one now.

@paciorek
Copy link
Contributor

I just commited a change to dev branch that has updates to the
BCE-summer-2015.json to be for 15.04 and to build on us-west-2.

chris

On Thu, Jul 16, 2015 at 2:55 PM, Chris Kennedy notifications@github.com
wrote:

Yeah I was just noticing that the current dev code doesn't even build on
EC2 right now due to using the old AMI - it hangs while waiting for SSH to
be enabled.

The new AMIs are listed at
https://cloud-images.ubuntu.com/releases/15.04/release/ so I'm testing
the hvm-ssd one now.


Reply to this email directly or view it on GitHub
#49 (comment).

@ck37
Copy link
Contributor Author

ck37 commented Jul 23, 2015

Ok, I have created BCE-2015-summer AMIs on us-west-2 (ami-1f121e2f) and us-west-1 (ami-859469c1) with the latest source code and made them public. These are hosted on the D-Lab AWS account. Closing this issue.

@ck37 ck37 closed this as completed Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants