Grafana Cloud architecture
This page describes how Grafana Cloud fits into the Observability Platform, following ADR 0004. It sits alongside the Amazon Managed Grafana architecture, which is the platform’s current service.
Status
| Item | Status |
|---|---|
Grafana Cloud stack in AWS London (eu-west-2) using the hybrid model |
In place, on the Pro plan |
| Grafana Cloud Enterprise plan | Decided. To be purchased in Q1 2027 (ADR 0005) |
| CP3 go-live | Live services start moving from CP2 to CP3 in June 2027 |
| Kubernetes metrics in Grafana Cloud | Extended goal. No date set |
| Retirement of Amazon Managed Grafana | No date set |
The hybrid model
In the hybrid model, telemetry is stored in MoJ AWS accounts. Grafana Cloud does not store it: it queries the data on demand and only sees query results.
| Layer | Components | Where it runs |
|---|---|---|
| Visualisation and alerting | Dashboards, alerting, Git Sync, Grafana Assistant, IRM, SLOs | Grafana Cloud stack (UK, AWS eu-west-2) |
| Connection | Private Data Source Connect (PDC) agents over AWS PrivateLink | MoJ AWS accounts |
| Storage | Amazon Managed Service for Prometheus (AMP) for metrics, OpenSearch for logs, CloudWatch | MoJ AWS accounts |
| Collection | ADOT for metrics, Fluent Bit for logs (unchanged from the CP3 design) | CP3 clusters |
| Archive | S3 compliance archive and the feed to the SOC | MoJ AWS accounts |
Grafana Cloud stack (UK, AWS eu-west-2)
Dashboards, Alerting, Git Sync, Grafana Assistant, IRM, SLOs
|
| queries on demand, through PDC over AWS PrivateLink
v
MoJ AWS accounts (data is stored here)
AMP (metrics) OpenSearch (logs) CloudWatch S3 archive -> SOC
^
| ADOT, Fluent Bit
|
CP3 collection (unchanged)
Private Data Source Connect
PDC agents run in each tenant VPC and give Grafana Cloud a private route to the data sources. Things to know when operating it:
- PDC sits in every query. An agent’s performance drops above roughly 100 to 300 requests a second, so each VPC needs several agents.
- Agents authenticate with tokens that are rotated automatically. See #338 and the
observability-platform-grafana-pdc-token-rotatorrepository. - Without label-based access control on data held in AWS, separating business units needs a data source for each one. See #339.
Kubernetes metrics (extended goal)
The extended goal is to send CP3’s Kubernetes metrics to Grafana Cloud, so that teams can use Kubernetes Monitoring and the Knowledge Graph. Application metrics and logs would stay in AWS.
This is not a condition of the CP3 go-live and has no date. The cost depends on cluster size, so it needs CP3’s actual node, container and series counts before it can be estimated reliably. Kubernetes metrics sent to Grafana Cloud would be stored there, so it is expected to need Security approval before it goes ahead.
What the hybrid model does not give us
Some Grafana Cloud features only work on data that is stored in Grafana Cloud. With data left in AWS, these are not available:
- Adaptive Telemetry, which recommends and applies aggregation and dropping of unused telemetry.
- Logs Drilldown.
- Label-based access control, which limits a team to its own namespace, environment or business unit within a shared data source.
- Kubernetes Monitoring and the Knowledge Graph, unless the Kubernetes metrics are sent to Grafana Cloud (the extended goal above).
Data handling
- Stored telemetry stays in MoJ AWS accounts.
- Query results, and Grafana Assistant prompts, pass through Grafana Cloud. Security should review this path.
- Grafana Cloud stacks are in AWS London (
eu-west-2), fixed when the stack was created. - If Grafana Cloud has an incident, telemetry keeps landing in AWS and only the dashboards are affected.
- Dashboards are kept in Git, so they remain portable.
Support
The stack is on the Pro plan, which has 8x5 email support. ADR 0005 records the decision to move to the Enterprise plan in Q1 2027, which adds 24/7 support and an Observability Architect.
Related work
- Separate Amazon Managed Grafana and Grafana Cloud in the codebase (#336)
- Release new terraform-aws-observability-platform-tenant version supporting Grafana Cloud (#337)
- Automate Grafana Cloud PDC token rotation and distribution (#338)
- Design observability tenancy for Cloud Platform teams (#339)
- Define ownership and support model between CP and Observability team (#340)
- Retiring Modernisation Platform AWS Grafana (#330)