First Deployment
Deploy your first application to Nimbuz in minutes. This guide walks you through the process of deploying your application on the Nimbuz platform.
Prerequisites
Before deploying, ensure you have:
- Nimbuz account set up and verified
- Project created with environment configured
- Application code ready to deploy (GitHub, GitLab, or ZIP file)
Accessing Deployments
You have two ways to access the Applications page:
Option A: Click Proceed
- Choose your project
- Click the Proceed button at the bottom right of the Projects page
Option B: Navigate to Applications
- From the sidebar on the left, navigate to Applications
Both options will take you to the same Applications page

Create New Applications
Click "+ New Applications" button on the right side of the Applications screen.

Choose Deployment Type
Click the dropdown labeled "Choose a type to continue."
You have three deployment options based on where your codebase is hosted:

- Deploy from GitHub repo
- Deploy from GitLab repo
- Deploy zip
Deploy from GitHub Repository
Enter your GitHub credentials to connect to your GitHub account. After authorizing Nimbuz, your branches and repositories will be loaded automatically.

Deploy from GitLab Repository
Enter your GitLab credentials to connect to your GitLab account. After authorizing Nimbuz, your branches and repositories will be loaded automatically.

Deploy from ZIP/TAR
Browse and select ZIP or TAR file (maximum size: 500 MB) from local device. Then, click Submit.

Deployment Parameters - General
After selecting one of the repository options mentioned above, fill in the following details:
-
Name (required): Usually auto-populated. Must contain only lowercase letters, numbers, and separators (., -). Uppercase letters and consecutive separators are not allowed.
-
Replicas: The number of instances you want to run (e.g., 1).
-
Port: The port your application listens on (e.g., 3000). Leave blank to use the default.
Supported Application Types
Static Sites
Perfect for:
- React, Vue, Angular applications
- Static site generators (Gatsby, Next.js, Nuxt.js)
- HTML/CSS/JavaScript sites
Example Configuration:
- Build Command:
npm run build - Output Directory:
distorbuild - Node Version: 18.x
Backend APIs
Ideal for:
- REST APIs
- GraphQL servers
- Microservices
Example Configuration:
- Start Command:
npm start - Port: 3000 (or your app's port)
- Health Check:
/healthendpoint
Full-Stack Applications
Deploy complete applications:
- Next.js applications
- Nuxt.js applications
- Express.js with frontend
Example Configuration:
- Build Command:
npm run build - Start Command:
npm start - Port: 3000
Environment Configuration
Environment Variables
Add environment variables for your application:
- Go to Project Settings → Environment Variables
- Add key-value pairs
- Mark sensitive variables as "Secret"
- Redeploy your application
Common environment variables:
NODE_ENV=production
DATABASE_URL=your-database-url
API_KEY=your-api-key
PORT=3000
Custom Domains
Connect your custom domain:
- Go to Project Settings → Domains
- Click "Add Domain"
- Enter your domain name
- Follow DNS configuration instructions
- SSL certificate is automatically provisioned
Database Setup
Add a database to your application:
PostgreSQL Database
- Go to Resources → Databases
- Click "Create Database"
- Select PostgreSQL
- Choose your plan and region
- Database connection details will be provided
MongoDB Database
- Select MongoDB from database options
- Configure cluster size and region
- Get connection string for your application
MySQL Database
- Select MySQL from database options
- Configure storage and instance type
- Set your root password and custom database name
MSSQL Database
- Select MSSQL from database options
- Choose your instance specifications
- Configure administrative credentials
n8n Workflow Automation
- Select n8n from the tools section
- Configure instance type
- Access n8n using the provided URL
RabbitMQ Message Broker
- Select RabbitMQ for messaging and queuing
- Set up your administrative user and password
- Use the provided connection details in your app
Monitoring Your Deployment
Build Logs
Monitor your deployment:
- Real-time build logs during deployment
- Error messages and warnings
- Build duration and optimization tips
Application Logs
View runtime logs:
- Go to Project → Logs
- Filter by log level (error, warn, info)
- Search specific log messages
- Export logs for analysis
Performance Metrics
Track application performance:
- Response times
- Request volume
- Error rates
- Resource usage
Scaling Your Application
Automatic Scaling
Nimbuz automatically scales based on traffic:
- Scale Up: More instances during high traffic
- Scale Down: Fewer instances during low traffic
- Custom Metrics: Scale based on specific metrics
Manual Scaling
Override automatic scaling:
- Go to Project Settings → Scaling
- Set minimum and maximum instances
- Configure scaling triggers
- Apply changes
Common Deployment Issues
Build Failures
Node.js Version Mismatch
# Specify Node.js version in package.json
{
"engines": {
"node": "18.x"
}
}
Missing Dependencies
- Ensure all dependencies are in
package.json - Check for missing environment variables
- Verify build commands are correct
Runtime Errors
Port Configuration
// Use environment port or default
const PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});
Database Connection Issues
- Verify database connection string
- Check network connectivity
- Ensure database is accessible from Nimbuz
Best Practices
Performance Optimization
- Use build optimization flags
- Enable gzip compression
- Optimize images and assets
- Implement caching strategies
Security
- Use environment variables for secrets
- Enable HTTPS (automatic with custom domains)
- Implement proper authentication
- Regular security updates
Monitoring
- Set up health checks
- Configure alerting
- Monitor application metrics
- Log important events
Next Steps
Congratulations on your first deployment! Now you can:
- Learn about resource management
- Configure networking and custom domains
- Monitor costs and workloads on the dashboard
Getting Help
Need assistance with deployment?
- Check the deployment troubleshooting section
- Contact support: info@dilligentech.com