Deploy to Render (Singapore) with free PostgreSQL + Upstash Redis. $0/month.
- OpenCodeHub running in Asia (Singapore)
- Free PostgreSQL database
- Free Redis via Upstash
- 1GB persistent storage for git repos
- HTTPS included
- Admin account
- Go to https://upstash.com → Sign up (free)
- Click Create Database
- Settings:
- Name:
opencodehub - Region: Asia Pacific (Singapore)
- Plan: Pay as you go (free tier: 10K commands/day)
- Name:
- Click Create
- Copy the Redis URL (looks like
rediss://...@...) - Keep this tab open — you'll need it in Step 3
- Go to https://render.com → Sign up (free)
- Click New → Blueprint
- Connect your GitHub account
- Select your OpenCodeHub repository
- Render detects
render.yamland shows:opencodehub-db(PostgreSQL — Singapore)opencodehub(Web Service — Singapore)
- Click Apply
- Wait for deployment (~3-5 min first time)
- Go to your Web Service → Environment tab
- Find
REDIS_URL(shows "Not set") - Click the pencil icon → Paste your Upstash Redis URL
- Click Save
- In the same Environment tab
- Find
SITE_URL(shows "Not set") - Click the pencil icon → Enter your Render URL:
(Replace with your actual URL from the service overview)
https://opencodehub.onrender.com - Click Save
- Go to your Web Service → Manual Deploy
- Click Deploy latest commit
- Wait for build to complete (~2-3 min)
- Click the URL at the top to open your instance
You'll see the Setup Wizard. Fill in:
| Field | Value |
|---|---|
| Username | admin (or your choice) |
| Your email | |
| Password | Strong password |
Click Create Account — you're now logged in as admin!
# Create a repo via web UI, then clone:
git clone https://opencodehub.onrender.com/your-username/my-repo.git
# Push code:
cd my-repo
echo "# Hello" > README.md
git add . && git commit -m "Initial"
git push origin main| Component | Service | Region | Cost |
|---|---|---|---|
| App | Render Free | Singapore | $0 |
| PostgreSQL | Render Free | Singapore | $0 |
| Redis | Upstash Free | Singapore | $0 |
| Storage | Render Disk 1GB | Singapore | $0 |
| Total | $0/month |
Render free tier spins down after 15min inactivity. To prevent:
- Go to https://uptimerobot.com → Sign up (free)
- Add Monitor → Type: HTTP(s)
- URL:
https://opencodehub.onrender.com/api/health - Monitoring interval: 5 minutes
- Save — your app stays awake
| Need | Upgrade | Cost |
|---|---|---|
| Always-on (no spin-down) | Render Starter | $7/mo |
| More storage (10GB+) | Render Disk upgrade | $1-7/mo |
| More Redis commands | Upstash Pay-as-you-go | ~$0.20/10K |
| PostgreSQL expiry | Render Starter DB | $7/mo |
App won't start?
- Check Logs tab in Render
- Verify
REDIS_URLis set correctly - Ensure
SITE_URLmatches your Render URL
Redis connection failed?
- Verify Redis URL from Upstash (starts with
rediss://) - Check Upstash dashboard shows "Active"
- Ensure region is Singapore
Git clone fails?
- Use HTTPS:
git clone https://your-url.onrender.com/user/repo.git - SSH not available on Render free tier (use HTTPS)
Slow first request?
- Normal for free tier (cold start ~30s)
- Add UptimeRobot ping to keep it warm
OpenCodeHub — Deployed on Render, Asia Region, $0/month.