ocaml-attic / mirari

Mirage Application Builder
6 stars 5 forks source link

Import an updated version of avsm's ec2.sh AMI bundling script #13

Closed mcclurmc closed 11 years ago

mcclurmc commented 11 years ago

The script works now, but could definitely use some polishing (currently requires you to edit it it to specify S3 bucket name and AMI name). It'd be nice if this could be incorporated into a 'mirari bundle' command.

avsm commented 11 years ago

I'll leave this one to @vbmithr -- it would be best to leave it as a shell script to customise, but be called from mirari as part of the run phase.

mcclurmc commented 11 years ago

Having mirari call a modified version of this script would certainly be simpler than trying to do this all in mirari using the aws library. It would be nice to be able to specify EC2 parameters in the .conf file.

djs55 commented 11 years ago

Is there some standard place you're supposed to put EC2 parameters, like a dotfile used by other command-line tools? Also, have I shot myself in the foot now that I've enabled 2 factor auth on my EC2 account?

On Mon, May 27, 2013 at 3:09 PM, Mike McClurg notifications@github.comwrote:

Having mirari call a modified version of this script would certainly be simpler than trying to do this all in mirari using the aws library. It would be nice to be able to specify EC2 parameters in the .conf file.

— Reply to this email directly or view it on GitHubhttps://github.com/mirage/mirari/pull/13#issuecomment-18500377 .

Dave Scott

mcclurmc commented 11 years ago

I think the "standard" place is in environment variables. I'm not sure about the two-factor auth, though. You don't have one of those RSA token-like things, do you?

djs55 commented 11 years ago

Nah, it works with some standard protocol supported by google authenticator for iOS and android. Very slick setup involving the phone camera and a QR code.

On Monday, May 27, 2013, Mike McClurg wrote:

I think the "standard" place is in environment variables. I'm not sure about the two-factor auth, though. You don't have one of those RSA token-like things, do you?

— Reply to this email directly or view it on GitHubhttps://github.com/mirage/mirari/pull/13#issuecomment-18506494 .

Dave Scott

vbmithr commented 11 years ago

Thanks!