What you get
- Redis 8 (the latest 8.x by default), a pinned
8.N, or7.2. - Replication: a primary and two replicas, each with a full copy; Sentinel fails over and the endpoint follows the new primary.
- Cluster Mode: 3, 5, 7 or 9 shards with 0 or 1 replica each, for data bigger than one node. Add or remove shards later; no key is lost.
- Self-healing: a node whose VM or Redis stops answering for 5 minutes gets a replacement that joins on its own.
- Persistence: AOF with an fsync every second. Memory for data is about 70% of a node's RAM, with
noeviction. - TLS only (
rediss://), with the instance's own CA, and a firewall rule limiting who can connect.
Node sizes and prices
Falkenstein (fsn1-de)
| Node size | vCPU | RAM | Memory for data | Storage | 1 node / month | 3 nodes / month | Available |
|---|---|---|---|---|---|---|---|
eco-cpu-2 | 2 | 4 GB | 2.8 GB | 20 GB | $8.00 | $24.00 | Sold out |
eco-cpu-4 | 4 | 8 GB | 5.6 GB | 40 GB | $16.00 | $48.00 | Sold out |
eco-cpu-8 | 8 | 16 GB | 11.2 GB | 80 GB | $32.00 | $96.00 | Sold out |
Beauharnois, Canada (bhs1-ca)
| Node size | vCPU | RAM | Memory for data | Storage | 1 node / month | 3 nodes / month | Available |
|---|---|---|---|---|---|---|---|
eco-cpu-2 | 2 | 4 GB | 2.8 GB | 20 GB | $8.00 | $24.00 | Yes |
eco-cpu-4 | 4 | 8 GB | 5.6 GB | 40 GB | $16.00 | $48.00 | Yes |
eco-cpu-8 | 8 | 16 GB | 11.2 GB | 80 GB | $32.00 | $96.00 | Yes |
Create a Redis with the API
API=https://zapcloud.dev/api/v1
H="Authorization: Bearer $ZAPCLOUD_API_KEY"
curl -s -X POST "$API/projects/$PROJECT/managed-services" -H "$H" -H "Content-Type: application/json" \
-d '{"engine":"redis","name":"cache","region_id":"bhs1-ca","flavor_id":"eco-cpu-2","node_count":3,"allowed_cidr":"203.0.113.10/32"}'
# poll until ready, then:
curl -s "$API/projects/$PROJECT/managed-services/<id>/credentials" -H "$H" > cache.json
jq -r .ca_certificate cache.json > cache-ca.pem
redis-cli --tls --cacert cache-ca.pem -u "$(jq -r .uri cache.json)" PINGNot included yet
- Backups.
- Switching an instance between replication and Cluster Mode (create a new one).
Frequently asked questions
Replication or Cluster Mode?
Replication keeps a full copy on each node, so memory for data is one node's. Cluster Mode splits the keys over shards for more memory, and needs a cluster-aware client.
Is the data persisted?
Yes, with AOF and an fsync every second. There are no backups yet, so treat Redis as a cache or keep a source of truth elsewhere.
What happens when memory is full?
Writes fail with an out-of-memory error instead of silently dropping keys (noeviction). Set TTLs on cache entries, or rescale to a bigger node.
Related
- All products, Pricing and the API documentation
- Regions: Canada (bhs1-ca) and Germany (fsn1-de)