Install
In the App Store, choose Redis and fill in the Infrastructure, an Instance name such ascache (it can’t be changed later), and its Memory. Choose whether to turn on persistence, which keeps the data on a volume across restarts.
On Google Cloud, the first install asks you to run a short script that creates Redis’s identity. Until you run it and click Verify, nothing is created.
Connect a service
inframan.yaml
REDIS_URL receives a URL of the form:
Monitoring
The instance’s Monitoring tab charts memory, throughput, connections and persistence. The Overview tab runs health checks for:- The instance being down.
- Memory use above 80%.
- A replication link that’s down.
- Clients above 90% of the limit.
ops_per_second, cache_hit_rate, memory_used_percent, evicted_keys and connected_clients.
Limits
- One tier, Basic: a single Redis instance.
- Redis has no backups. Use persistence for data that should survive a restart, and keep anything you can’t lose in PostgreSQL.