RHInception / jsonstats

system stats over rest in json (buzzzzwords here)
MIT License
22 stars 8 forks source link

Support for Amazon Web Services Metadata API. #22

Closed kelcecil closed 8 years ago

kelcecil commented 10 years ago

One possibility is to add plugins to support data regarding cloud provider's apis. For example, Amazon Web Services has a Metadata API that allows you to programmatically find out details about the instance you are running on (hardware, security groups, profiles, etc) just by making an http request to 169.254.169.254.

You probably wouldn't want ALL of the data from that API, but information such as security groups, public and private IP and DNS (private is useful to minimize costs between instances on Amazon's network and to help ensure optimal routing), availability zone and region, etc would be useful at a glance.

A plugin integrating that information with the additional information regarding what's on the box would be really useful.

kelcecil commented 10 years ago

Other cloud providers such as Red Hat OpenShift probably have similar APIs that would provide useful information, and I think they'd be worth the time to look into as well. I'm just well-versed in AWS and know how useful this would be.