Closed mcclurmc closed 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.
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.
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
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?
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
Thanks!
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.