EC2 availability zones and bundles
George Kraft
george.kraft at canonical.com
Fri Jun 15 17:57:41 UTC 2018
Hey folks,
Is there a way to assign units or machines to specific availability zones
on EC2 when deploying from a bundle?
I see there's a way to do it for standalone machines/units with either of
the following:
juju add-machine zone=us-east-1c
juju deploy ubuntu --to zone=us-east-1c
But I'm having trouble finding any way to do it in a bundle. For example, I
can't use the above placement directive in a bundle:
$ cat test.yaml
services:
ubuntu:
charm: "cs:ubuntu"
num_units: 1
to:
- "zone=us-east-1c"
$ juju deploy ./test.yaml
ERROR cannot deploy bundle: the provided bundle has the following errors:
invalid placement syntax "zone=us-east-1c"
Anyone know if there's a way to do it?
Thanks,
George Kraft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20180615/ee69b314/attachment.html>
More information about the Juju
mailing list