Skip to content

Send the statistics information of EC2 instances to the Slack channel.

License

Notifications You must be signed in to change notification settings

hirayama/Lambda-EC2Stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda-EC2Stat

Send the statistics information of EC2 instances to the Slack channel.

style

=====================
2016-05-19 13:01:07 UTC
[m3.large]:
    running: 1
[m3.medium]:
    running: 3
[c3.large]:
    running: 28
    terminated: 2
[m1.small]:
    running: 8
[t1.micro]:
    running: 4
[r3.xlarge]:
    running: 1
[t2.small]:
    running: 1
[c1.medium]:
    running: 5
[r3.large]:
    running: 1
[c3.xlarge]:
    running: 1
-----
total:
    running: 53
    terminated: 2
=====================

Settings for Lambda

  • choose the "lambda-canary" function.
  • Upload the zip file.

Need to do

  • edit src/credential.json
  • input the slack url, slack channel and message user name on index.js.

About

Send the statistics information of EC2 instances to the Slack channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published