AWS Lambda: FaaS tricks to manage autoscaling groups

How AWS Lambda Functions can help you keeping clean your infrastructure. If you have ever used a cloud service like AWS EC2, you already know how much AutoScaling Groups rock. It’s a honeymoon until you deploy a service that, before being shut down, must perform some cleanup. These systems terribly suffer when a scale-in event abruptly kills servers without notice. In this talk we show a very simple and practical example of leveraging FaaS to cleanly shutdown a pool of workers that execute jobs off a queue.