To understand the terminology used on this page, it might be helpful to read through the architecture reference.
What is Metadata?
Metadata in Restate includes critical cluster coordination information:- Cluster membership: Which nodes are part of the cluster and their roles
- Partition assignments: How partitions are distributed across worker nodes
- Service deployments: Registered service endpoints and their versions
- Log configuration: How the replicated log is configured and which nodes participate
Metadata Storage Providers
Restate supports three metadata storage providers, each suited to different deployment scenarios:- Replicated (Default) - Built-in Raft-based consensus metadata server
- Etcd - External etcd cluster integration
- Amazon S3 - We strongly recommend against using other S3-compatible stores for metadata
When to Use Each Provider
Replicated (Default)
The replicated metadata server uses Raft consensus to provide a highly-available metadata store built directly into Restate nodes. Use cases:- Standard production deployments
- On-premises or multi-cloud environments
- Deployments where you want minimal external dependencies
- Environments where you already run stateful services
- Nodes must run the
metadata-serverrole - Persistent storage for metadata server nodes
- Odd number of metadata-server nodes for quorum (typically 3 or 5)
- ✅ No external dependencies - everything runs within Restate
- ✅ Battle-tested Raft consensus for strong consistency
- ✅ Works in any environment (cloud, on-prem, hybrid)
- ⚠️ Needs careful attention to node placement for fault tolerance
- ⚠️ Requires manual provisioning after majority of nodes are up to avoid split brain (other backends safely support auto-provisioning in a multi-node cluster)
Etcd
Use an external etcd cluster as the metadata store. This is ideal if you already operate etcd infrastructure or prefer to centralize metadata management. Use cases:- Organizations with existing etcd infrastructure
- Environments with dedicated etcd operations expertise
- Multi-tenant deployments with centralized control
- External etcd cluster (v3.x) must be available
- Network connectivity between Restate nodes and etcd
- etcd cluster properly configured for production use
- ✅ Leverage existing etcd infrastructure
- ✅ Separate metadata concerns from Restate node management
- ✅ Allows sharing metadata across clusters
- ⚠️ Adds external dependency that must be separately managed
- ⚠️ Network latency to etcd can affect cluster operations
- ⚠️ Requires etcd operations expertise
Object Store (Amazon S3)
Use Amazon S3 as a metadata store. This provides a lightweight alternative to running metadata servers while keeping all data in object storage. Use cases:- AWS deployments with existing S3 infrastructure
- Minimizing stateful components
- Environments optimizing for S3 as primary storage
- Amazon S3 bucket (not S3-compatible alternatives)
- IAM permissions for S3 operations
- Very low-latency access to S3 (same region recommended)
- ✅ No metadata servers to manage
- ✅ Integrates with existing S3 buckets
- ✅ Simple backup and recovery
- ⚠️ Only Amazon S3 is tested and supported (notably, MinIO is not supported for metadata)
- ⚠️ Tied to a single region!
- ⚠️ Network latency to S3 directly affects cluster operations
- ⚠️ Must ensure very low-latency access (typically same region)
Configuration Examples
Replicated (Default)
This is the default configuration for multi-node clusters. Each node needs to know about all metadata server addresses.restate.toml