AWS Builder Center

How to auto stop and auto start AWS EC2 instances using AWS Lambda

How to automatically stop and start an AWS EC2 instance using AWS Lambda

DevOps Engineer | Cloud Infrastructure & Software Engineering Specialist
In this article we will learn how to automatically stop and start an AWS EC2 instance using AWS Lambda, we'll create Lambda function that stop and start your EC2 instances. This function will use Instance tags to identify which instances needs to be start and stop at intervals or certain times that you specify. Then, we'll create CloudWatch events that trigger your functions at intervals or certain times that you specify. You can find the complete tutorial  from this link 
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article