Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kenzo0107/ri-utilization-plotter
Lambda Function that plot AWS Reserved Utilization/Coverage
https://github.com/kenzo0107/ri-utilization-plotter
aws aws-sdk-go datadog golang
Last synced: 2 days ago
JSON representation
Lambda Function that plot AWS Reserved Utilization/Coverage
- Host: GitHub
- URL: https://github.com/kenzo0107/ri-utilization-plotter
- Owner: kenzo0107
- License: mit
- Created: 2019-12-22T15:53:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T12:31:34.000Z (over 4 years ago)
- Last Synced: 2024-06-20T15:43:59.809Z (5 months ago)
- Topics: aws, aws-sdk-go, datadog, golang
- Language: Go
- Size: 115 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![logo](logo.png)
[![](https://github.com/kenzo0107/ri-utilization-plotter/workflows/static%20check/badge.svg)](https://github.com/kenzo0107/ri-utilization-plotter/actions?query=workflow%3A%22static+check%22)
[![](https://github.com/kenzo0107/ri-utilization-plotter/workflows/Test/badge.svg)](https://github.com/kenzo0107/ri-utilization-plotter/actions?query=workflow%3ATest)
[![Go Report Card](https://goreportcard.com/badge/github.com/kenzo0107/ri-utilization-plotter)](https://goreportcard.com/report/github.com/kenzo0107/ri-utilization-plotter)
[![codecov](https://codecov.io/gh/kenzo0107/ri-utilization-plotter/branch/master/graph/badge.svg)](https://codecov.io/gh/kenzo0107/ri-utilization-plotter)
[![GoDoc](https://godoc.org/github.com/kenzo0107/ri-utilization-plotter?status.svg)](https://pkg.go.dev/github.com/kenzo0107/ri-utilization-plotter)
[![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/kenzo0107/ri-utilization-plotter/master/LICENSE)This project provides an AWS Lambda application that created and deployed by Serverless Framework for the following purpose:
* Plot below metrics of your AWS Account to Datadog
- AWS Reserved Instance Utilization
- AWS Reserved Instance Coverage### Set SSM Parameter store with description in your AWS account
* datadog_api_key
* datadog_app_key## Invoke Lambda Function in Local
```sh
make local-invoke
```## Deploy Lambda Function
At first, execute `sam deploy --guided` and generate samconfig.toml.
From then, run the following command:
```sh
make deploy
```## Invoke Lambda Function
```sh
aws lambda invoke --function-name ri-utilization-plotter --log-type Tail out.log
```## LICENSE
[MIT License](https://github.com/kenzo0107/ri-utilization-plotter/blob/master/LICENSE)
## Note
Icon made by bqlqn from [www.flaticon.com](https://www.flaticon.com)