Learn how to create an AWS Lambda function that automatically shuts down an EC2 instance when it's idle for more than 30 minutes. The article provides step-by-step instructions, including creating IAM policies and roles, setting up the Lambda function, creating triggers with Event Rule, identifying idle instances with a Python

2m read timeFrom awstip.com
Post cover image

Sort: