tack icon indicating copy to clipboard operation
tack copied to clipboard

workers are all in one availability zone

Open nkhine opened this issue 8 years ago • 3 comments

setting up the latest tack cluster it seems the workers are all created in one availability zone!

screenshot from 2017-06-25 08-37-55

how do i spread these?

nkhine avatar Jun 25 '17 07:06 nkhine

Something like this:

modules/worker/ec2.tf
@@ -1,4 +1,5 @@
 resource "aws_launch_configuration" "worker" {
+   availability_zones        = ["us-east-1a", "us-east-1b", "us-east-1c"]
   ebs_block_device {
     device_name = "/dev/xvdf"
     volume_size = "${ var.volume_size["ebs"] }"

More info: https://www.terraform.io/docs/providers/aws/d/availability_zones.html

bruj0 avatar Jun 25 '17 07:06 bruj0

like this:

https://github.com/kz8s/tack/pull/182/files

cemo avatar Jun 25 '17 08:06 cemo

nice one, thank you

On 25 June 2017 at 09:12, Cemalettin Koc [email protected] wrote:

like this:

https://github.com/kz8s/tack/pull/182/files

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kz8s/tack/issues/195#issuecomment-310889275, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFMWDVc0mx6hABeYtTO4X_r_v9EJOYqks5sHhaBgaJpZM4OEin1 .

-- %>>> "".join( [ {'':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,)&uzq^zqf" ] )

nkhine avatar Jun 25 '17 09:06 nkhine