# Production readiness checklist: Materialize Cloud
The production readiness checklist for Materialize Cloud deployments.

> For the complete documentation index, see [llms.txt](https://materialize.com/docs/llms.txt).


Work through this checklist with your team before go-live, and again whenever
your setup changes. Each heading links to the guide section that explains it.
If you run Materialize yourself, use the
[Self-Managed checklist](https://materialize.com/docs/markdown-docs/production-readiness/checklist/self-managed/index.md)
instead.

To track this checklist in your own repository, wiki, or issue tracker, use
**View as Markdown** at the top of this page and save the file.

## Every deployment

These items come from
[Operating Materialize in production](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md).

### [Define your targets](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#1-define-what-down-means)

- [ ] Freshness and latency targets and outage thresholds are written down for
      each critical object
- [ ] Baseline freshness and latency have been measured for at least a week,
      including the busiest day

### [Control access and queries](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#2-control-what-runs-on-production-clusters)

- [ ] RBAC limits who can create objects on, query, resize, or drop production
      clusters
- [ ] Ad hoc users, BI tools, and AI agents have their own roles, their own
      cluster where possible, and a default cluster per role
- [ ] SSO or MFA is required for people where your deployment supports it
- [ ] A query policy protects each production cluster from ad hoc queries
- [ ] `idle_in_transaction_session_timeout` is set on application, BI, ad hoc,
      and agent roles
- [ ] Application queries are served from clusters with the indexes they need

### [Isolate production and change it safely](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#3-isolate-your-production-environment-and-change-it-safely)

- [ ] Production runs in its own environment, separate from dev, staging, and
      CI
- [ ] Changes deploy through dbt or mz-deploy, not by hand
- [ ] New views are tested in staging, and schema changes use blue/green
      deploys where possible
- [ ] Unused objects and clusters are cleaned up regularly
- [ ] Changes to production are recorded in a change log

### [Size your clusters](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#4-right-size-your-clusters)

- [ ] Production clusters are sized for their peak memory use, including
      rehydration, typically staying at or below about 60% of memory in steady
      state

### [Verify upstream sources and downstream sinks](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#5-upstream-sources-and-downstream-sinks)

- [ ] Owners of each upstream and downstream system know what Materialize
      relies on and coordinate changes with you
- [ ] Upstream change retention covers an extended Materialize outage
- [ ] Source data is backed up on a schedule, with backups verified and stored
      securely

### [Set up monitoring and alerts](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#6-monitor-materialize)

- [ ] Alerts cover memory, CPU, source and replica status, freshness, and query
      latency
- [ ] Sink status and lag are monitored
- [ ] Upstream systems are monitored for health, lag, and change retention
- [ ] Production alerts route to an on-call person

### [Make your applications resilient](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#7-build-resilient-applications)

- [ ] Applications retry, reconnect, and use connection pooling
- [ ] `SUBSCRIBE` clients can resume after a reconnect
- [ ] You've decided what applications do when data is stale
- [ ] The network path to Materialize has no single point of failure
- [ ] Materialize is part of your disaster recovery plan, including how you'd
      re-ingest from source data backups

### [Define your escalation path](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#8-be-ready-to-escalate)

- [ ] Incident contacts, including after hours and someone who can approve
      changes, are shared with Materialize
- [ ] Your team can pull query history from `mz_recent_activity_log`, and every
      application, tool, and agent sets an `application_name`
- [ ] Your team knows how to report a production outage in the
      [Support Center](https://console.materialize.com/support)

## Materialize Cloud

- [ ] Your region is connected to a monitoring tool such as
      [Datadog](https://materialize.com/docs/markdown-docs/observability/cloud/datadog/index.md) or
      [Grafana](https://materialize.com/docs/markdown-docs/observability/cloud/grafana/index.md)
      ([Operating Materialize in production, section 6](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md#6-monitor-materialize))
- [ ] Your team is subscribed to the
      [Materialize status page](https://status.materialize.com/)
- [ ] Your team knows when the weekly maintenance window is, avoids risky
      changes during it, and mutes expected alerts
