Using a NodeBalancer as failover

I was planning to use NodeBalancers to automatically fail-over from one server to another in the event of a failure of the primary server like this…
[Web Server A] [Web Server B] [Web Server A] fails I would like the traffic to go (automatically) to [Web Server B].

I have tried everything I know and has been suggested including setting [Web Server B] as 'Backup' but to no avail - traffic is still being routed to [Web Server A] even when it is down.

Can anyone help?

1 Reply

The NodeBalancer should be performing active and passive health checks on the backend nodes to determine whether they can accept connections. You may need to alter your settings in order to force an earlier down reading, or adjust your settings for active health checks to one based on HTTP responses. Your health checks may only be verifying that the node itself is up and not checking to ensure a valid HTTP response. You're also always welcome to open a Support ticket for a more specific look at your NodeBalancer.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct