application load balancer schedule changes/maintenance page

0

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

質問済み 4年前312ビュー
2回答
0

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

回答済み 4年前
0

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

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