AWS Lambda
AWS Lambda is yet another amazing service that allows us to run code without making provision for any servers.
One of the things that makes it great is that we just have to upload our code in Lambda and Lambda will take care of all the things related to scaling and high availability.
Things that make it special for the security and DevOps folks is that we can make the Lambda code trigger automatically from other AWS services such as CloudWatch.
Cost optimization
Large Corp. has 700 servers on AWS, out of which 100 servers are a part of the Dev environment. Due to the increased monthly cost of AWS, there has been pressure from higher management to optimize the resources. In response to this, your team has decided that all the 100 servers that are part of the Dev environment will be shut down at night and started in the morning.
Since shutting down at night and starting in the morning manually is a difficult task, you have decided to automate it with a Python script.
Since a new service...