Skip to content

Commit af8edf7

Browse files
docs: replace Upstash with Redis Cloud, tighten MongoDB Atlas IP access
Co-authored-by: yash-pouranik <172860064+yash-pouranik@users.noreply.github.com>
1 parent 9596a6d commit af8edf7

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

DEPLOYMENT.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide walks you through deploying a self-hosted instance of **urBackend** f
66
| :--- | :--- | :--- |
77
| Node.js API | [Render](https://render.com) | Free tier |
88
| MongoDB | [MongoDB Atlas](https://www.mongodb.com/atlas) | Free (M0 cluster) |
9-
| Redis | [Upstash](https://upstash.com) | Free tier |
9+
| Redis | [Redis Cloud (redis.io)](https://redis.io/try-free/) | Free tier |
1010
| React/Vite dashboard | [Vercel](https://vercel.com) | Free tier |
1111

1212
---
@@ -15,7 +15,7 @@ This guide walks you through deploying a self-hosted instance of **urBackend** f
1515

1616
1. [Prerequisites](#1-prerequisites)
1717
2. [Set up MongoDB Atlas](#2-set-up-mongodb-atlas)
18-
3. [Set up Upstash Redis](#3-set-up-upstash-redis)
18+
3. [Set up Redis Cloud](#3-set-up-redis-cloud)
1919
4. [Deploy the Backend to Render](#4-deploy-the-backend-to-render)
2020
5. [Deploy the Frontend to Vercel](#5-deploy-the-frontend-to-vercel)
2121
6. [Link the Frontend to the Backend](#6-link-the-frontend-to-the-backend)
@@ -29,11 +29,11 @@ Before you start, make sure you have:
2929

3030
- A [GitHub](https://github.com) account with a fork of this repository.
3131
- A [MongoDB Atlas](https://www.mongodb.com/atlas) account (free).
32-
- An [Upstash](https://upstash.com) account (free).
32+
- A [Redis Cloud](https://redis.io/try-free/) account (free).
3333
- A [Render](https://render.com) account (free).
3434
- A [Vercel](https://vercel.com) account (free).
3535

36-
> **Tip:** You only need to complete steps 2 and 3 once — the same Atlas cluster and Upstash database can be reused across multiple deployments.
36+
> **Tip:** You only need to complete steps 2 and 3 once — the same Atlas cluster and Redis Cloud database can be reused across multiple deployments.
3737
3838
---
3939

@@ -47,9 +47,9 @@ Before you start, make sure you have:
4747
- Username: `urbackend-user`
4848
- Password: generate a strong password and **copy it**.
4949
- Role: **"Read and write to any database"**.
50-
6. Under **Security → Network Access**, click **"Add IP Address"** → select **"Allow Access from Anywhere"** (`0.0.0.0/0`).
50+
6. Under **Security → Network Access**, click **"Add IP Address"** and add the outbound IP addresses of your Render service.
5151

52-
> This is required because Render uses dynamic IP addresses.
52+
> To find these IPs: open your Render service → **Info** tab → **Outbound IPs**. Render exposes a set of static outbound IPs per service; add each one individually in Atlas.
5353
5454
7. Go to **Database → Connect****"Drivers"** and copy the **connection string**. It looks like:
5555

@@ -67,16 +67,17 @@ Before you start, make sure you have:
6767

6868
---
6969

70-
## 3. Set up Upstash Redis
70+
## 3. Set up Redis Cloud
7171

72-
1. Go to [console.upstash.com](https://console.upstash.com) and sign in.
73-
2. Click **"Create Database"**.
74-
3. Enter a name (e.g. `urbackend-redis`), choose the region closest to your Render region, and leave the type as **Regional**.
75-
4. Click **"Create"**.
76-
5. On the database details page, scroll to **"REST API"** or **"Connect"** and copy the **Redis URL**. It looks like:
72+
1. Go to [redis.io/try-free](https://redis.io/try-free/) and sign up for a free account.
73+
2. After logging in, click **"New database"**.
74+
3. Choose the **Free** plan, then enter a database name (e.g. `urbackend-redis`) and select the cloud provider and region closest to your Render deployment.
75+
4. Click **"Create database"**.
76+
5. Once the database is created, open it and scroll to the **"Security"** section to note the **host**, **port**, **username** (`default`), and **password**.
77+
6. Construct the Redis URL in this format:
7778

7879
```
79-
rediss://default:<password>@<host>.upstash.io:6379
80+
rediss://default:<password>@<host>:<port>
8081
```
8182

8283
**Save this URL** — you will need it in step 4.
@@ -94,7 +95,7 @@ Before you start, make sure you have:
9495
| Setting | Value |
9596
| :--- | :--- |
9697
| **Name** | `urbackend-api` (or any name you prefer) |
97-
| **Region** | Choose the region closest to your Atlas & Upstash region |
98+
| **Region** | Choose the region closest to your Atlas & Redis Cloud region |
9899
| **Branch** | `main` |
99100
| **Root Directory** | `backend` |
100101
| **Runtime** | `Node` |
@@ -115,7 +116,7 @@ NODE_ENV=production
115116
116117
# Database & Cache
117118
MONGO_URL=<your MongoDB Atlas connection string from step 2>
118-
REDIS_URL=<your Upstash Redis URL from step 3>
119+
REDIS_URL=<your Redis Cloud URL from step 3>
119120
120121
# Authentication — generate strong random strings (min 32 chars)
121122
JWT_SECRET=<at_least_32_random_characters>
@@ -247,7 +248,7 @@ After the frontend is deployed, you must go back to Render and update the `FRONT
247248
## 📚 Further reading
248249

249250
- [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/)
250-
- [Upstash Redis documentation](https://upstash.com/docs/redis/overall/getstarted)
251+
- [Redis Cloud documentation](https://redis.io/docs/latest/operate/rc/)
251252
- [Render Web Services documentation](https://docs.render.com/web-services)
252253
- [Vercel deployment documentation](https://vercel.com/docs/deployments/overview)
253254
- [urBackend Contributing Guide](CONTRIBUTING.md)

0 commit comments

Comments
 (0)