Mobile app version of vmapp.org
Login or Join
Hamaas447

: Is it possible to show AWS CloudWatch metrics graphs on your own dashboard webpage? Is it possible to show AWS CloudWatch metrics graphs on your own dashboard webpage? It would save the hassle

@Hamaas447

Posted in: #AmazonAws #Metrics

Is it possible to show AWS CloudWatch metrics graphs on your own dashboard webpage?

It would save the hassle of logging into the AWS console when something weird is going on.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

As a basic start, try checking out Google app engine for hosting this project.

Check out the basics of Boto. Then look at using Boto to access cloudwatch data. Build a client that outputs the data you want to the terminal when a function is called.

Take the basic appengine tutorial. Then, look up the basics of webapp2 and the Jinja templating enjine. Make basic pages.

Then, tie this in with your python program. Start the webapp2 file with import [name of your couldwatch python file in the same folder]. Then, in the get handler in your webapp2 program, send [name imported].[function-name]() to your Jinja template to make the page.

This should take a few hours to complete.

Important: There is a reason that Amazon keeps this data behind a login page. Think deeply about the security implications of what you are doing.

I highly recommend password-protecting the webpage that will display the data. If you will already be signed into your Google account, the super-simple way is to use google app engine's built in login mechanism to require administrator login.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme