Stack-Status
A NodeJS app for gathering data from ELB, EC2 and CloudWatch to aggregate them to show the status of a stack.
This is used for a specific cloud setup where custom tags are used in the naming of EC2 instances which are consistant.
Will be adding other API's for Redshift, ElasticSearch and other servcies soon.
Install
npm i stack-status --S
Config
const config = region: '' // aws region secretAccessKey: '' // aws secretAccessKey accessKeyId: '' // aws accessKeyId name: '' // aws tag for instance name env: '' // aws tag for enviroment;
Construct the class
const stack = config;
Get stack status
stackstatus { if err throw err; console;};
Stack Status Response
Get SQS status
stack;
SQS status response
Other Public APIs
stack.status()
combines the below methods and returns aggregated JSON, but the methods are available by themselves.
Get EC2's
stack;
Get ELBs
stack;