DataTransfer Cost Analysis Dashboard
Introduction
The Data Transfer Dashboard is an interactive, customizable and
accessible Quick Sight dashboard to help customers gain insights into
their data transfer. It will analyze any data transfer that incurs a
cost such as outbound/internet, Inter Region and Inter AZ data transfer
from all services.
This dashboard contains data transfer breakdowns with the following
visuals:
-
Data Transfer Summary
-
Internet Data transfer, AWS Global Accelerator cost estimation details
-
Regional Data transfer Details
-
Data transfer AZ
-
CloudFront Cost and Usage Analysis
Demo Dashboard
Get more familiar with Dashboard using the live, interactive demo
dashboard following this
link
Prerequisites
Deployment
Example
- 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 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
-
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 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
If using CloudShell, use the following instead:
sudo yum install python3.11-pip -y
python3.11 -m pip install -U cid-cmd
-
In your command-line interface run the following command to deploy the dashboard:
cid-cmd deploy --dashboard-id datatransfer-cost-analysis-dashboard
Please follow the instructions from the deployment wizard. More info about command line options are in the
Readme
or cid-cmd --help.
- Terraform
-
You can deploy the Data Transfer Cost Analysis Dashboard using the CID Terraform module.
-
In your user-config.tf, find the dashboards block and set datatransfer to "yes":
datatransfer = "yes" # Data Transfer Cost Analysis Dashboard
-
Ensure the following module block is present in your dashboards.tf:
module "datatransfer_dashboard" {
source = "./modules/cloudformation_stack"
providers = {
aws = aws.datacollection
}
config = local.additional_dashboards.datatransfer
}
This block is already included if you are using the full module files from the repository. If your existing deployment only has foundational dashboards, add this block to dashboards.tf manually. For individual dashboard deployments, include depends_on = [module.cloud_intelligence_dashboards] to ensure correct ordering.
-
Run the Terraform workflow:
terraform init
terraform plan
terraform apply
If you are adding this dashboard to an existing Terraform deployment, terraform plan will show the additional stack to be created. The dashboards.tf file handles the resource definitions automatically — no manual edits to it are needed. If you have a custom module structure with a separate path, ensure the source parameter in your module block points to the correct location.
For detailed instructions, refer to the Terraform Deployment README.
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 datatransfer-cost-analysis-dashboard
Authors
Feedback & Support
Follow Feedback & Support guide
These dashboards and their content: (a) are for informational
purposes only, (b) represent current AWS product offerings and
practices, which are subject to change without notice, and (c) does not
create any commitments or assurances from AWS and its affiliates,
suppliers or licensors. AWS content, products or services are provided
"as is" without warranties, representations, or conditions of any
kind, whether express or implied. The responsibilities and liabilities
of AWS to its customers are controlled by AWS agreements, and this
document is not part of, nor does it modify, any agreement between AWS
and its customers.