Requirements
- Node.js 18+ installed locally
- Account on Vertra Cloud
Project Structure
Configuration
next.config.js
For deployment on Vertra Cloud, configurestandalone mode to optimize build size:
package.json
vertracloud.config
Available Versions
| Version | Status | Description |
|---|---|---|
| 24.5.0 | Latest | Node.js 24.5.0 (latest version) |
| 22.18.0 | Recommended | Node.js 22.18.0 LTS (recommended for production) |
| 20.18.0 | Stable | Node.js 20.18.0 with extended support |
Deploy
- Via Dashboard
- Via GitHub
- Exclude
node_modulesand.nextfrom the project - Compress into ZIP
- Select Node.js as language
- Configure at least 512MB of memory (build is resource-intensive)
- Set
START=npm run build && npm start
Notes
- Recommended memory: 512MB or more (build process is intensive)
- Environment variables: Configure via dashboard before first build
- Use
output: 'standalone'to reduce build size - API Routes from Next.js work normally on the platform
- Port is injected via
PORT— usenext start -p $PORT
Common Issues
Build fails due to lack of memory
Build fails due to lack of memory
Increase application memory to at least 512MB. Next.js build process is memory-intensive.
Page returns 404
Page returns 404
Check if
output: 'standalone' is configured and if the build completed successfully in logs.