I’m working on a project that uses ECS, EFS and RDS to deploy multiple different Wordpress websites. Trying to use Load Balancers to get a static ip/dns so I can add different domain names for each website (ECS Service). I think I should use Load Balancers because otherwise when an ECS Service/Task goes down I need to reattach the domain when it goes back up again.
So with the Application Load Balancers I got everything to work out. Except the Target Group kept giving 50% Healthy and 50% Unhealty marks. I think this happened because the Application Load Balancer worked in 2 different Availability Zones. For costs reasons I just want to run everything in one Availability Zone. Application Load Balancers must work in two or more Availability Zones, so this Load Balancer will not work for my system.
Next is the Network Load Balancer. Online are not that many resources about them as there are for Application Load Balancer. I tried some different configurations but never got any 2XX responses when I try to go to the DNS of the Network Load Balancer. I can’t attach Security Groups to this Load Balancer and this may be the problem? Or it could be something else I don’t really know..
I would like some advice on what kind of Load Balancer and settings I could use for my system. Also, any other advice is appreciated as well!