application load balancer schedule changes/maintenance page


Hey Everyone who reads,

I'm looking for alternative suggestions. With Covid19 we are cost cutting at work temporarily on some of our on demand servers and have several instances that will be shutdown for few hours each night $$. A colleague is triggering this externally already via our Skeddly account.

During this outage we wish to display a simple html maintenance page.
I have something working in place but believe if i could easily schedule changes to our application load balancer and switch to a static 503 html text (set in the ALB rule) where an existing target group would be could be simpler than what I'm currently doing.
Could changes be schedule with autoscaling, Cloudformation, Lambda/DynamoDB?
(I understand the 503 response is far better for Google and SEO)

My current workaround will help in future for other planned maintenance as it set and forget, I'm just curious what other options you come up with.

I've used Route53 with routing failover routing policy triggered by a health check.
Primary DNS is an alias of ALB
Secondary is either
1 - An S3 bucket DNS Alias http only with a static html file
2 - A Cloudfront DNS Alias that points to the S3 bucket (where we need https as well as http)

What ya got? Thanks in Advance

gefragt vor 4 Jahren310 Aufrufe
2 Antworten

See my 2nd Reply. Happy to still hear for you if you have anything to add.

beantwortet vor 4 Jahren

So for anyone reading I think I will still use Route53 failover/Health Check but simple run a second ALB as the secondary with static 503 html text.
This can handle multiple fqdn's, certs, https redirect and can be 503's to be crawler friendly.
No multiple S3 Buckets or Cloudfront.
I'm happy with this solution.

Edited by: djgrazzy on Mar 26, 2020 11:08 PM

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen