https://github.com/kirkchen/aws_reserved_instance_checker
Check is there any resource not included in active reserved instances and send notification to slack.
https://github.com/kirkchen/aws_reserved_instance_checker
aws nodejs reservedinstances
Last synced: 5 months ago
JSON representation
Check is there any resource not included in active reserved instances and send notification to slack.
- Host: GitHub
- URL: https://github.com/kirkchen/aws_reserved_instance_checker
- Owner: kirkchen
- License: mit
- Created: 2017-07-10T06:39:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-16T04:54:22.000Z (over 8 years ago)
- Last Synced: 2025-10-20T06:40:43.353Z (9 months ago)
- Topics: aws, nodejs, reservedinstances
- Language: TypeScript
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Reserved Instance Checker
[](https://circleci.com/gh/kirkchen/aws_reserved_instance_checker)
[](https://codecov.io/gh/kirkchen/aws_reserved_instance_checker)
[](https://badge.fury.io/js/aws_reserved_instance_checker)
Prevent unexpected cost and make sure all the running instance is covered by reserved instance. Send notification to slack if there is any resource not included in active reserved instances.
## How to use
1. Install AWS Reserved Instance Checker
``` bash
$ npm install -g aws_reserved_instance_checker
```
1. Run
``` bash
$ export AWS_ACCESS_KEY_ID={YOUR AWS ACCESS KEY ID}
$ export AWS_SECRET_ACCESS_KEY={YOUR AWS SECRET KEY}
$ export RICHECKER_WEBHOOK_URL={YOUR SLACK WEBHOOK URL}
$ export RICHECKER_REGION={YOUR AWS REGION (default: us-east-1)} # Optional
$ export RICHECKER_SLACK_CHANNEL={YOUR SLACK CHANNEL} # Optional
$ export RICHECKER_EXCLUDE_PATTERN={INSTANCE YOU WANT TO EXCLUDE} # Optional
$ aws_reserved_instance_checker
```