Toggle your EC2 instance to start or stop without have to configure and mantain cron jobs.
The goal of this project is to provide some automation for instances that have to be turned on and turned off regularly.
This project is a simple serverless application prepread to run with AWS Lambda
How it Works
The application will look for instances ids in
instances.json file. With these instances ids, the application will
get each instance state and change to the oposite. For example, if the instance state is
running the application will change to
stopped based on a schedule previously configured.
Cloud Services Available
- Python 3.6
Configure your env vars in
serverless.yml file in
The schedule configuration is also in
Configure your instances ids in
instances.json. See example in
npm install -g serverless
Deploy to Cloud
Obs.: You must configure your credentials to work with
- Prepare for others cloud services