Production readiness checklist: Materialize Cloud
View as MarkdownWork 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 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.
Define your targets
- 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
- 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_timeoutis 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
- 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
- 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
- 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
- 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
- Applications retry, reconnect, and use connection pooling
-
SUBSCRIBEclients 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
- 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 anapplication_name - Your team knows how to report a production outage in the Support Center
Materialize Cloud
- Your region is connected to a monitoring tool such as Datadog or Grafana (Operating Materialize in production, section 6)
- Your team is subscribed to the Materialize status page
- Your team knows when the weekly maintenance window is, avoids risky changes during it, and mutes expected alerts