The standard way to run Strapi on Render is a Web Service (Strapi itself) plus Render Postgres (data) plus Cloudinary (images and other media). Render's free web services have no persistent disk, so uploaded images go to Cloudinary instead. This guide uses Strapi 5 (v5.65.0), the latest version as of December 2026, and covers the steps, what changed from v4, and the limits of running it on Render's free tier.
Updated December 2026: rewrote this previously unfinished post as a full Strapi 5 deployment guide. Strapi v4 reached end of support on April 30, 2026, so use v5 for new projects.
- Architecture and prerequisites
- Strapi v5 vs v4 (what matters for deployment)
- Limits on Render's free tier
- Step 1: Create a PostgreSQL database on Render
- Step 2: Create the Strapi project locally
- Step 3: Configure the Cloudinary upload provider
- Step 4: Create content types and push to GitHub
- Step 5: Create a Web Service on Render
- Step 6: Check that it works
- Common pitfalls
- References
Architecture and prerequisites
This guide assumes you already have accounts on:
- GitHub
- Render
- Cloudinary
| Role | Service | Key points |
|---|---|---|
| Strapi (admin panel + API) | Render Web Service (Node) | Build: npm install && npm run build / Start: npm run start |
| Database | Render Postgres | Create it in the same region as Strapi and connect via the Internal Database URL |
| Media (images, video) | Cloudinary | Switch the storage target with @strapi/provider-upload-cloudinary |
Strapi is an open-source headless CMS: you enter content in its admin panel and deliver it through REST or GraphQL APIs. It is often paired with a frontend such as Next.js, and deploying it to Render gives you an API server for free or at low cost.

Strapi v5 vs v4 (what matters for deployment)
The original version of this post targeted Strapi v4. These are the changes in v5:
| Item | v4 | v5 (December 2026) |
|---|---|---|
| Support status | End of support April 30, 2026 (last release 4.26.2) | Latest release 5.65.0 |
| Project creation command | npx create-strapi-app@latest | npx create-strapi@latest (the old command still works) |
| Supported Node.js | — | v22 / v24 / v26 (LTS only; odd-numbered versions are not supported) |
| Default language | JavaScript | TypeScript (--js for JavaScript) |
--quickstart | Available | Deprecated. Use --non-interactive |
| REST API responses | Values nested under data.attributes | attributes removed, flat format. documentId is the identifier |
| Server-side data access | Entity Service API | Document Service API (Entity Service deprecated) |
| PostgreSQL | — | Recommended 17.0, minimum 14.0 |
If your frontend expects v4-style responses (attributes), adding the request header Strapi-Response-Format: v4 returns the old format as a temporary measure. To migrate an existing v4 project, back up the database and use the official upgrade tool (there is no automatic way back from v5 to v4).
Limits on Render's free tier
As of December 2026, Render's official docs list these free-tier limits:
| Service | Free-tier limits |
|---|---|
| Web Service (Free) | 0.1 CPU / 512MB RAM. Spins down after 15 minutes without traffic and takes about a minute to start on the next request. No persistent disk: files saved locally are lost on redeploy, restart or spin-down. Up to 750 hours per month |
| Postgres (Free) | 1GB of storage. Expires 30 days after creation, and is deleted with all its data unless you upgrade to a paid plan within 14 days after that. One per workspace, no backups |
Strapi's official deployment requirements are at least 1 CPU core and 2GB RAM (2+ cores and 4GB+ recommended). Render's free web service (512MB) falls below that, so treat the free tier as being for testing and learning only. For ongoing use, budget for a 2GB web service instance ($25/month) and a paid Postgres plan (from $6/month).
Because free Postgres stops working after 30 days, you can't keep running on the free tier indefinitely. To keep your data, upgrade to a paid plan before it expires, or take a dump and move it to another database.

Step 1: Create a PostgreSQL database on Render
- In the Render dashboard, choose "+ New" → "Postgres"
- Set the name, region (the same region as the Web Service you will create next), PostgreSQL version (13 to 18) and plan, then create it
- Once it is created, copy the Internal Database URL from the database's page

