In addition to the two foundational Cloud Intelligence Dashboards CUR Dashboards, Cost Intelligence Dashboard and CUDOS, we have service and specific use case dashboards that help you dive deeper and gain additional insights.
The Trends Dashboard provides Financial and Technology organizational leaders access to proactive trends, signals, insights and anomalies to understand and analyze their AWS cloud usage.
This guide requires that you’ve already deployed the Cloud Intelligence Dashboards.
python3 -m ensurepip --upgrade
pip3 install --upgrade cid-cmd
cid-cmd deploy
NOTE: All dashboards should be validated before use. |
---|
The Data Transfer Dashboard is an interactive, customizable and accessible QuickSight dashboard to help customers gain insights into their data transfer. It will analyze any data transfer that incurs a cost such as outbound internet and regional data transfer from all services.
This dashboard contains data transfer breakdowns with the following visuals:
The FAQ for this dashboard is here.
The Data Transfer Dashboard is an interactive, customizable and accessible QuickSight dashboard to help customers gain insights into their data transfer. It will analyze any data transfer that incurs a cost such as outbound internet and regional data transfer from all services.
This dashboard contains data transfer breakdowns with the following visuals:
Ensure you have requested access to the Cost Intelligence template here.
The data source for the dashboard will be an Athena view of your existing Cost and Usage Report (CUR).
Login via SSO in your Cost Optimization account, go into the Athena console:
Create the Data Transfer view by modifying the following code, and executing it in Athena or using aws cli:
NOTE The Athena Views are updated to reflect any additions in the cost and usage report. If you created your dashboard prior to July 26, 2020 you will want to update to the latest views. |
---|
We will now create the data sets in QuickSight from the Athena views.
Go to the QuickSight service homepage
Click on the Datasets and then click on New dataset
Click Athena
Enter a data source name of DataTransfer_Cost_Dashboard and click Create data source:
Select the costmaster database, and the data_transfer_view table, click Edit/Preview data:
**NOTE:**If you have large data for data transfer in CUR, we do NOT recommend using SPICE when setting up your data set in QuickSight, you can quickly use up the 10GB/user allocation and start to incur additional charges. Please use your judgment before enabling it. |
---|
Select SPICE to change your Query mode:
Click on region to get the drop down arrow and click on it, then hover over Change data type then select # String
Select Save & Publish and then Click on Cancel:
Select the data_transfer_view Data Set:
Click Schedule refresh:
Click Create:
Enter a schedule, it needs to be refreshed daily, and click Create:
Click Cancel to exit:
Click the x in the top corner:
We will now use the CLI to create the dashboard from the Data Transfer Cost and Usage Analysis Dashboard template, then create an Analysis you can customize and modify in the next step.
If you have not requested access, go to this we page to request access to the template: Template Access
Edit the following command, replacing AccountID with your account ID, and region with the region you are working in, then using the CLI list the QuickSight datasets and copy the Name and Arn for the dataset: data_transfer_view:
aws quicksight list-data-sets --aws-account-id (AccountID) --region (region)
{
"Arn": "arn:aws:quicksight:us-east-1:<your account id>:dataset/fc0cf1eb-173b-4aca-93b6-f58784637732",
"DataSetId": "fc0cf1eb-173b-4aca-93b6-f58784637732",
"Name": "data_transfer_view",
"CreatedTime": "2020-08-09T23:06:41.666000-04:00",
"LastUpdatedTime": "2020-08-11T23:15:35.438000-04:00",
"ImportMode": "SPICE"
}
Get your users Arn by editing the following command, replacing AccountID with your account ID, and region with the region you are working in, then using the CLI run the command:
aws quicksight list-users --aws-account-id (AccountID) --namespace default --region (region)
{
"Arn": "arn:aws:quicksight:us-east-1:<your account id>:user/default/<your user>",
"UserName": "<your user>",
"Email": "<your user email>",
"Role": "ADMIN",
"Active": true,
"PrincipalId": "<principal id>"
}
Create a local file create-data-transfer-dashboard.json with the text below, replace the values (Account ID) with your account ID on line 2 and line 25, (User ARN) with your user ARN on line 7, and (DataTransfer view Dataset ID) with your dataset ARN on line 25:
{
"AwsAccountId": "(Account ID)",
"DashboardId": "data_transfer_cost_analysis_dashboard_enhanced",
"Name": "DataTransfer Cost Analysis Dashboard Enhanced",
"Permissions": [
{
"Principal": "(User ARN)",
"Actions": [
"quicksight:DescribeDashboard",
"quicksight:ListDashboardVersions",
"quicksight:UpdateDashboardPermissions",
"quicksight:QueryDashboard",
"quicksight:UpdateDashboard",
"quicksight:DeleteDashboard",
"quicksight:DescribeDashboardPermissions",
"quicksight:UpdateDashboardPublishedVersion"
]
}
],
"SourceEntity": {
"SourceTemplate": {
"DataSetReferences": [
{
"DataSetPlaceholder": "data_transfer_view",
"DataSetArn": "arn:aws:quicksight:us-east-1:(Account ID):dataset/(DataTransfer view Dataset ID)"
}
],
"Arn": "arn:aws:quicksight:us-east-1:869004330191:template/data-transfer-aga-est-cost-analysis-template-enhanced-v1"
}
},
"VersionDescription": "1"
}
To create the dashboard from the template, edit then run the following command, replacing (region) with the region you are working in, and you should receive a 202 response:
aws quicksight create-dashboard --cli-input-json file://create-data-transfer-dashboard.json --region (region)
After a few minutes the dashboard will become available in QuickSight under All dashboard, click on the Dashboard name:
Follow step 7 if you do not see your dashboard
Edit and run the following command:
aws quicksight describe-dashboard --aws-account-id (Account ID) --dashboard-id data_transfer_cost_analysis_dashboard --region (region)
Correct the listed errors and run the delete-dashboard command followed by the original create-dashboard command:
aws quicksight delete-dashboard --aws-account-id (Account ID) --dashboard-id data_transfer_cost_analysis_dashboard --region (region)
NOTE: You have successfully created the analysis from a template. For a detailed description of the dashboard read the FAQ |
---|
Now that you have your dashboard created you can share your dashboard with users or customize your own version of this dashboard