Setup Redis on Render

Keith Weaver
4 min readAug 16, 2023

This post was originally posted on my personal site here.

In this post, we will setup a Redis instance on Render. I’ve used Redis to manage data in-memory across multiple instances. For example, if you are rate limited for outbound requests, you need a central place that has fast reads and writes to keep a count — that’s where Redis comes in. A basic in-memory database should require a heavy setup and that’s why I use Render.

We are going to show you two ways to do this. The first method is a Managed Redis instance by Render. The second method is using Docker.

Managed Redis (Recommended)

We will setup a Managed Redis instance. Sign into your Redis account. In the top right corner, hit “New” > “Redis”. Set a name. Choose a region (It must be the same region as your other services if you want to connect through internal domains). Select your size. Hit “Create Redis”.

Render will spin up your new instance! It’s gotten so simple. By default, you only get an internal Redis URL. If you want to connect to your Redis instance from the public internet, you will need to add a new IP under “Access Control”. Just Google, “what’s my ip” and it will be returned to you.

--

--