Skip to content

Automatically manage CloudWatch alarm for EC2 instance credit balance.

License

Notifications You must be signed in to change notification settings

KKBOX/ec2-credit-alarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ec2-credit-alarm

Automatically manage CloudWatch alarm for EC2 instance credit balance.

Requirement

  • npm
  • aws-cli
  • GNU Make

Getting started

Configure Project

  1. Clone this project.
  2. Copy config/default.json.sample to config/PROFILE-REGION.json.
  3. Add actions and setup region in config.

Create IAM Role for Lambda Function

Run make role [PROFILE="PROFILE"] in project root.

Setup Lambda Function and Event Source

Run make setup [PROFILE="PROFILE"] REGION="REGION" in project root.

Update Lambda Function

Run make update [PROFILE="PROFILE"] REGION="REGION" in project root.

About

Automatically manage CloudWatch alarm for EC2 instance credit balance.

Resources

License

Stars

Watchers

Forks

Packages

No packages published