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

feita há 4 anos272 visualizações
2 Respostas
0

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

respondido há 4 anos
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

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas