While experimenting with AWS EC2 instances, there is the possibility that you might leave one or more instances running overnight or over the weekend accidentally,
resulting in higher bills! This Lambda function utilizes CloudWatch's scheduled events capability (similar to cron
) to trigger the start and/or stop functions.
This code traverses all available AWS Regions.
- Configure the
serverless.yml
configuration to represent your serverless IAM role - Simply execute
serverless deploy -v
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
This project is licensed under the MIT License.