Redis
Coming Soon
1 minute

Redis Sentinel

Automatic failover with cross-region replicas

Deploy a Redis Sentinel cluster with automatic failover, HAProxy for transparent master routing, and cross-region replicas for geo-distributed caching. Configurable persistence with RDB and AOF. A self-hosted, production-ready alternative to AWS ElastiCache.

Redis Sentinel Automatic Failover

Redis Sentinel monitors your Redis instances and automatically handles failover when the master node fails.

  • Automatic failover: Detects master failures and promotes a replica within seconds
  • Quorum-based decisions: Multiple sentinel nodes vote on failover decisions
  • Configuration updates: Automatically updates client configurations after failover
  • Health monitoring: Continuous monitoring of master and replica health

HAProxy Master Routing

HAProxy automatically routes all traffic to the current master node, handling failover transparently.

  • Always points to master: HAProxy configuration updates automatically when master changes
  • Transparent failover: Applications don't need to handle master changes
  • Health checks: Monitors Redis health and routes traffic accordingly
  • Load balancing: Can distribute reads across replicas when configured

Cross-Region Replicas

Deploy Redis replicas in different geographical regions for faster reads and improved availability.

  • Geo-distributed caching: Serve cache reads from the closest region
  • Automatic replication: Replicas stay in sync with the master via replication
  • Faster reads: Lower latency for applications in different regions
  • Disaster recovery: Replicas can be promoted to master in case of region failure

Persistence Options

Configure Redis persistence based on your durability requirements.

  • RDB snapshots: Periodic snapshots for point-in-time recovery
  • AOF persistence: Append-only file for better durability guarantees
  • Hybrid approach: Combine RDB and AOF for optimal performance and durability
  • Configurable persistence: Tune persistence settings based on your workload

Visual Config Editor

Customize your Redis and Sentinel configuration without editing raw config files. Our visual config editor layers your customizations on top of battle-tested defaults.

  • Pre-configured defaults: Start with production-ready settings tuned for performance
  • Override anything: Add custom settings that merge with our defaults
  • No config conflicts: Your changes apply cleanly without breaking core functionality
  • Version controlled: Track configuration changes across deployments

Why Self-Host

Why Self-Host Redis Sentinel?

Skip the markup. Deploy on your own servers and save 60-90% compared to AWS ElastiCache.

Self-hosting gives you

  • Save 70-85% compared to AWS ElastiCache pricing
  • No VPC lock-in — access Redis from anywhere, not just AWS
  • Full Redis configuration access including persistence tuning
  • SSH access for debugging, monitoring, and custom scripting
  • Use any Redis-compatible software (Valkey, KeyDB) without restrictions

Cost comparison vs AWS ElastiCache

SetupAWS ElastiCacheSelf-Hosted
Small (3 nodes, 8GB RAM)$300-450/mo$30/mo
Medium (3 nodes, 16GB RAM)$600-900/mo$45/mo
Large (3 nodes, 32GB RAM)$1,200-1,800/mo$75/mo

Self-hosted prices based on Hetzner dedicated servers. Managed prices based on AWS ElastiCache with Multi-AZ replication.

FAQ

Frequently Asked Questions

Common questions about this deployment recipe.

Simple, one-time pricing

Pay once, get free updates for a year. After that, pay again to continue receiving updates.

50 spots remaining

$199$299

One-time payment • Free updates for 1 year

  • All database recipes (and upcoming recipes)
  • Unlimited servers
  • All cloud providers
  • Server hardening
  • Monitoring stack
  • AI-powered diagnostics
  • Cross-region replicas
  • Free updates for 1 year
Get sshploy now

After 1 year, pay again to continue receiving updates