How to define ec2 instance type when deploying a charm

Carlos Saraiva saraiva at pobox.com
Fri Jul 12 16:28:11 UTC 2013


Thanks Marco,

However hard I try, I can't get instance-type to work:

$ juju deploy -v mongodb shard1 --constraints "instance-type=m1.medium"
error: invalid value "instance-type=m1.medium" for flag --constraints:
unknown constraint "instance-type"


--
Carlos Saraiva
saraiva at pobox.com



On Fri, Jul 12, 2013 at 9:13 AM, Marco Ceppi <marco.ceppi at canonical.com>wrote:

> Hi Carlos!
>
> You can use "constraints"[0] to drive what types of instances you want
> juju to deploy to. Most juju providers accept basic values like "mem, cpu,
> arch", but some like EC2 also accept instance-type, etc. The document
> linked below goes over how to use constraints with juju on the command line.
>
> [0]: https://juju.ubuntu.com/docs/charms-constraints.html
>
> Thanks,
> Marco Ceppi
>
>
> On Fri, Jul 12, 2013 at 12:02 PM, Carlos Saraiva <saraiva at pobox.com>wrote:
>
>> Hi,
>>
>> Newbie here. Can someone point me to documentation that explains how to
>> create a charm with a specific instance type?
>>
>> Thanks!
>> --
>> Carlos Saraiva
>> saraiva at pobox.com
>>
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130712/89e051ad/attachment.html>


More information about the Juju mailing list