https://github.com/rpidanny/ec2-scheduler
A simple serverless app to schedule start / stop EC2 instances based on Tags.
https://github.com/rpidanny/ec2-scheduler
amazon-web-services aws ec2 schedule serverless serverless-framework
Last synced: about 2 months ago
JSON representation
A simple serverless app to schedule start / stop EC2 instances based on Tags.
- Host: GitHub
- URL: https://github.com/rpidanny/ec2-scheduler
- Owner: rpidanny
- Created: 2019-05-21T10:10:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T14:26:11.000Z (about 7 years ago)
- Last Synced: 2025-02-14T13:48:56.132Z (over 1 year ago)
- Topics: amazon-web-services, aws, ec2, schedule, serverless, serverless-framework
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ec2-scheduler
A simple serverless app to schedule `start` / `stop` EC2 instances based on Tags.
## Requirements
- [aws cli](https://aws.amazon.com/cli/)
- [serverless](https://serverless.com)
## Configure
- Copy `src/config.example.js` to `src/config.js`
- Edit `filterTag` with your EC2 Tag in `src/config.example.js`
- Edit function schedule event in `serverless.yml`
## Deploy
- `npm i`
- `serverless deploy`