Add a container health check
From the AWS console, the Health status of the task is Unknown:
I found the docs on how to add an health check here.
We could define an health check to tell AWS when the app is ready to accept requests. E.g. the health check can be an http endpoint, so that we start receiving requests after the http server started.
What do you think?
Yeah, that makes sense, should be easy to implement.
the aws dashboard still shows "unknown" so I need to investigate
https://github.com/rust-lang/simpleinfra/pull/559 I'll merge this tomorrow and check if it works in staging 👍
Thanks! Bors is an important service (well, this specific bors instance hopefully will be important one day :laughing:), so if we can get a health check that could perhaps even alert us in some way if it goes offline, that would be nice.
this specific bors instance hopefully will be important one day 😆
It will 😁
This is now done. Closing this 🎉