# Customer responsibility model (Self-managed)
The shared responsibility model for self-managed Materialize deployments.

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


Self-managed Materialize follows a **shared responsibility model**: Materialize
develops, releases, and supports the software, and you run the platform it
depends on. This page outlines that split. If you use Materialize Cloud, see
the
[Materialize Cloud customer responsibility model](https://materialize.com/docs/markdown-docs/materialize-cloud/customer-responsibilities/index.md)
instead.

## Every deployment

These responsibilities apply to the database itself, whether you use
Materialize Cloud or run Materialize Self-Managed yourself. For how to put them into
practice, see
[Operating Materialize in production](https://materialize.com/docs/markdown-docs/production-readiness/operating-materialize/index.md).

### Backup of source data

The data of record is expected to be maintained in your upstream systems.
Customers are responsible for maintaining backups of their original data:

- **Regular backups.** Implement backup schedules that align with your data
    recovery and business continuity plans.

- **Data integrity.** Verify the integrity of backups to ensure data is
    complete and accurate, enabling effective recovery if needed.

- **Secure storage.** Use secure and reliable storage to protect your backups
    from unauthorized access and data loss.

### Recovery

Responsibility for recovery from data connectivity issues rests with the
customer. In the event of an outage or disruption, customers are expected to:

- **Connection recovery.** Re-establish connections to Materialize promptly to
    minimize downtime.

- **Data resynchronization.** Where data streaming is interrupted, have
    mechanisms in place to resynchronize any missing data once connectivity is
    restored.

- **Monitoring and alerts.** Implement monitoring to quickly detect and respond
    to connectivity issues.

### Account management

User accounts and permissions are set by the customer using native
[access control](https://materialize.com/docs/markdown-docs/security/index.md) features. Configure role-based access control
(RBAC), and audit and monitor user activity.

### Data accuracy

Materialize is the data processor and our customers are the data controllers.
Data accuracy and completeness is fully controlled by platform users.

### Data governance

Materialize customers have full responsibility for responding to customer data
privacy and governance requests. For details, see our
[Privacy Policy](https://materialize.com/privacy-policy/).

### Responsibility matrix: every deployment

| Area | Materialize responsibilities | Customer responsibilities |
|------|------------------------------|---------------------------|
| Backups | | - Source data backups<br>- Integrity and security of source data backups |
| Connection recovery | | - Re-establish dropped connections<br>- Data resynchronization<br>- Monitoring and alerting on connection failure<br>- Client-side disaster recovery |
| Data | - Data processing integrity and correctness | - Data accuracy and quality<br>- Data privacy compliance<br>- Data governance<br>- Data retention policies |
| Access control | - Enforce customer-configured authorization controls | - Create and manage users, roles, and permissions<br>- Configure role-based access control (RBAC)<br>- Audit and monitor user activity |

## Self-managed deployments

On self-managed, your team owns the platform under Materialize. For how to
operate each of these areas, see
[Operating self-managed deployments](https://materialize.com/docs/markdown-docs/production-readiness/self-managed-operations/index.md).

### Platform

You run and are responsible for Kubernetes and node capacity, the metadata
database, object storage, networking, TLS certificates, and credentials, per
the [deployment guidelines](https://materialize.com/docs/markdown-docs/self-managed-deployments/deployment-guidelines/index.md).
Materialize is responsible for the behavior of the software you deploy on it.

### Backup and recovery

In addition to source data backups, you are responsible for backing up
Materialize's own state: the metadata database and the object storage bucket.
Follow [Backup and restore](https://materialize.com/docs/markdown-docs/self-managed-deployments/backup-and-restore/index.md),
including turning on bucket versioning before Materialize first starts.
Disaster recovery of the deployment is yours to plan and test.

### Configuration and upgrades

You decide when to upgrade and how Materialize is configured. Materialize
publishes [release versions](https://materialize.com/docs/markdown-docs/self-managed-deployments/release-versions/index.md) with
fixes and security patches, and the supported paths in the
[upgrade guide](https://materialize.com/docs/markdown-docs/self-managed-deployments/upgrading/index.md). Staying on a supported
version is your responsibility.

### Monitoring

You collect and retain metrics and logs and route alerts, using the bundled
monitoring stack or your own platform. See
[Self-managed observability](https://materialize.com/docs/markdown-docs/observability/self-managed/index.md).

### Responsibility matrix: self-managed

| Area | Materialize responsibilities | Customer responsibilities |
|------|------------------------------|---------------------------|
| Software | - Develop and release Materialize<br>- Fixes and security patches, delivered in releases<br>- Documentation and support | - Deploy supported versions<br>- Apply upgrades |
| Infrastructure | | - Kubernetes and node capacity<br>- Metadata database operation and high availability<br>- Object storage<br>- Network, TLS certificates, and credentials |
| Backups | | - Metadata database backups<br>- Object storage bucket versioning<br>- Source data backups<br>- Disaster recovery of the deployment |
| Configuration and upgrades | - Supported upgrade paths and release notes | - Configuration management<br>- Testing and rolling out upgrades |
| Security | - Security patches, delivered in releases | - Platform and network security<br>- Authentication configuration<br>- Applying releases that carry security fixes |
| Monitoring | | - Collecting and retaining metrics and logs<br>- Alert routing and on-call |

## Before go-live

For how to meet your side of this model in practice, see
[Operating self-managed deployments](https://materialize.com/docs/markdown-docs/production-readiness/self-managed-operations/index.md)
and work through the
[self-managed production readiness checklist](https://materialize.com/docs/markdown-docs/production-readiness/checklist/self-managed/index.md).
