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

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.

Awesome Lists containing this project

README

          

# AWS Reserved Instance Checker
[![CircleCI](https://circleci.com/gh/kirkchen/aws_reserved_instance_checker.svg?style=shield)](https://circleci.com/gh/kirkchen/aws_reserved_instance_checker)
[![codecov](https://codecov.io/gh/kirkchen/aws_reserved_instance_checker/branch/master/graph/badge.svg)](https://codecov.io/gh/kirkchen/aws_reserved_instance_checker)
[![npm version](https://badge.fury.io/js/aws_reserved_instance_checker.svg)](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
```