Deploying units with a specific AMI
Francis J. Lacoste
francis.lacoste at canonical.com
Thu Apr 26 20:11:31 UTC 2012
On 12-04-26 04:09 PM, Jorge O. Castro wrote:
> On Thu, Apr 26, 2012 at 4:04 PM, Francis J. Lacoste
> <francis.lacoste at canonical.com> wrote:
>> juju bootstrap --constraints instance-type=XXX
>>
>> All future deploy not specifying an instance-type constraints will use
>> that one.
>
> Interesting, is that by design? I would have expected for it to always
> follow the default (or a specific image in environments.yaml) unless I
> add the flag.
Yes, it is. Constraints set on bootstrap are "sticky". I think they call
these environment constraints vs services constraints.
environment constraints apply to all deployed services.
services constraints apply to that specific service only
services constraints can override environment constraints.
Cheers
--
Francis J. Lacoste
francis.lacoste at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120426/d5ae9f14/attachment.pgp>
More information about the Juju
mailing list