Redis shows up on a VPS in two places: as a WordPress object cache and as a queue or session store for an app. Sooner or later the same question comes up, and redis cloud vs self-hosted redis is a real choice, not a trick question with one right answer. Managed hosting takes the maintenance off your plate. Running it yourself costs almost nothing and keeps the data a millisecond away from your app. This guide compares the two on price, speed, and the work each one asks of you, so you can pick the one that fits your setup.
Prices below are approximate. Managed database pricing changes often, so check official pricing before you commit to a plan.
Two Ways to Run Redis
Self-hosted Redis means installing the redis-server package on your VPS, setting a password, and pointing your app at localhost. The install takes minutes. Our guide to installing Redis 7 on Ubuntu 24.04 covers the full setup, including the config lines that matter for a cache: maxmemory, the eviction policy, and protected mode. Once it is running, Redis on a local socket answers in well under a millisecond.
Managed redis hosting means someone else runs the server. Redis Cloud, Upstash, and the managed database products from VPS providers all sell the same idea: you get an endpoint and a password, and they handle patching, backups, and failover. You never SSH into a Redis box. The trade is that your app talks to Redis over the network, and you pay a monthly fee for a service you could run yourself.
What you use Redis for shapes the choice. A WordPress object cache is forgiving: if Redis goes down, the site still works, just slower. A job queue or session store is not forgiving: if Redis goes down, logins break and background jobs stop. The more your app depends on Redis being up, the more managed hosting is worth considering. Our overview of Redis use cases on a VPS explains which workloads tolerate an outage and which do not.
Redis Cloud vs Self-Hosted Redis: Side-by-Side Comparison
| Factor | Redis Cloud (managed) | Self-Hosted on a VPS |
|---|---|---|
| Monthly cost | Free tier for tiny use; paid plans start at a few dollars a month | $0 extra; uses RAM you already pay for |
| Latency from your app | 1-10 ms over the network, more across regions | Under 1 ms on localhost or Unix socket |
| Setup time | Minutes, no server work | Minutes, plus hardening |
| Patching and upgrades | Handled by the provider | Your job, via apt or manual builds |
| Backups | Included on paid plans | You configure RDB/AOF snapshots |
| High availability | Built in on paid plans | You build it with replicas or Sentinel |
| Scaling | Raise the plan, no migration | Raise VPS RAM, restart Redis |
| Data control | Data lives on the provider’s servers | Data stays on your VPS |
| Failure mode | Provider outage takes Redis down | VPS outage takes Redis down with it |
| Best for | Queues, sessions, multi-server apps | Single-server cache, tight budgets |
Pricing: The Bill You See vs the Bill You Don’t
Redis cloud pricing starts friendly. Most managed providers offer a free tier, usually around 30 MB, which is enough for a small WordPress object cache. Paid plans start at a few dollars a month for a few hundred megabytes, and climb steeply from there: a 1 GB instance with high availability can cost several tens of dollars a month, and check official pricing for the exact figure on the plan you are looking at. The price scales with memory and with the high availability option, not with traffic.
The self-hosted redis cost looks like zero, and in cash terms it nearly is. Redis itself is free, and on a VPS you already pay for, the only cost is RAM. A WordPress object cache typically uses 64 to 256 MB. A 2 GB VPS can spare that easily. The real cost is your time: patching, watching memory, and fixing it at midnight when it stops responding. That cost is invisible until something breaks, which is why people underestimate it.
To put a number on the comparison, look at what a managed database costs against the whole server. If your VPS costs $6 a month and managed Redis costs $10 a month, the cache costs more than the server. That is a normal situation for small projects, and it is the strongest argument for self-hosting. If your app runs on three servers and Redis is the shared state between them, the managed price looks small next to the rest of the bill. The same product is expensive or cheap depending on what surrounds it.
For a broader sense of how managed databases price against self-hosting, our comparison of DigitalOcean managed databases vs self-hosted pricing works through the same math for MySQL and PostgreSQL, and the pattern holds for Redis too. The managed option always costs more in cash and less in time.
Performance on the Same Workload
Redis on vps wins on latency, and it is not close. A local Redis answers in well under a millisecond. A managed instance in the same region answers in 1 to 5 ms. That gap sounds small, but a WordPress page can make dozens of cache calls, and a queue worker can make hundreds a second. On a busy page, the extra milliseconds add up to real time.
In practice, most small sites never feel the difference. If your app makes 20 cache calls per page load, the round trips add roughly 40 to 100 ms, which visitors will not notice. The latency advantage only decides the choice at high request rates.
Throughput is rarely the limit either way: a single Redis instance handles tens of thousands of operations per second, and the bottleneck on a small VPS is usually PHP or the database, not Redis. Check where the time actually goes first:
redis-benchmark -h 127.0.0.1 -p 6379 -t set,get -n 100000 -q
redis-cli --latency -h 127.0.0.1 -p 6379
redis-cli info stats | grep -E "instantaneous_ops_per_sec|total_commands_processed"
Those three commands tell you more than any marketing page: real throughput on your hardware, real latency, and how busy the instance actually is. Run them against both a local instance and a managed endpoint and the comparison stops being theoretical. If your local numbers are fine and the managed numbers are close, the decision is about operations, not speed.
Maintenance: The Hidden Cost of Self-Hosting
Self-hosted Redis needs a short list of chores. Set a strong password and bind it to localhost, or it will be found by scanners within hours of going online. Set maxmemory and an eviction policy like allkeys-lru, or Redis will grow until the kernel kills it or something else. Turn on RDB snapshots or AOF if losing the data matters. Watch memory usage, because a cache that fills up evicts keys and silently gets slower.
None of that is hard: about an hour of setup and a few minutes a month. The risk is that the work only becomes urgent when something breaks, and by then it is the worst time to learn the config file. A managed service removes this whole category of risk, which is what the monthly fee actually buys.
High availability is where the gap gets wide: a managed plan with replication fails over automatically, while doing it yourself means a replica, Sentinel, and a tested failover procedure. On a single VPS, true high availability is impossible anyway, so the managed argument is weaker than it sounds: your app server is the single point of failure either way.
If you do self-host, keep the rest of the stack in the same comparison mindset. Our managed MySQL vs self-hosted MySQL cost comparison and the best managed Redis hosting for small projects roundup both help if you are deciding the same question for the other pieces of your stack.
When Managed Wins, and When It Doesn’t
Choose managed Redis when your app runs on more than one server, when Redis holds sessions or queues that cannot be rebuilt from the database, or when nobody on the team wants to be on call for a cache server. In those cases the monthly fee buys sleep, and that is a fair trade.
Choose self-hosted when you run a single VPS, when Redis is a cache that can be rebuilt, and when the budget matters more than the pager. Most WordPress sites and small apps live in this group. Install Redis locally, set maxmemory and an eviction policy, bind it to localhost, and check on it once a month. That setup runs for years with almost no attention.
There is also a middle path: self-host Redis for the cache, and use a managed service only for the data that cannot be lost. A queue that holds paid orders deserves managed hosting. A WordPress object cache does not. Splitting the two keeps the bill small and the important data safe, and it is the setup most small teams end up with once they stop treating Redis as a single decision.