Deployment
Deployment
- CloudFormation
-
Prerequisite: To install this dashboard using CloudFormation, you need to install Foundational Dashboards CFN with version v4.0.0 or above as described here
-
Log in to your Data Collection Account.
-
Click the Launch Stack button below to open the pre-populated stack template in your CloudFormation.
-
You can change Stack name for your template if you wish.
-
Leave Parameters values as it is.
-
Review the configuration and click Create stack.
-
You will see the stack will start in CREATE_IN_PROGRESS. Once complete, the stack will show CREATE_COMPLETE status
-
You can check the stack output for dashboard URLs.
Troubleshooting: If you see error "No export named cid-CidExecArn found" during stack deployment, make sure you have completed prerequisite steps.
- Command Line
-
Alternative method to install dashboards is the cid-cmd tool.
-
Log in to your Data Collection Account.
-
Open up a command-line interface with permissions to run API requests in your AWS account. We recommend to use CloudShell.
-
In your command-line interface run the following command to download and install the CID CLI tool:
pip3 install --upgrade cid-cmd
-
In your command-line interface run the following command to deploy the
dashboard:
cid-cmd deploy --dashboard-id scad-containers-cost-allocation
Please follow the instructions from the deployment wizard. More info about command line options are in the
Readme
or cid-cmd --help.
Please note that DataExport can take up to 24-48 hours to deliver the
first reports. If you just installed Data Exports, the dashboard will be
most likely empty. Please come back after 24 hours.
Update
Please note that dashboards are not updated with update of
CloudFormation Stack. When new version of the dashboard template is
released, you can update your dashboard by running the following command
in your command-line interface:
cid-cmd update --dashboard-id scad-containers-cost-allocation
Note:
Starting from version (v2.0.0), the scad_cca_hourly_resource_view
QuickSight dataset and Athena view are no longer used by the dashboard,
and can be deleted.
Please check the SCAD Containers Cost Allocation Dashboard v2.0.0 changelog for more information.