The Internal URL works only from Render services in the same account and the same region, and traffic stays on Render's private network. To connect from outside, such as from your own computer, use the External URL instead; it always requires TLS (connections with sslmode=disable are rejected).
Step 2: Create the Strapi project locally
Create an empty repository on GitHub, then create the project locally. Use a Node.js LTS release, v22 or later.
npx create-strapi@latest strapi-render-project
cd strapi-render-project
When asked about the database, you can keep the default, SQLite (SQLite for local development, Postgres in production). When I ran npx create-strapi@latest while writing this article, it created a v5.65.0 project. config/database.ts switches the database with the DATABASE_CLIENT environment variable (sqlite / postgres / mysql) and, for Postgres, reads DATABASE_URL as the connection string. Random values such as APP_KEYS are generated in .env, which is excluded by .gitignore.
Next, add the PostgreSQL driver and the Cloudinary upload provider.
npm install pg @strapi/provider-upload-cloudinary
Step 3: Configure the Cloudinary upload provider
In the v5 template, config/plugins.ts already contains an upload setting (the allowed file types). Add provider and the related options to its config.
// config/plugins.ts (upload section only)
upload: {
config: {
provider: 'cloudinary',
providerOptions: {
cloud_name: env('CLOUDINARY_NAME'),
api_key: env('CLOUDINARY_KEY'),
api_secret: env('CLOUDINARY_SECRET'),
},
actionOptions: {
upload: {},
uploadStream: {},
delete: {},
},
security: {
allowedTypes: allowedMediaTypes,
deniedTypes,
},
},
},
With only this change, Strapi's security middleware (CSP) prevents Cloudinary thumbnails from showing in the admin panel's Media Library. Replace 'strapi::security' in config/middlewares.ts with the following object.
// config/middlewares.ts
{
name: 'strapi::security',
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
'connect-src': ["'self'", 'https:'],
'img-src': ["'self'", 'data:', 'blob:', 'market-assets.strapi.io', 'res.cloudinary.com'],
'media-src': ["'self'", 'data:', 'blob:', 'market-assets.strapi.io', 'res.cloudinary.com'],
upgradeInsecureRequests: null,
},
},
},
},
You can find your Cloudinary cloud_name, API Key and API Secret in the Cloudinary console. To try it locally as well, add CLOUDINARY_NAME / CLOUDINARY_KEY / CLOUDINARY_SECRET to .env.
Step 4: Create content types and push to GitHub
In Strapi, you can't create or modify content types in production. Make schema changes with the Content-Type Builder under npm run develop locally, then push the generated files under src/api to GitHub to deploy them.

npm run develop # register an admin and create content types at http://localhost:1337/admin
git init
git add .
git commit -m "init strapi"
git branch -M main
git remote add origin https://github.com/<your-username>/strapi-render-project.git
git push -u origin main
Make sure .env is not committed. Production values are set as environment variables on Render.
Step 5: Create a Web Service on Render
Choose "+ New" → "Web Service", select the repository, and configure it as follows.
| Field | Value |
|---|---|
| Language | Node |
| Region | Same region as Postgres |
| Build Command | npm install && npm run build |
| Start Command | npm run start |
| Compute | Free for testing, 2GB or more for ongoing use |
Set the following under Environment Variables. Strapi's official docs note that these values are needed both at build time and at runtime.
| Key | Value |
|---|---|
NODE_ENV | production |
DATABASE_CLIENT | postgres |
DATABASE_URL | The Internal Database URL you copied in Step 1 |
APP_KEYS | Comma-separated random strings (for example, 2 to 4 of them) |
API_TOKEN_SALT / ADMIN_JWT_SECRET / JWT_SECRET / TRANSFER_TOKEN_SALT / ENCRYPTION_KEY | A random string each |
CLOUDINARY_NAME / CLOUDINARY_KEY / CLOUDINARY_SECRET | Values from the Cloudinary console |
You can generate random strings with a command like the one below. Reusing the values from your local .env works, but separate production values are safer.
openssl rand -base64 32
You don't need to set a port. In v5, config/server.ts uses host 0.0.0.0 and reads the port from the PORT environment variable, so Strapi listens on the PORT Render provides (default 10000). For Node.js, services created on or after October 21, 2026 default to 24.x, which is within Strapi 5's supported range (engines in package.json is >=22.0.0 <=26.x.x). To pin it, use the NODE_VERSION environment variable or a .node-version file in the repository.
Step 6: Check that it works
When the deploy finishes, open https://your-app.onrender.com/admin and create the production admin account (it is a different database from your local SQLite one, so you need a separate admin). Upload an image from the Media Library; if the file appears in the Cloudinary console, the setup is complete. To expose the API publicly, go to "Settings" → "Users & Permissions" → "Roles" → "Public" and allow find / findOne for the content types you want to publish.
Common pitfalls
- Images disappeared after a few days: the upload provider is still the default local storage. Files are lost on a free web service, so check the Cloudinary configuration
- Can't connect to the database: the Internal URL doesn't work if the Web Service and Postgres are in different regions. When connecting from outside via the External URL, set
DATABASE_SSL=true - The database stopped working after 30 days: the free Postgres expired. Upgrade to a paid plan within the 14-day grace period
- Build or startup crashes partway: 512MB may not be enough memory. Upgrade the instance
- Content types can't be edited in the admin panel: that is by design in production. Change them locally and push
For Render errors in general, including Python apps, see Render deploy errors and how to fix them; for Streamlit, see How to deploy a Streamlit app on Render.
References
- Installing from CLI - Strapi Docs
- Deployment - Strapi Docs
- Upgrading to Strapi 5: Introduction and FAQ - Strapi Docs
- Cloudinary provider - Strapi Docs
- @strapi/provider-upload-cloudinary - npm
- Deploy for Free - Render Docs
- Create and Connect to Render Postgres - Render Docs
- Setting Your Node.js Version - Render Docs
- Deploy Strapi - Render Docs
- Render Pricing
- Add Cloudinary support to your Strapi application - Strapi Blog (written for v4)
- How to Deploy Strapi v4 on Render | Free Strapi Deployment | PostgreSQL | Cloudinary (YouTube) (v4-era video)

