Hi all, trying to set up an alb to route traffic to an ec2 instance but its not working. Looking in the AWS web UI I see that the target shows the message “Target is in an Availability Zone that is not enabled for the load balancer”. In the target definition I have “availabilityZone: server.availabilityZone,” but thats clearly not working. Is there a good way to make sure the instance, alb and target all land in the right azs?
03/24/2020, 4:09 AM
I think you also need to make sure the zones of the subnets on the ALB itself align to the zones of your subnets on your instances.
@bitter-zebra-93800 were you able to get this working?