We are using AWS ELB to offload SSL and load balance the incoming traffic. If all instances are down/unhealthy the ELB just sends back a blank page with HTTP status 503.
Is it possible to send a static page, to indicate maintenance, for example?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityWe are using AWS ELB to offload SSL and load balance the incoming traffic. If all instances are down/unhealthy the ELB just sends back a blank page with HTTP status 503.
Is it possible to send a static page, to indicate maintenance, for example?
You have a couple options I can think of:
/
... it sounds a little convoluted but avoids nasty browser caching of DNS, which may make browsers stick to either the ELB or the fallback host until all browser windows are closed. Discovered this the hard way, testing Route 53 failover. CloudFront, by contrast, honors DNS TTLs in the origin server hostname lookup.
– Michael - sqlbot
Jun 21 '16 at 17:51