Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to create AWS Dashboard using cloudformation or AWS CLI

I wanted to create an AWS Dashboard using cloudformation but did find a way. Guess AWS has not yet added support for that.

As an alternative is it possible to create that using AWS CLI

like image 687
Arafat Nalkhande Avatar asked Sep 28 '16 12:09

Arafat Nalkhande


People also ask

How do I make an AWS dashboard?

To create a dashboard from the consoleOpen the CloudWatch console at https://console.aws.amazon.com/cloudwatch/ . In the navigation pane, choose Dashboards, and then choose Create dashboard. In the Create new dashboard dialog box, enter a name for the dashboard, and then choose Create dashboard.

How do you make CloudWatch dashboard with CloudFormation?

The following steps are needed to create a CloudWatch dashboard with a custom resource. Create a CloudFormation template and add a Lambda-backed custom resource. Write the code creating, updating, and deleting a CloudWatch dashboard. Generate the JSON code describing the customized dashboard.

How do I run a CloudFormation template in AWS CLI?

Deploying the Stack with AWS CLI and CloudFormation After running the command, navigate to the AWS Console then go to Services → CloudFormation. You should then see the deployment running. After a few minutes, you should then see it enter the CREATE_COMPLETE state. If so, it's complete!

How do I Create a CloudFormation stack in AWS CLI?

To create a stack you run the aws cloudformation create-stack command. You must provide the stack name, the location of a valid template, and any input parameters. Parameters are separated with a space and the key names are case sensitive.


1 Answers

AWS just announced support for this.

https://aws.amazon.com/blogs/aws/new-api-cloudformation-support-for-amazon-cloudwatch-dashboards/

CloudFormation documentation is also available: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dashboard.html

like image 56
Nathan Phetteplace Avatar answered Nov 15 '22 05:11

Nathan Phetteplace