- Newest
- Most votes
- Most comments
Hi.
Does the Application load balancer adapt to 1 of the target group entries being down?
Yes. If you set weight to a target group, a portion of traffic will be sent to the target group regardless of its health state.
Or do I need a Network load balancer?
As shown in the page below, network load balancer can only have one target group for each listener, so you can't split traffic between two versions of your app.
https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_ForwardActionConfig.html
What do I need to do to get my domain to serve from the load balancer? I am guessing it has something to do with HTTP Headers?
Instead of A record, you can use CNAME record. If you want app.example.com to point to your ALB, create a CNAME record with name app.example.com
and set its value to your ALB's DNS name (e.g., my-alb.us-west-2.elb.amazonaws.com
).
Relevant content
- Accepted Answerasked 7 months ago
- asked 3 months ago
- asked 5 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
I haven't been able to NOT set a weight to the target group in UI. I have two target groups "target 1" listening on 8080 and "target 2" listening on 8081. When I select target 1 in my rule, it sets the weight to 1. then i select target 2 and it sets the weight to 0. Not sure what I am doing wrong
as far as serving via my DNS name, When I am RDPd into the EC2 host I can use ww2.<mydomain.com> and it works. I does not work outside of the EC2 instance. Not sure what to check for. thanks for your help
Charlie D