title: Fargate container is never killed because of the load balancer health check
body: <p>AWS Fargate as a concept is an amazing service. It allows you to downscale your service to 0 instances when it's not actively used, or at least this is how it is advertised. In practise I'm having a hard time making this happen. As far as I can tell, you do need a load balancer in front of Fargate, and ALB automatically performs health check requests every 30 seconds, preventing the container from ever going to sleep. The maximum time for the health check is 300 seconds. Not much really taken into account that the service will be needed only for like 15 minutes a day. What is the right way of exposing the Fargate-based application to the world in such a way that it actually goes down when not used?</p>