Deploying units with a specific AMI

Gary Poster gary.poster at canonical.com
Fri Apr 27 10:55:35 UTC 2012



On Apr 27, 2012, at 6:29 AM, Benji York <benji.york at canonical.com> wrote:

> On Fri, Apr 27, 2012 at 3:47 AM, Clint Byrum <clint at ubuntu.com> wrote:
>> Excerpts from Graham Binns's message of Thu Apr 26 12:47:41 -0700 2012:
>>> Hi all,
>>> 
>>> Long story short: I'd like to be able to launch Juju nodes on EC2
>>> using a specific AMI. I know I used to be able to do this by setting
>>> default-image-id in my environments.yaml, but this now causes Juju to
>>> shout at me and then exit. Clint mentioned that he thought there was a
>>> way to use default-image-id still, but he couldn't recall it. Does
>>> anyone know what it might be?
>>> 
>>> To save bikeshedding, I know that this is not the best way to do
>>> things. I'm looking to solve a particular problem and whilst there are
>>> other, more elegant solutions I'd quite like to know if my original,
>>> ugly solution could actually work.
>>> 
>> 
>> I've had all day to think about this, and I actually think we should
>> really think about taking more advantage of snapshots and images in Juju.
>> 
>> I have to wonder if we should consider having a flag for deploy that
>> will take a snapshot right after the 'install' hook has run.
> 
> This functionality would have saved my team many hours of waiting for
> our absurdly long-running charm install over the last few months.

True, and a big +1 to the idea. 

> -- 
> Benji York
> 
> -- 
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju



More information about the Juju mailing list