An open API service indexing awesome lists of open source software.

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.

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`