Separate the dashboard from access to its data
How to create, update, and share dashboards whose metric and alarm widgets display resources across accounts and Regions. · associate
A CloudWatch dashboard is a saved layout of widgets. Dashboards are global within an AWS account, but the metrics and alarms they display belong to particular accounts and Regions. A dashboard brings those views together; it does not move the underlying resources or metric data.
For the CloudWatch cross-account cross-Region console setup, configure each source account to share data with the monitoring account through CloudWatch Settings. This creates the CloudWatch-CrossAccountSharingRole. Its trust identifies the permitted monitoring account, and its permissions determine what that account can read. Include access to alarms when alarm widgets are required.
In the monitoring account, enable cross-account viewing in CloudWatch Settings. CloudWatch uses the service-linked role AWSServiceRoleForCloudWatchCrossAccount to access the sharing roles. This source-side permission and monitoring-side setup must exist before adding a remote widget can produce a useful view.
| Responsibility | Source account | Monitoring account |
|---|---|---|
| Resources | Owns metrics and alarms | Hosts the combined dashboard |
| Access setup | Allows the monitoring account | Enables cross-account viewing |
| Role | Cross-account sharing role | CloudWatch service-linked role |