Using AWS Lambda to Start or Stop EC2 instances
- We need to write code to manage resources in your AWS Account
- For communicating with AWS, We can use
- Console
- CLI
- SDK
- AWS SDK for python is called as boto3 Refer Here
- Refer Here for the python program to start or stop ec2 instances from code
- Next Step: Run this code from aws lambda.