# Nimbuz Docs > Official Nimbuz documentation: deploy apps from GitHub, GitLab or Docker, manage projects and environments, run managed PostgreSQL, MySQL, MongoDB, n8n and RabbitMQ, use AI models, and control billing on the Nimbuz cloud platform. # Nimbuz Documentation > Nimbuz documentation home: learn how to deploy apps from GitHub, GitLab, ZIP or Docker, manage projects and environments, run managed databases and AI models, and monitor cost on the Nimbuz cloud platform. Welcome to **Nimbuz Platform** - your comprehensive resource for effortless cloud deployment, scaling, and innovation. This documentation provides everything you need to master cloud application deployment and management. ## What is Nimbuz Platform? Nimbuz is a unified platform for modern app and infrastructure management combining secure configuration, seamless releases, built-in observability, and scalable operations to empower confident delivery. At Nimbuz Platform, we empower organizations to transform ideas into live applications swiftly and securely. Our platform is designed for speed, scalability, and operational efficiency, enabling your team to focus on innovation while we handle the complexities of cloud infrastructure. ### Core Platform Components - **Projects** - Groups related apps, services, and resources into a single unit for managing environments, access controls, and deployments. - **Regions** - Geographic location for hosting environments. Choose one near your users for better performance. - **Environments** - Deployable instance of an application within a project, such as dev, staging, or production. - **Dashboard** - Get real-time insights on cost, deployments, resource usage, and endpoint access, all in one place. - **Applications** - Upload a ZIP or connect to VCS to automate deployment, configuration, and scaling. - **Tools** - Create tools for persistent services like databases, build agents, or dev environments. - **AI Models** - Instead of setting up models manually, the platform provides ready-to-use AI services. Developers can plug AI into apps using APIs. - **Billing** - View and manage invoices for each billing cycle. - **Users** - Invite your team members to collaborate and start working on the portal. ## Key Platform Features - **Instant Deployment**: Deploy applications in minutes with one-click deployment - **Intelligent Auto-Scaling**: Automatic horizontal and vertical scaling based on real-time demand - **Enterprise-Grade Security**: Built-in security controls, SSL certificates, and compliance standards - **Global Infrastructure**: Deploy across multiple regions worldwide for optimal performance - **Cost Optimization**: Smart resource management with pay-as-you-use pricing - **CI/CD Integration**: Seamless integration with popular development tools and workflows - **Real-time Monitoring**: Comprehensive analytics and monitoring dashboards - **Developer-Friendly**: Intuitive interface with powerful APIs and CLI tools ## Documentation Structure This documentation is organized to help you quickly find what you need: New to Nimbuz? Start with our comprehensive onboarding guide: ### [Complete Onboarding Guide](./onboarding/) Our step-by-step onboarding guide covers everything you need to know: 1. **[Welcome & Overview](./onboarding/)** - Introduction to Nimbuz platform 2. **[Create an Account](./onboarding/account-setup)** - Create and configure your account 3. **[Project Management](./onboarding/project-management)** - Create and manage projects 4. **[Applications Guide](./onboarding/deployment-guide)** - Deploy your applications 5. **[Tools & Services](./tools-services)** - Database and service management 6. **[AI Models](./onboarding/ai-models)** - Add and manage your models 7. **[Dashboard & Monitoring](./onboarding/dashboard)** - Analytics and cost tracking 8. **[User Management](./onboarding/user-management)** - Team collaboration 9. **[Best Practices](./onboarding/best-practices)** - Optimize your Nimbuz experience 10. **[API Reference](pathname:///api/introduction)** - Automate Nimbuz with the REST API ## Quick Start For experienced developers who want to get started immediately: ### Prerequisites - [Node.js](https://nodejs.org/en/download/) version 18.0 or above - A Nimbuz account (sign up at [nimbuz.tech](https://nimbuz.tech)) ### Install Nimbuz CLI ```bash npm install -g @nimbuz-tech/cli ``` Or run it without installing: `npx @nimbuz-tech/cli --help`. The package installs the `nimbuz` command. ### Deploy Your First App ```bash # Log in to your account (supports 2FA) nimbuz login # Create a project (also creates a "production" environment) nimbuz projects create my-app # Navigate to your project cd your-project-directory # Write nimbuz.json, then create or update the app and wait until it is live nimbuz init nimbuz deploy ``` Run `nimbuz --help` for every flag, or see the [Nimbuz CLI reference](https://github.com/nimbuz-tech/nimbuz-cli). ## What You'll Learn Whether you're a developer, DevOps engineer, or system administrator, our documentation covers: - **Platform Fundamentals**: Core concepts and architecture - **Deployment Strategies**: Multiple ways to deploy your applications - **Scaling and Performance**: Optimize for high availability and performance - **Security and Compliance**: Implement enterprise-grade security - **Cost Management**: Monitor and optimize your cloud spending - **Team Collaboration**: Manage teams and permissions effectively ## Support and Community Get help when you need it: - **Email Support**: [info@dilligentech.com](mailto:info@dilligentech.com) - **GitHub**: [github.com/nimbuz-tech](https://github.com/nimbuz-tech) - **Contact Us**: [nimbuz.tech](https://nimbuz.tech/#contact) - **24/7 Support**: Available for enterprise customers ## API Reference Integrate Nimbuz into your workflow: - **[API overview](pathname:///api/introduction)**: Base URLs, response format and errors - **[Authentication](pathname:///api/authentication)**: Log in and get a JWT - **[Quickstart](pathname:///api/quickstart)**: From login to a running deployment, then metrics, logs and invoices - **[Endpoint reference](pathname:///api/reference)**: Every endpoint, with an interactive playground and code samples ## What's New Stay updated with the latest features and improvements: - **Latest Release Notes**: See what's new in the platform - **Roadmap**: Upcoming features and improvements - **Migration Guides**: Upgrade assistance and breaking changes - **Beta Features**: Early access to new capabilities --- Ready to get started? Begin with our [**Onboarding Guide**](./onboarding/) or jump straight to [**account setup**](./onboarding/account-setup). Source: https://docs.nimbuz.tech/ --- # Welcome to Nimbuz Platform > Start with Nimbuz: an onboarding overview covering account setup, projects, environments, first deployment, users, resources, dashboard, billing and AI models. Welcome to **Nimbuz Platform** - your gateway to effortless cloud deployment, scaling, and innovation. ## Overview Nimbuz Platform is a unified platform for modern app and infrastructure management combining secure configuration, seamless releases, built-in observability, and scalable operations to empower confident delivery. At Nimbuz Platform, we empower organizations to transform ideas into live applications swiftly and securely. Our platform is designed for speed, scalability, and operational efficiency, enabling your team to focus on innovation while we handle the complexities of cloud infrastructure. ## Core Platform Components ### Projects Groups related apps, services, and resources into a single unit for managing environments, access controls, and deployments. ### Regions Geographic locations for hosting environments. Choose one near your users for better performance. ### Environments Deployable instances of an application within a project, such as dev, staging, or production. ### Dashboard Get real-time insights on cost, deployments, resource usage, and endpoint access, all in one place. ### Applications Upload a ZIP or connect to VCS to automate deployment, configuration, and scaling. ### Tools Create tools for persistent services like databases, build agents, or dev environments. ### AI model Instead of manually setting up models, Nimbuz provides ready-to-use AI services. Developers can seamlessly integrate AI into applications using APIs or SDKs, reducing setup time and complexity. ### Billing The Bills & Payment Management section allows users to view, track, and manage invoices generated for each billing cycle. It provides clear visibility into charges, payments, and billing history. ## What You'll Learn This comprehensive onboarding guide covers: - **Account Creation**: Individual and business signup options - **Project Management**: Creating and managing projects and environments - **Application Deployment**: Multiple deployment methods and configuration - **Tools Integration**: Database and service management - **Dashboard**: Get real-time insights on cost, deployments, resource usage, and endpoint access. - **User management**: Nimbuz allows you to manage team members and control access to projects and environments through a simple and intuitive interface. - **AI model**: Integrate ready-to-use AI services into your applications seamlessly without manual setup. - **Billing**: View, track, and manage invoices, payments, and billing history for each cycle. - **Multi-factor authentication**: Secure your account with an authenticator app and learn how to recover access. ## Quick Navigation ### Getting Started 1. [Create an Account](./account-setup.md) - Sign up and configure your account 2. [Platform Overview](./platform-overview.md) - Understand the ecosystem 3. [First Deployment](./first-deployment.md) - Deploy your first application ### Core Features 4. [Project Management](./project-management.md) - Create and manage projects 5. [Application Guide](./deployment-guide.md) - Comprehensive deployment walkthrough 6. [Tools & Services](../tools-services) - Databases and persistent services 7. [Dashboard](./dashboard.md) - Analytics and insights 8. [AI Model](./ai-models.md) - Ready-to-use AI services 9. [Billing](./billing.md) - Manage invoices and billing cycles ### Management 10. [Resource Management](./resource-management.md) - Monitor and optimize resources 11. [User Management](./user-management.md) - Team collaboration and access 12. [Multi-Factor Authentication](./mfa.md) - Add a second sign-in step and recover access 13. [Best Practices](./best-practices.md) - Optimize your Nimbuz experience ## Support Resources Need help? Our support team is here to assist you: - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **Live Chat**: Available in your dashboard - **Documentation**: Comprehensive guides and tutorials - **Business Support**: Available for enterprise customers ## Quick Start Ready to dive in? Start with these essential steps: 1. **[Sign Up](./account-setup.md)** - Create your Nimbuz account 2. **[Create Project](./project-management.md)** - Set up your first project 3. **[Deploy App](./deployment-guide.md)** - Deploy your first application 4. **[Dashboard](./dashboard.md)** - Track costs Let's get started on your Nimbuz journey! Source: https://docs.nimbuz.tech/onboarding/ --- # Create an Account > Step-by-step guide to signing up for Nimbuz: create an individual or business account, verify your email, log in with 2FA and set up your organization. Getting started with Nimbuz is simple. Follow the steps below to create your account and begin deploying applications. ## Step 1: Visit the Nimbuz Website Open your browser and navigate to: https://nimbuz.tech/ ![Nimbuz Homepage](https://docs.nimbuz.tech/img/onboarding/image003.png) You will land on the homepage where you can explore features and services. --- ## Step 2: Click on "Create an Account" On the top right corner of the homepage, click the **Create an account** button. --- ## Step 3: Fill in Your Details You will be redirected to the registration form. Provide the following information: - **Full Name** - Enter your complete name - **Email Address** - Provide a valid email address - **Phone Number** - Enter your 10-digit mobile number - **Business Type** - Individual - Business - **Business Details** *(optional)* - Add relevant information about your business or use case ![Nimbuz Homepage](https://docs.nimbuz.tech/img/onboarding/image054.png) --- ## Step 4: Submit the Form Click the **Submit** button after entering all required details. --- ## Step 5: Nimbuz Signup - After submitting all the required details in the form, the information is sent to the Nimbuz team. They will review and validate it, then contact you to proceed with account creation. --- ## Step 6: Verify Your Account - Check your email inbox for a verification link - Click the link to activate your account --- ## Step 7: Log In to Your Account Once verified: 1. Go back to https://nimbuz.tech/ 2. Click on **Login** 3. Enter your credentials to access your dashboard --- ## You're Ready to Go After logging in, you can: - Deploy applications - Configure environments - Manage domains and networking - Monitor your deployments --- ## Need Help? If you face any issues during login, feel free to reach out to the Nimbuz team. Source: https://docs.nimbuz.tech/onboarding/account-setup --- # Platform Overview > Overview of the Nimbuz cloud platform architecture, core components, supported languages and frameworks, regions, CLI and key features for deployment, scaling and observability. Discover the powerful features and capabilities that make Nimbuz your ideal cloud platform for deployment, scaling, and innovation. ## Nimbuz Architecture Nimbuz is a unified platform for modern app and infrastructure management combining secure configuration, seamless releases, built-in observability, and scalable operations to empower confident delivery. ## Core Components ### Switch Component The switch component is available across all screens to rapidly switch the project, region and environment without navigating to the projects screen. The user will be able to switch the project or region or environment by clicking on **"Switch"** as shown: ![Switch Component](https://docs.nimbuz.tech/img/onboarding/image016.png) For instance, "neat-graceful" here is the project in the region "ap-south-1" having the environment "default-2". To quickly switch to another project, the user can click on Switch button and the below screen appears: ![Switch Project](https://docs.nimbuz.tech/img/onboarding/image017.png) The user can select any available project from the projects dropdown, or select a region and environment and click on proceed. The dashboard metrics, deployments and tools will be loaded based on the selection. ### Dashboard Get real-time insights on cost, deployments, resource usage, and endpoint access, all in one place. ### Application Deployment Deploy applications using multiple methods: #### Git Integration - Connect your GitHub, GitLab, or Bitbucket repositories - Automatic deployments on code push - Branch-based deployment strategies - Rollback capabilities #### Container Support - Docker container deployment - Kubernetes orchestration - Container registry integration - Multi-architecture support (x86, ARM) #### Serverless Functions - Deploy functions in multiple languages - Event-driven architecture - Auto-scaling capabilities - Cold start optimization ### Infrastructure Services #### Databases - **PostgreSQL**: Fully managed relational database - **MongoDB**: Document database with auto-scaling - **MySQL**: Traditional relational database option - **MSSQL**: Enterprise-grade relational database - **n8n**: Workflow automation and integration platform - **RabbitMQ**: Distributed message broker and queuing service #### Storage Solutions - **Object Storage**: S3-compatible blob storage - **File Systems**: Persistent and shared storage - **CDN**: Global content delivery network - **Backup Services**: Automated backup and recovery #### Networking - **Load Balancers**: Distribute traffic efficiently - **SSL Certificates**: Automatic HTTPS encryption - **Custom Domains**: Map your domains easily - **VPC**: Private network isolation ### Developer Tools #### CLI (Command Line Interface) ```bash # Install Nimbuz CLI npm install -g @nimbuz-tech/cli # Log in to your account nimbuz login # Deploy your application nimbuz init nimbuz deploy ``` See the [Nimbuz CLI reference](https://github.com/nimbuz-tech/nimbuz-cli) for all commands. #### REST API - REST API for projects, environments, deployments, tools, metrics, logs and billing - Interactive [API Reference](pathname:///api/introduction) with code samples - OpenAPI document for generating your own client #### CI/CD Integration - Automatic deployments on push from GitHub or GitLab - Deploy from any CI pipeline (for example GitHub Actions) with `npx @nimbuz-tech/cli deploy --yes` and a `NIMBUZ_TOKEN` secret ## Key Features ### Auto-Scaling Automatic scaling based on demand: - **Horizontal Scaling**: Add more instances automatically - **Vertical Scaling**: Increase resource allocation - **Custom Metrics**: Scale based on custom application metrics - **Scheduled Scaling**: Prepare for known traffic patterns ### Monitoring & Observability Comprehensive monitoring suite: - **Application Metrics**: Performance and usage statistics - **Infrastructure Monitoring**: Server and service health - **Log Management**: Centralized logging and search - **Alerting**: Customizable alerts and notifications - **Distributed Tracing**: Track requests across services ### Security Features Enterprise-grade security: - **Identity & Access Management**: Role-based access control - **Network Security**: Firewall rules and VPC isolation - **Data Encryption**: At-rest and in-transit encryption - **Vulnerability Scanning**: Automated security scans ### Cost Optimization Optimize your cloud spending: - **Resource Right-Sizing**: Recommendations for optimal sizing - **Usage Analytics**: Detailed cost breakdowns - **Budget Alerts**: Stay within spending limits - **Reserved Instances**: Discounts for committed usage ## Supported Technologies ### Programming Languages - JavaScript/Node.js - Python - Java - Go - PHP - Ruby - .NET/C# - Rust ### Frameworks - **Frontend**: React, Vue.js, Angular, Next.js - **Backend**: Express.js, Django, Flask, Spring Boot - **Full-Stack**: Next.js, Nuxt.js, SvelteKit ### Databases - PostgreSQL - MongoDB - MySQL - MSSQL - RabbitMQ - n8n ## Regions & Availability Projects and environments are hosted in **ap-south-1 (Mumbai)** by default. The regions available to your account are listed in the **Region** selector when you create a project or environment, and you can switch between them at any time with the [Switch component](#switch-component). ## Getting Started Paths Choose your path based on your needs: ### For Developers 1. [Deploy your first application](./first-deployment) 2. [Deployment Guide](./deployment-guide) 3. [Tools & Services](../tools-services) ### For DevOps Teams 1. [Nimbuz CLI](https://github.com/nimbuz-tech/nimbuz-cli) 2. [API Reference](pathname:///api/introduction) 3. [Resource Management](./resource-management) ### For Product Teams 1. [Project Management](./project-management) 2. [User Management](./user-management) 3. [Billing](./billing) ## Support & Resources ### Documentation - [API Reference](pathname:///api/introduction) - [Nimbuz CLI](https://github.com/nimbuz-tech/nimbuz-cli) - [Best Practices Guide](./best-practices) - [Deployment Troubleshooting](./deployment-guide#troubleshooting) ### Contact - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **GitHub**: [github.com/nimbuz-tech](https://github.com/nimbuz-tech) ### Professional Support - 24/7 Technical Support - Dedicated Customer Success Manager - Professional Services - Training and Workshops ## Next Steps Ready to dive deeper? Continue with: 1. [Deploy Your First Application](./first-deployment) 2. [Resource Management](./resource-management) 3. [Best Practices](./best-practices) Source: https://docs.nimbuz.tech/onboarding/platform-overview --- # First Deployment > Deploy your first application on Nimbuz from GitHub, GitLab or a ZIP file: choose a deployment type, set environment variables, connect a database, monitor and scale. 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 1. Choose your project 2. Click the **Proceed** button at the bottom right of the Projects page ### Option B: Navigate to Applications 1. From the sidebar on the left, navigate to **Applications** *Both options will take you to the same Applications page* ![Deployments Page](https://docs.nimbuz.tech/img/onboarding/image018.png) ## Create New Applications Click **"+ New Applications"** button on the right side of the Applications screen. ![New Deployment](https://docs.nimbuz.tech/img/onboarding/image019.png) ## Choose Deployment Type Click the dropdown labeled **"Choose a type to continue."** You have three deployment options based on where your codebase is hosted: ![Deployment Type Selection](https://docs.nimbuz.tech/img/onboarding/image020.png) 1. **Deploy from GitHub repo** 2. **Deploy from GitLab repo** 3. **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. ![GitHub Deployment](https://docs.nimbuz.tech/img/onboarding/image021.png) ### 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. ![GitLab Deployment](https://docs.nimbuz.tech/img/onboarding/image022.png) ### Deploy from ZIP/TAR Browse and select ZIP or TAR file (maximum size: 500 MB) from local device. Then, click **Submit**. ![ZIP Deployment](https://docs.nimbuz.tech/img/onboarding/image023.png) ## 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: `dist` or `build` - 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: `/health` endpoint ### 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: 1. Go to **Project Settings** → **Environment Variables** 2. Add key-value pairs 3. Mark sensitive variables as "Secret" 4. Redeploy your application Common environment variables: ```bash NODE_ENV=production DATABASE_URL=your-database-url API_KEY=your-api-key PORT=3000 ``` ### Custom Domains Connect your custom domain: 1. Go to **Project Settings** → **Domains** 2. Click **"Add Domain"** 3. Enter your domain name 4. Follow DNS configuration instructions 5. SSL certificate is automatically provisioned ## Database Setup Add a database to your application: ### PostgreSQL Database 1. Go to **Resources** → **Databases** 2. Click **"Create Database"** 3. Select **PostgreSQL** 4. Choose your plan and region 5. Database connection details will be provided ### MongoDB Database 1. Select **MongoDB** from database options 2. Configure cluster size and region 3. Get connection string for your application ### MySQL Database 1. Select **MySQL** from database options 2. Configure storage and instance type 3. Set your root password and custom database name ### MSSQL Database 1. Select **MSSQL** from database options 2. Choose your instance specifications 3. Configure administrative credentials ### n8n Workflow Automation 1. Select **n8n** from the tools section 2. Configure instance type 3. Access n8n using the provided URL ### RabbitMQ Message Broker 1. Select **RabbitMQ** for messaging and queuing 2. Set up your administrative user and password 3. 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: 1. Go to **Project** → **Logs** 2. Filter by log level (error, warn, info) 3. Search specific log messages 4. 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: 1. Go to **Project Settings** → **Scaling** 2. Set minimum and maximum instances 3. Configure scaling triggers 4. Apply changes ## Common Deployment Issues ### Build Failures **Node.js Version Mismatch** ```bash # 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** ```javascript // 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: 1. [Learn about resource management](./resource-management) 2. [Configure networking and custom domains](./deployment-guide#networking-configuration) 3. [Monitor costs and workloads on the dashboard](./dashboard) ## Getting Help Need assistance with deployment? - Check the [deployment troubleshooting section](./deployment-guide#troubleshooting) - Contact support: [info@dilligentech.com](mailto:info@dilligentech.com) Source: https://docs.nimbuz.tech/onboarding/first-deployment --- # Project Management > Create and manage Nimbuz projects and environments (dev, staging, production): project preferences, notifications, access control, regions and troubleshooting. Learn how to create and manage projects on the Nimbuz platform. Deploy your application or tool on the Nimbuz platform with this step-by-step guide. ## Understanding Projects Projects group related apps, services, and resources into a single unit for managing environments, access controls, and deployments. Each project can contain multiple environments (dev, staging, production) and can be deployed across different regions. ## Creating Your First Project After successful login, you'll be directed to the Projects homepage. ![Projects Page Overview](https://docs.nimbuz.tech/img/onboarding/image006.png) *Projects homepage showing existing projects and create button* ### Step 1: Navigate to Projects From the sidebar, navigate to **Projects**. On the Projects page, click the **+ Create Project** button, then click **Proceed** at the bottom. This will open the **Create Project** form for further configuration. ![Create Project Form](https://docs.nimbuz.tech/img/onboarding/image007.png) Project creation form with all configuration options ### Step 2: Configure Project Details Fill in the following information: #### Basic Information - **Project Name**: Enter a unique name for the project, e.g., *My-Awesome-App*. Project name cannot be empty. - **Description** (optional): Optionally enter a description to explain what this project is about. #### Environment Configuration - **Environment Name**: - Provide a name for the environment - Examples: "development", "staging", "production" - This field is required and cannot be empty - **Region**: Select a deployment region for your environment - Default: "ap-south-1 (Mumbai)" - Choose a region close to your users for better performance - Consider data residency requirements for your application ### Step 3: Create Project After filling in all the necessary information, click the **Create Project** button at the bottom right. A confirmation message will appear: **"Project created successfully."** **You created your first project successfully!** The user will be redirected back to the Projects page where you can see your newly created project. ![Created Project](https://docs.nimbuz.tech/img/onboarding/image008.png) ## Project Preferences Each project has comprehensive settings that can be accessed through the project preferences screen. ### Accessing Project Preferences Click the gear icon ⚙️ next to the project name. This opens the project preferences screen. ![Project Preferences](https://docs.nimbuz.tech/img/onboarding/image009.png) **Project Preferences Screen** The Project Preferences screen includes the following sections: #### General Settings Click the pencil icon to edit the project name and description. Changes can be saved after editing. #### Usage Details Displays current and estimated usage, including instance types, hours of usage, and the corresponding cost. #### Environments **Environment Status**: See the current state of each environment ## Notification Settings Configure alerts and notifications: **Email Recipients**: Email addresses that will receive notifications for: - **Usage Limits Exceeded**: Alerts when resource limits are reached - **Billing Updates**: Payment and invoice notifications - **Deployment Updates**: Deployment status changes - **System Errors**: Critical system alerts and failures ## Access Management Control who can access your project: - **Add Users**: Invite team members to the project - **Assign Roles**: Set appropriate permissions for each user **Role Types:** - **Admin**: Full project access and management - **Developer**: Deploy and manage applications - **Viewer**: Read-only access to project resources #### Integrations Connect external services: - **GitHub Integration**: Connect your GitHub repositories - **GitLab Integration**: Connect your GitLab repositories - **Webhook Configuration**: Set up custom webhooks for CI/CD - **API Access**: Configure API keys and permissions ## Environment Management Environments are isolated deployment spaces within a project where application workloads are deployed and managed. ### Creating Environments 1. From the sidebar, navigate to **Projects** 2. Click **"+ Create Environment"** button 3. Fill in the environment configuration: #### Environment Configuration - **Project Name**: Select an existing project from the dropdown - **Environment Name**: Create a custom environment name (default: "default") - Examples: "staging", "production", "testing" - This step is optional - **Region**: Select deployment region (default: "ap-south-1 (Mumbai)") 4. Click **"Create Environment"** button 5. Confirmation message: **"Environment created successfully."** ### Environment Preferences Access environment-specific settings by clicking the gear icon ⚙️ next to the environment name. #### Environment Settings Sections **General Settings** - Edit environment name - Update environment description - Save configuration changes ### Environment Resource Limits The Resource Limits section allows users to configure the maximum resources available for an environment. Resource limits help control the infrastructure resources that can be allocated to applications and services running in the environment. Common resource quota concepts include CPU, memory, and storage limits. ![Environment Management](https://docs.nimbuz.tech/img/onboarding/image062.png) - **Max RAM**: The maximum RAM that can be allocated to the environment - **Max CPU**: The maximum CPU capacity available to the environment. - **Max Persistent Storage**: The maximum persistent storage available to the environment. - **Current Usage (CU)**: The resources currently being used by applications and services in the environment. - For example: - RAM: 4.13 GB currently in use - CPU: 1.26 vCPU currently in use - Persistent Storage: 1 GB currently in use - **Buffer**: A 110% buffer is maintained to ensure sufficient capacity and prevent any impact during rolling upgrades. - **CU + Buffer**: CU + Buffer represents the minimum recommended resource capacity based on current resource usage and the additional buffer required by the environment. - Users should consider the CU + Buffer value when reducing a resource limit. - For example: - Current RAM Usage = 4.13 GB - CU + Buffer = 8.66 GB - Configured RAM Limit = 20 GB The RAM limit should not be reduced below the required minimum of 8.66 GB. - **Max RAM**: Current Usage (CU) = 3 GB, CU + Buffer = 6.3 GB, max limit = 20 GB - **Max CPU**: Current Usage (CU) = 1.13 vCPU, CU + Buffer = 2.36 vCPU, max limit = 10 vCPU - **Max Persistent Storage**: Current Usage (CU) = 1 GB, CU + Buffer = 2.1 GB, max limit = 100 GB If a user attempts to reduce a resource limit below the CU + Buffer value, a validation warning is displayed. > Max limit cannot be lower than the current usage of 1 GB. Please set a value of at least 2.1 GB (Current Usage + Buffer). These resource limits help users understand how much of each resource is being used and how much is still available. ## Project Operations ### Deleting Projects **⚠️ Warning**: Deleting a project is permanent and cannot be undone. 1. Go to **Project Preferences** page 2. Click the ellipsis (⋮) menu 3. Select **"Delete"** from the dropdown 4. Click **"Confirm"** in the deletion dialog **What gets deleted:** - All environments within the project - All deployments and applications - All tools and services - All project data and configurations - All usage history and metrics ### Deleting Environments Similar to project deletion: 1. Go to **Environment Preferences** page 2. Click the ellipsis (⋮) menu 3. Select **"Delete"** 4. Click **"Confirm"** in the confirmation dialog **What gets deleted:** - All deployments in the environment - All tools and services in the environment - All environment-specific configurations - All usage data for the environment ## Quick Navigation with Switch Component The switch component provides rapid navigation across projects, regions, and environments. ### Using the Switch Component The switch component is available across all screens and shows your current context: **Format**: `project-name` in region `region-name` with environment `environment-name` **Example**: 'neat-graceful' in region 'ap-south-1' with environment 'default-2' ### Switching Context 1. Click the **"Switch"** button 2. Select from available options: - **Project**: Choose any available project from dropdown - **Region**: Select target region - **Environment**: Pick environment within the selected project 3. Click **"Proceed"** ### What Updates When Switching When you switch context, the following will reload based on your selection: - Dashboard metrics and analytics - Deployment listings and status - Tools and services - Resource usage statistics - Cost and billing information ## Best Practices ### Project Organization - **Naming Conventions**: Use consistent, descriptive names - **Environment Strategy**: Separate dev, staging, and production - **Region Selection**: Choose regions close to your users - **Documentation**: Maintain clear project descriptions ### Access Management - **Principle of Least Privilege**: Grant minimum necessary access - **Regular Reviews**: Audit user access periodically - **Role-Based Access**: Use appropriate roles for team members - **Team Organization**: Group users by function and responsibility ### Resource Management - **Monitor Usage**: Regular review of resource consumption - **Set Limits**: Configure appropriate resource limits - **Cost Optimization**: Right-size environments based on needs - **Environment Lifecycle**: Remove unused environments ## Troubleshooting ### Common Issues #### Project Creation Fails - Check project name uniqueness - Verify region availability - Ensure proper permissions - Contact support if issues persist #### Environment Access Issues - Verify user permissions - Check environment status - Confirm region accessibility - Review access management settings #### Resource Limit Errors - Review current resource usage - Check environment limits - Consider upgrading limits - Optimize resource consumption ## Next Steps With your project set up, you're ready to: 1. [Deploy your first application](./deployment-guide) 2. [Set up tools and services](../tools-services) 3. [Configure monitoring and alerts](./dashboard) 4. [Manage team access](./user-management) ## Support Need help with project management? - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **Live Chat**: Available 24/7 in your dashboard - **Documentation**: Comprehensive project guides - **Video Tutorials**: Step-by-step project setup guides Source: https://docs.nimbuz.tech/onboarding/project-management --- # User Management > Invite team members to Nimbuz, assign roles and permissions per project and environment, and manage users, access levels and administrative tasks. User Management in Nimbuz allows you to manage team members and control access to projects and environments through a simple and intuitive interface. This feature helps teams collaborate securely by assigning appropriate permissions to each user. ## Overview The User Management module provides: - View all users in your organization - Add new users - Assign project-level permissions - Edit or remove access policies - Maintain secure and controlled collaboration {/* ## Business Account Features User management is available exclusively for **Business accounts**. Individual accounts have limited user management capabilities focused on personal account settings. ### Why Business Accounts? Business accounts provide: - Multi-user collaboration capabilities - Advanced access control mechanisms - Organizational structure support - Enhanced security and compliance features - Team-based resource management - Centralized billing and cost allocation */} ## Team Member Invitation ### Invitation Process Business account administrators can invite team members. #### Step 1: Access User Management 1. Navigate to the **Users** section in your dashboard 2. This option is visible only to Business account administrators 3. Ensure you have administrator privileges to invite users #### Step 2: Add New User To create a new user: 1. Click on **+ New User**. 2. Fill in the required details: **Fields:** - **Username**: Enter a unique name for the user. - **Email**: Provide a valid email address. This will be used for communication and verification. - **Select Project**: Choose the project the user should access. - Options: `All` (Access to all projects) or a specific project. - **Select Environment**: Define the environment scope within the selected project. - Options depend on the selected project. - `All` grants access to all environments. - **Select Access**: Define the permission level: - **Read** – View-only access - **Write** – Can modify resources - **All** – Full access (admin-level) **Actions:** - **Add User**: Creates the user with defined permissions. - **Cancel**: Discards changes. Upon successful creation, an invitation email is automatically sent to the user. #### Step 3: Invitation Email Delivery After adding a user, Nimbuz automatically sends an invitation email containing: - **Login URL**: Direct link to your organization's Nimbuz portal - **Login Credentials**: Temporary credentials for initial access - **Welcome Information**: Introduction to your organization's Nimbuz environment - **Support Contact**: Information for getting help during onboarding #### Step 4: User Onboarding Once the invitation is sent: 1. The user opens the invitation email 2. Clicks the login link 3. Completes account setup (if required) 4. Gains access to the Nimbuz dashboard Once the setup is complete, the user’s status will be updated to Verified ### Invitation Email Contents Each invitation email includes: **Essential Access Information:** - Organization-specific login URL - Temporary username and password - Account activation instructions - Security guidelines and requirements {/* **Onboarding Resources:** - Quick start guide for new users - Links to documentation and tutorials - Contact information for technical support - Organization-specific usage guidelines */} ### Member Onboarding Experience #### First-Time Login 1. **Access Portal**: Team members use the login URL from their invitation email 2. **Initial Authentication**: Sign in with provided temporary credentials 3. **Password Change**: System requires immediate password change for security 4. **Profile Setup**: Complete basic profile information #### Account Activation - Immediate access to assigned projects and resources - Role-based permissions automatically applied - Introduction to organization's Nimbuz environment - Access to team collaboration features ## Manage User Permissions Permissions are managed at the project and environment level. ### Access Details Inside the **Users** panel, you will see a list of users with their details and access entries under the **Manage Policies** column. To manage user permissions, use the action icons provided under **Manage Policies**: - **View** (eye icon) – Read-only inspection of user permissions. - **Edit** (pencil icon) – Modify existing user access and permissions. - **Delete** (trash icon) – Remove the user or specific permissions. ### Manage Policies #### Add New Permission To assign a new permission: 1. Click **+ New User** (or edit an existing one). 2. Select the following details for access: - **Project** - **Environment** - **Access Level**: - **Read** → View-only access - **Write** → Allows you to deploy the application, modify associated resources and delete them - **All** → Full access 3. Click to save the permission. #### Edit Permission To modify an existing permission: 1. Click the **Edit** icon on the user's row under **Manage Policies**. 2. Update the fields as needed: - **Project** - **Environment** - **Access level** 3. Click **Update Policy**. 4. A confirmation message will be shown. #### View Permissions To quickly check user permissions: 1. Click the **View** icon under **Manage Policies**. 2. This allows read-only inspection without making any changes to the user's access. #### Remove Permission To remove specific project/environment access: 1. Click the **Delete** icon on the specific permission row. 2. Confirm the action. 3. The user will immediately lose access to that project/environment. #### Delete User To completely remove a user from the organization: 1. Click the **Delete** icon on the main users list. 2. Confirm deletion. 3. This will revoke all access for the user immediately. {/* ## Access Management Features ### Project-Level Permissions Control user access at the project level: **Project Assignment:** - Assign users to specific projects - Users only see projects they have access to - Project-based resource isolation - Role inheritance from organization level **Environment Access:** - Separate permissions for development, staging, and production - Environment-specific role assignments - Deployment approval workflows - Environment-based resource limits */} {/* ## Team Collaboration ### Communication Features **In-Platform Notifications:** - Deployment status updates - System alerts and warnings - Team activity notifications - Resource usage alerts **Email Notifications:** - Project activity summaries - Cost and billing alerts - Security notifications - Maintenance announcements */} {/* ### Collaboration Workflows **Deployment Collaboration:** - Shared deployment management - Collaborative configuration - Team-based rollback capabilities - Deployment approval processes **Resource Sharing:** - Shared databases and services - Team-accessible tools - Collaborative resource management - Shared monitoring and alerting **Access Monitoring:** - User activity logging - Access attempt monitoring - Permission change auditing - Security event notifications ### Compliance Features **Audit Trails:** - Complete user activity logs - Permission change history - Resource access tracking - Compliance reporting capabilities **Data Protection:** - Role-based data access - Sensitive information protection - Data export and retention controls - Privacy compliance support {/* ## User Management Best Practices ### Onboarding Best Practices **Systematic Onboarding:** - Create standardized invitation templates - Provide comprehensive onboarding documentation - Establish mentorship or buddy systems - Regular check-ins during first week **Security-First Approach:** - Require immediate password changes - Encourage two-factor authentication - Provide security training and guidelines - Regular security policy reviews ### Access Management **Principle of Least Privilege:** - Grant minimum necessary permissions - Regular permission reviews and audits - Time-limited access for temporary team members - Project-based access control **Role Management:** - Clear role definitions and responsibilities - Regular role assignment reviews - Documentation of permission changes - Escalation procedures for access requests ### Team Scaling **Growing Teams:** - Standardized role assignment processes - Automated onboarding workflows - Self-service permission requests - Scalable approval processes **Team Changes:** - Immediate access revocation for departing members - Permission transfer procedures - Exit interview and knowledge transfer - Account deactivation processes */} ## Administrative Tasks (All Access) ### User Lifecycle Management **Adding Users:** - Bulk invitation capabilities - CSV import for large teams - Automated role assignment - Welcome email customization **Managing Existing Users:** - Role modification capabilities - Project reassignment options - Permission adjustment tools - Activity monitoring dashboards **Removing Users:** - Immediate access revocation - Resource ownership transfer - Account deactivation procedures - Data retention policies {/* ### Monitoring and Reporting */} {/* **User Activity Reports:** - Login and activity tracking - Resource usage by user - Permission utilization analysis - Security event reporting **Access Analytics:** - User engagement metrics - Feature usage statistics - Permission effectiveness analysis - Security compliance reports */} ## Troubleshooting ### Common Issues #### Invitation Problems - Email delivery issues to invited users - Temporary credential problems - Login URL accessibility - Corporate firewall restrictions #### Access Issues - Permission synchronization delays - Role assignment conflicts - Project access problems - Resource visibility issues ### Resolution Strategies **Email Delivery Issues:** - Check spam and junk folders - Verify email addresses are correct - Resend invitations if necessary - Contact email administrator for domain issues **Permission Problems:** - Review role assignments and permissions - Check project-level access controls - Verify organization-level settings - Contact support for complex permission issues ## Support and Resources ### Getting Help **User Management Support:** - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **Live Chat**: Available 24/7 for administrators - **Documentation**: Comprehensive user management guides **Enterprise Support:** - **Dedicated Support**: Enterprise customers receive priority support - **Implementation Assistance**: Help with complex user management setups - **Best Practices Consulting**: Guidance on optimal user management strategies - **Training Programs**: User management training for administrators {/* ## Next Steps Complete your user management setup: 1. [Review security best practices](./best-practices) - Implement security guidelines 2. [Configure monitoring and alerts](./dashboard-monitoring) - Set up user activity monitoring 3. [Optimize resource access](./resource-management) - Fine-tune permissions and access 4. [Implement compliance procedures](./compliance-guide) - Ensure regulatory compliance Your team is now ready to collaborate effectively on the Nimbuz platform with proper access controls and security measures in place. */} Source: https://docs.nimbuz.tech/onboarding/user-management --- # Resource Management > Monitor and manage CPU, memory, instances and auto-scaling for Nimbuz applications and tools, and read application metrics, tool metrics and usage analytics. Learn how to effectively manage your cloud resources on the Nimbuz platform for optimal performance. ## Overview Resource Management in Nimbuz helps you monitor and manage CPU, memory, scaling, and usage of your applications and tools. It helps ensure your services run smoothly, perform efficiently, and use resources effectively. ## Compute Resources ### Application Instances Monitor and manage your application instances. ## Application Metrics Nimbuz provides detailed metrics to help you monitor the health and performance of your applications. Understanding these metrics is crucial for ensuring your applications run smoothly and efficiently. ### CPU Usage CPU Usage shows how much processing power your application is currently using. It is measured in mCPU (milliCPU) and also displayed as a percentage of the total CPU allocated to the application. ![CPU Usage](https://docs.nimbuz.tech/img/onboarding/image055.png) #### Why it is useful for users: - It helps users understand how much CPU their application is using and whether the current CPU resources are enough to handle the workload. #### Why it is important for application monitoring and performance: - High CPU usage over time can slow down the application and increase response time. Monitoring CPU usage helps ensure the application has enough processing power for smooth performance. ### RAM Usage RAM Usage shows how much memory your application is currently using. It is measured in MiB (Mebibytes) and displayed as a percentage of the total allocated RAM. ![RAM Usage](https://docs.nimbuz.tech/img/onboarding/image055.png) #### Why it is useful for users: - It helps users track memory usage and identify if the application is using too much RAM or facing memory-related issues. #### Why it is important for application monitoring and performance: - If RAM usage becomes too high, the application may crash or be stopped by the system (OOMKilled). Monitoring RAM usage helps maintain application stability and prevent downtime. ### CPU Throttle CPU Throttle shows how often your application was slowed down because it tried to use more CPU power than the allowed limit. High CPU throttling can cause slower performance, delayed responses, and reduced application speed. ![CPU Throttle](https://docs.nimbuz.tech/img/onboarding/image058.png) #### Why it is useful for users: - It helps users understand when their application is slowing down because it does not have enough CPU resources. This makes it easier to identify performance issues and decide when to increase CPU limits or optimize the application. #### Why it is important for application monitoring and performance: - CPU throttling can make the application slow and increase response time, leading to a poor user experience. Monitoring this metric helps identify when the application needs optimization or more CPU resources to maintain smooth and reliable performance. ## Tool Metrics Nimbuz provides detailed metrics to help you monitor the health and performance of your tools and database services. Understanding these metrics is crucial for ensuring your tools run smoothly and efficiently. ### CPU Usage CPU Usage shows how much processing power your tool is currently using. It is measured in mCPU (milliCPU) and also shown as a percentage of the total CPU allocated to the tool. High CPU usage means the tool is working harder to process tasks and requests. ![CPU Usage](https://docs.nimbuz.tech/img/onboarding/image059.png) **Why it is useful for users:** - It helps users monitor how much processing power their tool is using over time. This makes it easier to know whether the current CPU resources are enough or if the tool needs more CPU capacity for better performance. **Why it is important for tool monitoring and performance:** - High CPU usage over time can slow down the tool and increase response time. Monitoring CPU usage helps ensure the tool has enough processing power and helps optimize performance and resource usage. ### RAM Usage RAM Usage shows how much memory your tool is currently using. It is measured in MiB (Mebibytes) and displayed as a percentage of the total allocated RAM. ![RAM Usage](https://docs.nimbuz.tech/img/onboarding/image059.png) **Why it is useful for users:** - It helps users track memory usage and identify if the tool is using too much RAM or facing memory-related issues. **Why it is important for tool monitoring and performance:** - If RAM usage becomes too high, the tool may crash or be stopped by the system (OOMKilled). Monitoring RAM usage helps maintain stability and prevent downtime. ### CPU Throttle CPU Throttle shows when the platform limits your tool’s CPU usage because it is trying to use more CPU resources than allowed. ![CPU Throttle](https://docs.nimbuz.tech/img/onboarding/image057.png) **Why it is useful for users:** - It helps users understand when their tool is slowing down due to insufficient CPU resources. **Why it is important for tool monitoring and performance:** - High CPU throttling can slow down the tool, increase response time, and delay processing. Monitoring this metric helps identify when the tool needs optimization or additional CPU resources. ## Usage/Analytics The Usage & Analytics section provides detailed insights into your API consumption and costs within a specific duration. It helps you monitor usage patterns, optimize performance and manage spending effectively. ![Usage](https://docs.nimbuz.tech/img/onboarding/image053.png) - **Total Requests**: The total number of API calls made to the model - **Prompt Tokens**: The number of tokens used in the input sent to the model - **Completion Tokens**: The number of tokens generated by the model in its response - **Total Tokens**: The sum of prompt tokens and completion tokens for all requests - **Total Cost**: The total cost incurred based on token usage **Why it is useful for users:** - It helps users understand how much their API is being used, including the number of requests, tokens used, and total cost. This makes it easier to monitor usage and manage spending effectively. **Why it is important for monitoring:** - It helps track API usage, token consumption, and costs. Monitoring these details helps identify high usage, control spending, and ensure the API performs smoothly and efficiently. ## Support **Resource Management Support:** - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) Source: https://docs.nimbuz.tech/onboarding/resource-management --- # Deployment Guide > Complete Nimbuz deployment reference: Git, Docker image and ZIP deployments, build and runtime configuration, environment variables, secrets, nimbuz.json config as code, networking, application states and troubleshooting. This comprehensive guide walks you through deploying applications on the Nimbuz platform. Learn about multiple deployment methods, configuration options, and deployment management. ## Getting to Deployments You can access the Applications section in two ways: ### Option A: From Projects Page 1. Choose your project 2. Click the **"Proceed"** button at the bottom right of the Projects page ### Option B: Direct Navigation From the sidebar on the left, navigate to **Applications** Both options will take you to the same Applications page where you can manage all your application deployments. *Deployments page overview with existing deployments and new deploy button* ## Creating a New Application ### Step 1: Start New Deployment Click **"+ New Application"** button on the right side of the Deployments screen. ### Step 2: Choose Deployment Type Click the dropdown labeled **"Choose a type to continue."** You have three deployment options based on where your codebase is hosted: 1. **Deploy from GitHub repo** 2. **Deploy from GitLab repo** 3. **Deploy zip** Choose your deployment method from the dropdown menu ## Deployment Methods ### Method 1: Deploy from GitHub Repository #### Prerequisites - Active GitHub account - Repository with your application code - Appropriate repository permissions #### Steps 1. Select **"Deploy from GitHub repo"** from the dropdown 2. Enter your GitHub credentials to connect to your GitHub account 3. Authorize Nimbuz to access your repositories 4. Your branches and repositories will be loaded automatically 5. Select your target repository and branch #### Benefits - Automatic deployments on code push - Version control integration - Branch-based deployment strategies - Easy rollback to previous versions ### Method 2: Deploy from GitLab Repository #### Prerequisites - Active GitLab account - Repository with your application code - Appropriate repository permissions #### Steps 1. Select **"Deploy from GitLab repo"** from the dropdown 2. Enter your GitLab credentials to connect to your GitLab account 3. Authorize Nimbuz to access your repositories 4. Your branches and repositories will be loaded automatically 5. Select your target repository and branch #### Benefits - GitLab CI/CD integration - Merge request deployments - Container registry support - Advanced DevOps workflows ### Method 3: Deploy from ZIP/TAR File #### Prerequisites - Application code packaged as ZIP or TAR file - File size under 500 MB maximum #### Steps 1. Select **"Deploy zip"** from the dropdown 2. Browse and select your ZIP or TAR file from local device 3. Click **"Submit"** to upload the file #### Benefits - Quick deployment for local development - No external repository required - Direct file upload capability - Suitable for testing and prototyping ## Deployment Configuration After selecting your deployment method, configure your application with the following parameters: ### General Configuration #### Required Parameters **Name** (required) - Usually auto-populated from your repository name - Must contain only lowercase letters, numbers, and separators (., -) - Uppercase letters and consecutive separators are not allowed - Must be unique within your project **Port** - The port your application listens on (e.g., 3000) - Leave blank to use the default port - Common ports: 3000 (Node.js), 8080 (Java), 5000 (Python) #### Optional Parameters **Replicas** - Number of instances you want to run (default: 1) - Higher replicas provide better availability and load distribution - Consider your resource limits and traffic requirements **Folder Path** - Path to the directory containing your application source code - Used as the build context for creating the application image - Should include all required files such as source code, dependencies, and Dockerfile - Common examples: - Node.js: `./app` or `./frontend` - Python: `./backend` or `./service` - Java: `./target` or project root directory **Dockerfile Name** - Name of the Dockerfile used to build the application image - Defines the build and runtime instructions for the container - Must be present inside the specified folder path - Common examples: - `Dockerfile` - `Dockerfile.dev` - `Dockerfile.prod` **Health Endpoint** - Path used for health checks (e.g., `/health`) - Nimbuz uses this to monitor application health - Should return HTTP 200 when application is healthy **Ephemeral Storage** - Temporary storage used during application runtime - Cleared when application restarts - Useful for temporary files and caching ### Instance Type Selection Choose the appropriate instance size based on your application requirements: | Instance Type | Description | Use Case | |---------------|-------------|----------| | **femto** | Lightweight reserved instance | Minimal applications, testing | | **pico** | Very small instance for light usage | Small APIs, development | | **nano** | Smallest instance for light usage | Microservices, simple apps | | **micro** | Smaller instance for light usage | Small web apps, APIs | | **small** | Small instance for light usage | Standard web applications | | **medium** | Standard instance for general use | Production applications | | **large** | High-capacity instance | High-traffic applications | | **extra large** | Max-performance instance | Resource-intensive apps | | **2x large** | Ultra-max performance instance | Enterprise applications | ### Considerations for Instance Selection - **CPU Requirements**: Computational intensity of your application - **Memory Usage**: RAM requirements for your application - **Traffic Volume**: Expected concurrent users and requests - **Cost Optimization**: Balance performance needs with budget ## Environment Variables Configure your application's runtime behavior with environment variables. ### What are Environment Variables? Key-value pairs used to configure application behavior at runtime. Commonly used for: - Environment types (e.g., Dev, Prod) - API endpoints and URLs - Feature flags and toggles - Configuration parameters ### Adding Environment Variables - Navigate to the **Environment Variables** section - Click on **+ New Variables** to add a variable - Enter: - **Variable Name** (Key) - **Value** - Click **Add Env to List** to save the variable - Repeat the process to add multiple variables ### Using Raw Editor - Click on **Raw Editor** to add variables in bulk - You can enter values in: - **ENV format** - **JSON format** - Click **Update Variables** to apply changes ### Save Configuration - After adding variables, click **Save & Continue** ### Best Practices - Use descriptive names for your variables - Avoid storing sensitive data as environment variables - Use consistent naming conventions - Document important environment variables ## Secrets Management Securely store sensitive information like passwords, API keys, and tokens. ### What are Secrets? Sensitive key-value pairs that are: - Stored securely and encrypted - Injected into applications at runtime - Never exposed in codebase or logs - Managed separately from regular environment variables ### Adding Secrets - Navigate to the **Secrets** section - Click on **+ New Variables** to add a secret - Enter: - **Secret Name** - **Value or Reference (Value or REF)** - Click **Add Secret to List** to save the secret - Repeat the process to add multiple secrets ### Using Raw Editor - Click on **Raw Editor** to add secrets in bulk - You can enter values in: - **ENV format** - **JSON format** - Click **Update Variables** to apply changes ### Save Configuration - After adding secrets, click **Save & Continue** ### Security Best Practices - Never commit secrets to version control - Rotate secrets regularly - Use different secrets for different environments - Limit access to secrets based on roles ## Code as Config Upload configuration files for advanced application setup. ### What is Code as Config? - Upload a `config.yml` file from your application - Specify the file path from the root of your application - Provides advanced configuration options - Enables infrastructure as code practices ### Using Code as Config 1. Navigate to the **Code as Config** section 2. Upload your configuration file 3. Specify the file path from your application root 4. Common file formats: YAML, JSON ## Deployment Review and Submission ### Final Review Before deploying, review all your configuration: - **Application Details**: Name, instance type, replicas - **Build Configuration**: Commands and settings - **Environment Setup**: Variables and secrets - **Network Configuration**: Ports and health endpoints - **Resource Allocation**: Storage and compute resources ### Submit Deployment 1. Review all configuration details 2. Make any necessary changes 3. Click **"Submit"** to start the deployment process 4. You'll be redirected to the Applications screen 5. Click the project name to view Application Details ## Application States Understanding your application's lifecycle: ### 1. Initiated - Application created successfully - Status marked as "Initiated" - Transitions to "Building" when system is ready ### 2. Building - Nimbuz uses Nixpacks to build the application - Docker image is created and pushed to ECR repository - Further actions like redeploy are restricted during this phase - Build logs are available for monitoring ### 3. Deploying - Build completed successfully - System pulls image from ECR - Application is being deployed to infrastructure - Infrastructure resources are being provisioned ### 4. Active - Deployment completed successfully - Application is up and ready for use - Health checks are passing - Application is serving traffic ### 5. Pending - Application cannot be accessed or initialized - Resources may not be fully provisioned - Temporary state during scaling or updates - Usually resolves automatically ### 6. Stopped - Application manually paused or stopped - Resources are preserved but not running - Can be resumed when needed - No traffic is being served ### 7. Failed - Build or deploy process failed - Logs available to help troubleshoot - Application is not accessible - Requires investigation and redeployment ## Managing Deployments ### Viewing Application Details Click on any Application name to access detailed information including: - **Active Release**: Current deployment status and timeline - **History** – View previous deployment attempts and releases - **Environment Variables**: Runtime configuration - **Secrets**: Secure configuration management - **Code as Config**: Configuration file management - **Settings**: General deployment settings - **Application Logs**: Real-time and historical logs - **Metrics**: Performance and resource usage - **Networking** – Configure networking settings ### Deployment Actions #### View Logs - Access detailed build and deploy logs - Search functionality for finding specific entries - Real-time log streaming - Error identification and debugging #### Redeploy - Re-initiate build and deploy stages - Current active release marked as "Superseded" - Moved to History tab - Uses current configuration settings #### Pause/Resume - **Pause**: Stops application, status becomes "Stopped" - **Resume**: Restarts paused application - Resources are preserved during pause - Quick way to temporarily stop traffic ### Release Management #### Active Release Information - Deployment trigger timestamp - Timeline of all deployment stages - Status of each stage (Building, Deploying, Active) - Duration taken by each stage - Success/failure indicators #### Release History - Previous deployment attempts - Superseded releases - Rollback capabilities - Performance comparisons ## Networking Configuration ### Public Networking - Allows access to your application over **HTTP/TCP** - Click **Generate Domain** to create a public URL - A domain will be automatically generated for your application - The generated domain can be used to access your service externally ### Private Networking - Enables internal access within the network - Displays an **Internal Host URL** - Used for communication between services inside the platform ### Custom DNS - Enable the **Custom DNS** toggle to use your own domain - Once enabled: - Enter your **Domain Name** (e.g., `example.com`) - Click **Add Domain** to configure **Notes:** - Maps your domain to the deployed application - DNS configuration (CNAME/A record) may be required - Changes may take time to propagate ### Authentication - Enable the **Authentication** toggle to secure your application - Provide: - **Username** - **Password** - Restricts access to authorized users only ### Notes - Use **Public Networking** for external access - Use **Private Networking** for internal service communication - Ensure DNS records are properly configured when using custom domains ### Application Updates #### Source Updates - Update deployment type (ZIP/VCS) - Upload new ZIP/TAR files for ZIP deployments - Triggers build stage when changes are saved - Version control for deployment sources ### Settings Updates - Modify **application configuration** such as: - Instance Type - Region - Replicas - Port - Ephemeral Storage - Configure deployment options: - Enable/Disable Auto Deploy - Enable/Disable Auto Scaling - Update container configuration: - Folder Path - Dockerfile Name - Set **Health Endpoint** for application monitoring - Update source configuration: - Repository URL - Branch Name - Saving changes triggers a **new deployment/update** ## Monitoring and Observability ### Application Logs The **Application Logs** section allows you to view and filter logs for your application. ### Log Features - View **application logs** with: - **Timestamp** - **Message** - Displays logs in a structured table format ### Search & Filters - **Search by keyword** to find specific log entries - Select **Time Duration** (e.g., Last 15 mins) - Choose **Time Zone** (e.g., IST) - Click **Apply Filter** to update results ### Actions - **Refresh Logs** – Reload the latest logs - **Download Logs** – Export logs for analysis - **Switch Mode** – Toggle log viewing mode ### Default Behavior - By default, logs are displayed for the last 15 minutes ### Notes - If no logs are available, a message will be displayed - Use filters to narrow down log results for debugging ### Application Metrics The **Metrics** section provides insights into your application's resource usage and performance. ### Resource Overview - Displays real-time metrics including: - **CPU Usage (mCPU)** - **RAM Usage (MiB)** - **CPU Limit** - **RAM Limit** - **CPU Throttle (%)** - **Instance Type** ### Usage Graphs - **CPU Usage Graph** - Shows CPU usage over time - Compares current usage with maximum limit - **RAM Usage Graph** - Displays memory consumption over time - Helps monitor resource utilization - **CPU Throttle Graph** - Indicates throttling percentage over time - Helps identify performance bottlenecks ### Filters & Controls - Select **Time Duration** (e.g., Last 15 mins) - Choose **Interval** (e.g., 5 mins) - Graphs update based on selected filters ### Notes - Metrics help monitor application performance and resource usage - Compare usage against limits to optimize resource allocation ## Troubleshooting ### Common Deployment Issues #### Build Failures - Check build command syntax - Verify dependencies are properly specified - Review build logs for specific errors - Ensure proper file structure #### Runtime Errors - Check start command configuration - Verify port configuration - Review application logs - Check environment variables and secrets #### Health Check Failures - Verify health endpoint returns HTTP 200 - Check if endpoint exists and is accessible - Review application startup time - Ensure health check path is correct ### Getting Help - Review deployment logs for error messages - Check application metrics for resource issues - Consult troubleshooting documentation - Contact support for persistent issues ## Best Practices ### Deployment Strategy - Use staging environments for testing - Implement proper CI/CD workflows - Test deployments thoroughly before production - Monitor applications after deployment ### Configuration Management - Keep environment-specific configurations separate - Use secrets for sensitive information - Document configuration requirements - Version control configuration files ### Resource Management - Right-size instances based on actual usage - Monitor resource utilization regularly - Scale replicas based on traffic patterns - Optimize build and runtime performance ## Next Steps With your application deployed, explore: 1. [Tools and Services](../tools-services) - Add databases and services 2. [Dashboard Monitoring](./dashboard) - Monitor performance 3. [Resource Management](./resource-management) - Optimize resources 4. [User Management](./user-management) - Manage team access ## Support Need help with deployments? - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **Live Chat**: Available 24/7 in your dashboard - **Documentation**: Comprehensive deployment guides - **Video Tutorials**: Step-by-step deployment walkthroughs Source: https://docs.nimbuz.tech/onboarding/deployment-guide --- # Dashboard > Use the Nimbuz dashboard to monitor cost, workload statuses, AI model usage and endpoints for every environment in real time. The Nimbuz dashboard provides comprehensive observability and monitoring capabilities for your applications and infrastructure. Navigate to the Dashboard at any time to view current statistics and insights for each environment. ![Dashboard](https://docs.nimbuz.tech/img/nimbuz_dashboard.png) ## Dashboard Overview The dashboard serves as your central hub for monitoring all aspects of your Nimbuz infrastructure, providing real-time insights into: - Cost tracking and optimization - Workload status and health - Resource utilization - Endpoint management - Performance metrics - AI model monitoring *Main dashboard showing cost, deployments, and key metrics* ## Cost Management ### Spent Cost Displays the total cost incurred from the beginning of the month up to the current date. **Features** - Real-time cost tracking - Monthly cost accumulation - Detailed cost breakdowns - Historical cost trends ### Estimated Cost Provides an estimate of the total cost for the current month based on current usage patterns. **Benefits:** - Budget planning and forecasting - Cost projection based on usage trends - Early warning for budget overruns - Resource optimization guidance ### Cost Optimization Tips - Monitor daily spending patterns - Right-size instances based on actual usage - Use auto-scaling to optimize resource allocation - Review and eliminate unused resources ## Workload Statuses The dashboard provides a real-time overview of application and tool statuses across the environment. ### Workloads Status Summary | Status | Count | Description | |----------------|------|------------| | **Running** | 3 | Workloads are running and serving live traffic | | **Stopped** | 1 | Workloads are stopped and not currently in use | | **Updating** | 0 | Workloads are being deployed or updated | | **Degraded** | 0 | Workloads are running with issues or partial failures | | **Not Available**| 1 | Workloads are unavailable or failed to start | ### Status Details #### Running workloads - Serving live traffic - Actively consuming resources - Available for use #### Stopped workloads - Not consuming compute resources - Can be resumed when required - Useful for cost optimization #### Updating workloads - Applications and tools are currently updating or deploying - Waiting for resources or dependencies - Usually resolve automatically #### Degraded workloads - Degraded or failed applications and tools - Require investigation and troubleshooting - Logs available for debugging #### Not Available workloads - Current status cannot be determined - The system is checking the workload status - Usually updates automatically when information becomes available ## AI Models Monitoring ### Active AI Models Displays the total number of AI models currently active in the selected environment. **Features** - Real-time model activity tracking - Visibility into running AI models - Resource usage by active models - Availability for inference requests **Benefits:** - Monitor active AI workloads - Ensure models are running as expected - Optimize resource utilization - Quickly identify inactive or unused capacity ## Endpoint Management ### Endpoint List Lists all publicly accessible endpoints with comprehensive management options. **Endpoint Information:** - Endpoint URLs and domains - SSL certificate status - Traffic statistics - Access controls **Management Actions:** - **View**: Display endpoint details and configuration - **Delete**: Remove endpoint and stop public access **Navigation:** - Delete/View actions navigate to the respective tool's management section - Centralized endpoint management across all services - Quick access to endpoint configuration ## Best Practices ### Dashboard Usage - Regularly review cost and usage metrics - Set up appropriate alerts for your environment - Monitor performance trends proactively - Use data for optimization decisions ### Cost Optimization - Review monthly cost reports - Identify underutilized resources - Implement auto-scaling policies - Regular resource right-sizing ## Next Steps Maximize your dashboard usage: 1. [Set up comprehensive monitoring](./resource-management) - Configure detailed monitoring 2. [Implement best practices](./best-practices) - Follow optimization guidelines 3. [Configure team access](./user-management) - Set up appropriate user roles 4. [Review billing and budgets](./billing) - Track costs and set budget alerts ## Support Need help with dashboard and monitoring? - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **Live Chat**: Available 24/7 in your dashboard - **Documentation**: Comprehensive monitoring guides - **Video Tutorials**: Dashboard and monitoring walkthroughs - **Analytics Support**: Advanced analytics consultation available Source: https://docs.nimbuz.tech/onboarding/dashboard --- # Billing > View Nimbuz invoices and charges by service, manage payments and billing details, and set budgets and alerts to control cloud spend. ## Bills & Payment Management The **Bills & Payment Management** section allows users to **view, track, and manage invoices** generated for each billing cycle. It provides clear visibility into **charges, payments, and billing history**. ![Bills & Payment Management](https://docs.nimbuz.tech/img/BIlling.png) ## Overview This section helps you: - **View all invoices** generated for your account - **Track payment status** for each billing cycle - **Download invoices** for record-keeping - **Monitor credits, discounts, and total payable amounts** ## Billing Overview The **Bills** section provides a detailed view of your **billing summary, service usage, and charges** for the selected billing period. ### Access Billing Details Follow these steps to access your billing details: 1. Navigate to **Billing** from the left navigation menu 2. Click on **Bills & Payment Management** 3. Open the **Bills** tab (selected by default) 4. View billing information for the current billing cycle 5. Access the list of invoices for each billing cycle Once you open the **Bills** tab, you will see the following sections: ### Bills & Payment Status Alert Displays notifications and alerts related to billing and payment status. - Shows overdue or pending payment alerts - Example: “Your payment of $14.07 is 65 days overdue” - Includes a **Review Payments** button for quick access and action ### Billing Period - Shows the selected billing duration - Example: **Apr 1 – Apr 30, 2026** - Displays the **last charged date** ### Bill Summary Provides a breakdown of total charges: - **Total Charges** – Overall cost before adjustments - **Taxes** – Applicable tax amount - **Credits Applied** – Discounts or promotional credits - **Outstanding Amount** – Final payable amount ### Service Costs Breakdown of charges based on service type: - **Applications** – Cost for deployed applications - **Tools** – Cost for tools usage - **LLMs** – Cost for AI/LLM usage - **Total Service Cost** – Combined total ### Total Billable Services Displays usage count: - **Applications Count** - **Tools Count** - **LLMs Count** - **Total Services Used** ## Charges by Service This section provides a detailed table of usage: ### Features - **Search Bar** – Filter services - **Filters Available**: - Project - Environment - Services ### Table Columns - **Service Name** – Applications or Tools name - **Type** – Type of the deployment (Application or Tool) - **Total Uptime Hours** – Total duration of usage - **Total Charge** – Total cost per service ### Table Interaction Expand Row (> icon) – Click the arrow before the Service Name to view additional service details. ### Expanded Service Details - **Instance Cost** – Compute instance used by the service - **Storage Cost** – Total storage charges for the selected service - **Network Usage** – Total network data transferred by the selected service - **Network Cost** – Total charges incurred for network usage ### Instance Cost Popup - **Instance Cost** – Click the icon beside Instance Cost to view detailed instance cost information. ### Instance Cost Details - **Instance** – Name of the compute instance. - **CPU (Cores)** – Number of CPU cores allocated to the instance. - **Memory (GiB)** – Amount of memory allocated to the instance, in gibibytes (GiB). - **Hourly Rate** – Cost of the instance per hour. - **Uptime Hours** – Total number of hours the instance was running. - **Total Cost** – Total instance cost based on the hourly rate and uptime. #### Charges by LLM Displays AI/LLM-specific usage and billing information, including: - Model Name - Total Requests - Total Tokens - Cost ## Notes - Billing data is updated based on usage within the selected billing period - Overdue payments should be cleared to avoid service interruptions - Use filters to quickly analyze usage across projects and environments ## Payment Management The **Payments** tab allows users to **view outstanding balances, track payment history, and manage billing information**. It provides a centralized view of all payment-related activities. ## Payment Overview Follow these steps to access the Payments section: 1. Click on the **Payments** tab 2. The system displays payment details and invoice history This section provides a quick summary of your payment status: ### Payment Overview Card - **Next Due Date** – Upcoming payment deadline - **Overdue** – Number of days payment is overdue ### Total Outstanding - Displays the **total unpaid amount** - Example: **$14.07 Amount due for payment** ### Available Credit - Shows any **credit balance available** - Example: **$0.00 Credit balance available** ### Last Payment - Displays the **most recent payment details** - If no payment is made, it shows: *No payment recorded yet* ## Company & Billing Info - Displays your company and billing details for invoices - If not added, it shows: **“No Company & Billing Information Added”** - This section is for **viewing billing details only** - Billing details can be updated from the **Account Settings** page ### Invoice History **Invoice Records** - Displays list of all generated invoices - Includes billing and payment activity **Search & Filters** - Search invoices using keywords - Filter by date range (e.g., last 3 months) - Filter by payment status ### Invoice Table Details - Type - Invoice ID - Subtotal - Tax - Credit - Outstanding - Status - Actions --- ### Payment Management - Allows users to track all payment activities - Provides visibility into outstanding balances - Enables quick payment of pending invoices - Maintains complete payment and invoice history ## Budget Management The **Budgets** tab enables you to monitor account usage and manage daily and monthly budget thresholds. You can configure budget amounts for your account and add email recipients to receive relevant usage and budget notifications. When a configured budget is reached or exceeded, the system sends notifications to the designated recipients. Budget thresholds do not affect running applications, deployment processes, or application services, which continue to operate normally. ![Budget Management](https://docs.nimbuz.tech/img/onboarding/image061.png) ### Open Budgets 1. Open **Billing** from the left navigation menu. 2. Select the **Budgets** tab. The Budgets page contains two sections: **Account Budget** and **Notification Recipients**. ### Set an Account Budget Use the **Account Budget** section to configure your daily and monthly budget amounts: - **Daily Budget** – The maximum amount allocated for daily account usage. - **Monthly Budget** – The maximum amount allocated for monthly account usage. - **Set Budget** – Saves the configured budget amounts. To configure a budget: 1. Enter an amount in the **Daily Budget**, **Monthly Budget**, or both fields. 2. Select **Set Budget**. The page also shows: - **Current Daily Usage** – Your current day's usage compared with the configured daily budget. - **Current Monthly Usage** – Your current month's usage compared with the configured monthly budget. - **Monthly Budget Forecast** – An estimated account usage amount by the end of the current month. If a budget has not been configured, the forecast displays **Budget not set**. Usage and forecast values are based on your account activity. ### Add Budget Notification Recipients The **Notification Recipients** section lists the email addresses that receive an alert when a budget is exceeded. To add a recipient: 1. Enter an email address in the **Email Address** field. 2. Select **Add Recipient**. Added addresses appear under **Active Recipients**. If no addresses have been added, the section displays **No custom notification recipients added**. ### Refresh Budget Information Select **Refresh** to retrieve the latest budget, usage, forecast, and notification recipient information. ### Budget Alerts When account usage exceeds a configured budget, Nimbuz sends a notification to the active recipients. Regularly reviewing your current usage and monthly forecast helps you manage account activity and adjust budget amounts when necessary. Source: https://docs.nimbuz.tech/onboarding/billing --- # AI Models > Use ready-to-run AI models on Nimbuz: supported model providers, creating a model endpoint, viewing models and integrating them into apps through APIs. Welcome to the AI Model documentation. This section covers information about AI models available in Nimbuz Platform. ## Overview Instead of manually setting up models, Nimbuz provides ready-to-use AI services. Developers can seamlessly integrate AI into applications using APIs or SDKs, reducing setup time and complexity. ## Supported AI models Our platform supports integration with the following providers: | Model | Provider | |------------|--------------------| | nova-2-lite-v1 | Amazon | | nova-premier-v1 | Amazon | | claude-haiku-4.5 | Anthropic | | claude-opus-4.5 | Anthropic | | claude-opus-4.6 | Anthropic | | claude-sonnet-4.6 | Anthropic | | deepseek-v3.2 | DeepSeek | | deepseek-v3.2-speciale | DeepSeek | | gemini-3.1-pro-preview | Google | | gemini-3-flash-preview | Google | | devstral-2512 | Mistral AI | | ministral-14b-2512 | Mistral AI | | ministral-3b-2512 | Mistral AI | | ministral-8b-2512 | Mistral AI | | mistral-large-2512 | Mistral AI | | mistral-small-creative | Mistral AI | | nemotron-3-nano-30b-a3b | NVIDIA | | gpt-5.1-codex-max | OpenAI | | gpt-5.2-chat | OpenAI | | gpt-5.2-pro | OpenAI | | qwen3.5-397b-a17b | Qwen | | qwen3.5-plus-02-15 | Qwen | | qwen3-coder-next | Qwen | | qwen3-max-thinking | Qwen | ## Accessing AI Models From the sidebar on the left, navigate to **AI Models** ![AI Models Page](https://docs.nimbuz.tech/img/onboarding/image047.png) ## Create New Model Click **"+ Add New Model"** button on the right side of the AI Models screen. It provides a list of the supported models to select and a link 'View Details' which gives more information about the models. ![Create Model](https://docs.nimbuz.tech/img/onboarding/image048.png) Selecting one of the models takes you to 'Configure model' page. ### Configure Model ![Configure Model](https://docs.nimbuz.tech/img/onboarding/image049.png) 1. Configure Model: - **Pricing**: - *Input*: Gives you information on the amount you pay for every one million tokens you send into the model. - *Output*: Gives you information on the amount you pay for every one million tokens the model generates as a response - **Name**: Unique name for the model instance - **Rate Limit per Minute**: Number of requests to the API in one minute 2. Click on 'Create Model' on the bottom right corner 3. Copy the API key with the copy icon provided, then click 'Done'. This step is important as the key will not be available later. *Note* - Pricing is displayed per 1 million tokens as the standard unit. Actual usage is usually much smaller and charges are calculated proportionally based on the exact number of tokens consumed. For more details on pricing, please visit [Nimbuz Pricing Page](https://nimbuz.tech/pricing.html). ### List of Models ![Model List](https://docs.nimbuz.tech/img/onboarding/image050.png) Each model provides detailed information including: - **Name**: Unique identifier for the model instance - **Provider**: Provider of the model - **Model**: Model name - **Key**: API key prefix - **Status**: Status of the model ### Available Actions For each installed model, you can perform: - **View**: Display detailed model information and configuration - **Rotate Key**: Recreate the API key whenever required or when the existing key has expired. - **Delete**: Permanently remove the model and all associated data ## View Model ### Settings ![Settings](https://docs.nimbuz.tech/img/onboarding/image051.png) This section gives general information about the model - **Name**: Unique identifier of the model instance - **Status**: Status of the model - **Provider**: Provider of the model - **Model**: Model name - **Key Prefix**: The first few characters of the API key, used for quick identification without exposing the full key - **Endpoint**: The model host that processes your API requests - **Created**: The creation date of the model - **Rate Limit Per Minute**: Number of requests to the API in 1 minute Additionally, the following options are available on the right side: - **Edit**: To edit the RateLimitPerMinute value - **Rotate Key**: Recreate the API key whenever required or when the existing key has expired. - **Delete**: Permanently remove the model and all associated data ### How to Use ![How to Use](https://docs.nimbuz.tech/img/onboarding/image052.png) This section explains how to integrate and use the model within your application - **Base URL**: All API requests should be sent to https://ai.nimbuz.tech - **Auth Header**: You must include your API key in the request header. Authorization: Bearer YOUR_API_KEY ### Making Your First Request - **Endpoint**: POST /chat/completions - **cURL**: Shows the sample request body 1. model - Model name to use 2. messages - Conversation messages - **SDKs**: In addition to using cURL you can integrate our models using official SDKs for popular programming languages. These SDKs provide a more convenient and structured way to interact with the API. ### Usage/Analytics ![Usage](https://docs.nimbuz.tech/img/onboarding/image053.png) The Usage & Analytics section provides detailed insights into your API consumption and costs within a specific duration. It helps you monitor usage patterns, optimize performance and manage spending effectively. - **Total Requests**: The total number of API calls made to the model - **Prompt Tokens**: The number of tokens used in the input sent to the model - **Completion Tokens**: The number of tokens generated by the model in its response - **Total Tokens**: The sum of prompt tokens and completion tokens for all requests - **Total Cost**: The total cost incurred based on token usage Source: https://docs.nimbuz.tech/onboarding/ai-models --- # Multi-Factor Authentication (MFA) > Learn how to set up authenticator-app MFA, sign in, recover access, and turn MFA off on Nimbuz. Multi-factor authentication (MFA) adds an extra step when you sign in. After entering your password, you enter a temporary code from an authenticator app. This helps protect your account if someone else gets your password. ## Set Up MFA 1. Sign in to your Nimbuz account and open **Settings** > **Security**. 2. Choose the option to enable MFA. 3. Use an authenticator app to scan the QR code. If you cannot scan it, enter the setup key shown on the screen. 4. Enter the code from your authenticator app to confirm setup. 5. Save the recovery code shown after setup in a secure place. MFA is not enabled until you confirm setup with a code. Keep your authenticator app available whenever you sign in. ## Sign In with MFA Sign in with your username and password as usual. When prompted, enter the current code from your authenticator app. ## Recover Access If you lose access to your authenticator app, request an MFA recovery email during sign-in. Open the link sent to the email address registered to your account. The link expires after 30 minutes and turns MFA off. After using the link, return to the sign-in page and sign in again. The recovery link does not sign you in. You will receive an email notification when MFA is turned off. Keep access to your registered email address up to date. Anyone who gets your recovery link may be able to turn off MFA on your account. ## Turn Off MFA While signed in, open **Settings** > **Security** and choose the option to turn off MFA. Once it is off, you will no longer be asked for an authenticator code when signing in. Turning MFA off reduces the protection on your account. Your password and any other account requirements still apply. Source: https://docs.nimbuz.tech/onboarding/mfa --- # Best Practices > Best practices for running workloads on Nimbuz: security and MFA, performance, deployment strategy, monitoring, cost optimization, team collaboration and compliance. Follow these proven best practices to maximize the benefits of the Nimbuz platform while ensuring security, performance, and cost efficiency. ## Security Best Practices ### Authentication and Authorization #### Multi-Factor Authentication (MFA) - Enable MFA for all team members - Use authenticator apps rather than SMS when possible - Regularly review and rotate backup codes - Implement SSO integration for enterprise accounts #### API Security - Rotate API keys regularly (recommended: every 90 days) - Use environment-specific API keys - Implement proper scoping for API permissions - Monitor API usage for unusual patterns #### Access Management - Follow the principle of least privilege - Regularly audit user permissions - Remove access for inactive team members - Use role-based access control (RBAC) ### Data Protection #### Environment Variables - Never commit secrets to version control - Use Nimbuz's built-in secret management - Separate environment variables by environment - Regularly audit and rotate secrets #### Database Security - Enable database encryption at rest - Use SSL/TLS for database connections - Implement proper backup encryption - Regular security updates and patches ## Performance Best Practices ### Application Optimization #### Code Efficiency - Implement proper caching strategies - Optimize database queries - Use connection pooling - Implement lazy loading where appropriate #### Asset Optimization - Compress images and static assets - Use CDN for global asset delivery - Implement proper cache headers - Minimize bundle sizes ### Infrastructure Optimization #### Resource Sizing - Right-size your instances based on actual usage - Monitor resource utilization regularly - Use auto-scaling to handle traffic spikes - Implement health checks for all services #### Database Performance - Index frequently queried columns - Monitor slow query logs - Use read replicas for read-heavy workloads - Implement connection pooling ## Deployment Best Practices ### Development Workflow #### Version Control - Use semantic versioning for releases - Implement proper branching strategies - Tag releases in version control - Maintain clean commit history #### Testing Strategy - Implement comprehensive test suites - Use staging environments for testing - Perform load testing before major releases - Implement automated testing in CI/CD ### Deployment Strategies #### Blue-Green Deployments - Maintain two identical production environments - Switch traffic between environments for zero-downtime deployments - Test thoroughly in the blue environment before switching - Keep the previous version ready for quick rollback #### Rolling Deployments - Update instances gradually - Monitor health during rollout - Implement automatic rollback on failures - Maintain service availability during updates ### Environment Management #### Development Environments - Use smaller instance sizes for development - Share databases between team members when appropriate - Implement proper data seeding for testing - Regular cleanup of unused resources #### Production Environments - Implement high availability configurations - Use multiple availability zones - Set up comprehensive monitoring - Regular backup verification ## Monitoring and Observability ### Essential Metrics #### Application Metrics - Response times (p50, p95, p99) - Error rates by endpoint - Request volume trends - User experience metrics #### Infrastructure Metrics - CPU and memory utilization - Disk I/O and storage usage - Network traffic patterns - Database performance metrics ### Alerting Strategy #### Alert Hierarchy - **Critical**: Immediate response required - **Warning**: Action needed within hours - **Info**: Awareness notifications #### Alert Best Practices - Avoid alert fatigue with proper thresholds - Include runbook links in alert messages - Set up escalation policies - Regular review and tuning of alerts ### Logging #### Structured Logging - Use consistent log formats - Include correlation IDs for tracing - Log at appropriate levels - Avoid logging sensitive information #### Log Management - Centralize logs from all services - Implement log retention policies - Use log aggregation tools effectively - Set up log-based alerts for critical errors ## Cost Optimization ### Resource Management #### Right-Sizing - Regularly review resource usage - Identify and eliminate unused resources - Use reserved instances for predictable workloads - Implement auto-scaling policies #### Storage Optimization - Use appropriate storage classes - Implement lifecycle policies - Regular cleanup of old backups - Monitor and optimize data transfer costs ### Budget Management #### Cost Monitoring - Set up budget alerts at multiple thresholds - Regular cost reviews with stakeholders - Track costs by project or department - Implement cost allocation tags #### Optimization Strategies - Schedule non-production resources to turn off - Use spot instances for development environments - Optimize network traffic patterns - Regular cost optimization reviews ## Development Best Practices ### Code Quality #### Code Standards - Implement consistent coding standards - Use linting and formatting tools - Perform regular code reviews - Maintain comprehensive documentation #### Error Handling - Implement proper error handling - Use structured error responses - Log errors with sufficient context - Implement retry mechanisms for transient failures ### Database Best Practices #### Schema Design - Normalize data appropriately - Use appropriate data types - Implement proper indexing strategies - Plan for schema migrations #### Query Optimization - Use query explain plans - Avoid N+1 query problems - Implement proper pagination - Use database-specific optimization features ## Team Collaboration ### Documentation #### Project Documentation - Maintain up-to-date README files - Document API endpoints and usage - Create deployment and setup guides - Maintain architecture decision records #### Operational Documentation - Create runbooks for common issues - Document emergency procedures - Maintain contact information - Regular documentation reviews ### Communication #### Incident Management - Establish clear incident response procedures - Use status pages for external communication - Conduct post-incident reviews - Maintain incident logs and learnings #### Change Management - Implement approval processes for production changes - Communicate scheduled maintenance windows - Use feature flags for gradual rollouts - Maintain change logs ## Compliance and Governance ### Data Governance #### Data Classification - Classify data by sensitivity level - Implement appropriate access controls - Regular data access audits - Compliance with data protection regulations #### Backup and Recovery - Regular backup testing - Document recovery procedures - Implement cross-region backups - Test disaster recovery plans ### Compliance Requirements #### Industry Standards - Understand applicable compliance requirements - Implement necessary security controls - Regular compliance audits - Maintain audit trails #### Documentation - Maintain compliance documentation - Regular policy updates - Employee training on compliance - Vendor compliance verification ## Continuous Improvement ### Performance Monitoring #### Regular Reviews - Monthly performance reviews - Quarterly capacity planning - Annual architecture reviews - Regular optimization opportunities assessment #### Metrics-Driven Decisions - Use data to drive optimization decisions - Set and track performance goals - Regular benchmarking against industry standards - Implement continuous performance testing ### Learning and Development #### Team Skills - Regular training on new platform features - Knowledge sharing sessions - Participation in community forums - Stay updated with industry best practices #### Process Improvement - Regular retrospectives - Process optimization based on feedback - Automation of repetitive tasks - Continuous integration and deployment improvements ## Common Pitfalls to Avoid ### Security Pitfalls - Storing secrets in code repositories - Using weak authentication methods - Ignoring security updates - Inadequate access controls ### Performance Pitfalls - Over-provisioning resources - Ignoring database optimization - Poor caching strategies - Inadequate monitoring ### Operational Pitfalls - Insufficient backup testing - Poor change management - Inadequate documentation - Lack of incident response procedures ## Next Steps Continue your Nimbuz journey: 1. [Resource Management](./resource-management) 2. [Dashboard](./dashboard) 3. [User Management](./user-management) ## Support Questions about implementing best practices? - Email: [info@dilligentech.com](mailto:info@dilligentech.com) - Expert consultation available - Best practices training sessions - Custom implementation guides Source: https://docs.nimbuz.tech/onboarding/best-practices --- # Tools and Services > Run managed tools on Nimbuz: PostgreSQL, MySQL, MongoDB and MSSQL databases, CloudBeaver, n8n workflow automation and RabbitMQ, with networking, connection details and metrics. Nimbuz provides a comprehensive set of tools and services to support your application infrastructure. Currently, our platform supports databases and management tools to enhance your development and production environments. ## Supported Tools Nimbuz currently supports the following tools: 1. **CloudBeaver** - Database administration tool 2. **PostgreSQL** - Relational database 3. **MySQL** - Popular relational database 4. **MongoDB** - NoSQL document database 5. **MSSQL** - Microsoft SQL Server relational database 6. **n8n** - Workflow automation and integration platform 7. **RabbitMQ** - Message broker for handling asynchronous messaging ## Accessing Tools ### Tool Information Each tool provides detailed information including: - **View Details**: Brief introduction and tool overview - **Name**: Unique identifier for the tool instance - **Status**: Current operational status - **Host**: URL to access the tool interface - **Port**: Port number the tool is running on ### Available Actions For each installed tool, you can perform: - **View**: Display detailed tool information and configuration - **Edit**: Modify the tool's configuration and settings - **Delete**: Permanently remove the tool and all associated data ## CloudBeaver CloudBeaver is a web-based database administration tool that provides an interface for managing your databases. ### Installation Configuration **Name** - Enter a unique name for your CloudBeaver instance - Use descriptive names for easy identification - Follow your organization's naming conventions **Instance Type** - Select an appropriate instance type from the supported options - Consider your expected usage and performance requirements - Available options: medium.m, large.m, small.c, medium.c, large.c, small.r, medium.r, large.r ### Features - Web-based database management interface - Support for multiple database types - User-friendly administration tools - SQL query execution environment ### Use Cases - Database administration and management - SQL query development and testing - Database schema visualization - Data browsing and editing ## PostgreSQL Database PostgreSQL is a powerful, open-source relational database management system. ### Installation Configuration **Name** - Enter a unique name for your PostgreSQL instance - Choose a descriptive name that identifies the database purpose **Root User Password** - Set a strong password for the root user account - Root user has administrative access to the database - Follow security best practices for password creation **Postgres User Password** - Set a password for the default PostgreSQL user - This user is used for standard database operations - Should be different from the root password **Persistence Size** - Specify the amount of persistent storage allocated to the database - Value should be between 1 and 3 GB - Consider your data storage requirements and growth projections **Instance Type** - Select an appropriate instance type from the supported options - Consider your expected usage and performance requirements - Available options: medium.m, large.m, small.c, medium.c, large.c, small.r, medium.r, large.r ### Features - ACID compliance and reliability - Advanced SQL features - Extensible with custom functions and data types - Strong consistency and data integrity ### Management - PostgreSQL databases can be viewed and managed through CloudBeaver - Direct connection via database clients - Command-line access for advanced administration ## MySQL Database MySQL is one of the world's most popular relational database management systems. ### Installation Configuration **Name** - Choose a unique name for your MySQL tool instance - Use clear, descriptive naming conventions **Root Password** - Set a secure root password for MySQL - Root provides full administrative access to the database - Essential for database management and security **Primary Persistence Size** - Specify the amount of persistent storage in GB - Allocated for storing your database data - Plan for current needs and future growth **Instance Type** - Choose appropriate instance type based on resource needs - Consider CPU and memory requirements for your workload - Balance performance needs with cost considerations **Custom Database** - Enter a name for a custom database to be created during initialization - Optional: Can be created later if not specified during setup - Useful for organizing application-specific data **Custom User** - Define a user who will have access to the custom database - Provides restricted access compared to root user - Follow principle of least privilege for security **Custom Password** - Set a password for the custom user specified above - Should be different from root password - Use strong password practices ### Features - High performance and reliability - Wide platform support - Extensive community and documentation - ACID compliance ### Management - MySQL databases can be viewed and managed through CloudBeaver - phpMyAdmin interface available for web-based management - Command-line tools for advanced administration ## MongoDB Database MongoDB is a popular NoSQL document database designed for scalability and flexibility. ### Installation Configuration **Name** - Enter a unique name for your MongoDB instance - Choose names that reflect the database purpose **Root Password** - Set a password for the MongoDB root user - Root user has administrative privileges - Essential for cluster management and security **Replica Set Key** - Provide a shared secret for authenticating communication - Used between members of the MongoDB replica set - Critical for replica set security and operation **Persistence Size** - Specify the amount of persistent storage in GB - Allocated to the MongoDB database - Consider document storage requirements and indexing needs **Instance Type** - Choose instance type based on CPU, memory, and performance requirements - MongoDB benefits from adequate RAM for working set - Consider read/write patterns and concurrent connections ### Features - Document-oriented data model - Horizontal scalability - Flexible schema design - Rich query language ### Management - MongoDB Compass for graphical interface - Command-line tools for administration - RESTful APIs for programmatic access ## MSSQL Database MSSQL (Microsoft SQL Server) is a relational database management system designed for enterprise-level data storage, security, and performance. ### Installation Configuration **Name** - Enter a unique name for your MSSQL instance - Choose names that reflect the database purpose **SA Password** - Set a strong password for the system administrator (SA) account - The SA account has full administrative privileges - Required for database management and access **Persistence Size** - Specify the amount of persistent storage in GB - Allocated for database files and logs - Consider data growth and backup requirements **Instance Type** - Choose instance type based on CPU, memory, and performance requirements - MSSQL benefits from sufficient memory for query performance - Consider workload type and concurrent users ### Features - Relational database with structured schema - Advanced querying using T-SQL - High availability and disaster recovery support - Strong security and access control ### Management - SQL Server Management Studio (SSMS) for graphical interface - Command-line tools for administration - Integration with monitoring and backup tools ## n8n n8n is a workflow automation tool that enables you to connect different services and automate processes using visual workflows. ### Installation Configuration **Name** - Enter a unique name for your n8n instance - Used to identify your workflow automation service - Choose a meaningful name based on usage **n8n Workflow Instance Type** - Select the instance type for running n8n workflows - Determines CPU and memory allocation - Example: medium.m (CPU: 0.5000, Memory: 4.0000) - Impacts workflow execution performance **n8n PostgreSQL Instance Type** - Select the instance type for the PostgreSQL database used by n8n - Stores workflow data, execution logs, and credentials - Should be chosen based on expected workload **Postgres Persistence Size** - Specify the storage size (in GB) for PostgreSQL - Used for storing workflows, logs, and metadata - Increase based on data retention and usage ### Features - Visual workflow automation interface - Integration with multiple external services - Event-based and scheduled workflow execution - Supports custom nodes and extensions ### Management - Web-based UI for workflow creation and monitoring - Execution logs for tracking workflow runs - Ability to start, stop, and manage workflows - Supports API access for automation and integrations :::tip Connecting n8n to Google (Sheets, Drive, Gmail) Seeing **"Access blocked: … has not completed the Google verification process"** when signing in with Google from n8n? That message comes from your own Google Cloud OAuth app, not from Nimbuz. See [n8n Google Credentials: Fixing "Access blocked"](./n8n-google-oauth.md). ::: ## RabbitMQ RabbitMQ is a message broker that enables asynchronous communication between applications by sending and receiving messages through queues. ### Installation Configuration **Name** - Enter a unique name for your RabbitMQ instance - Used to identify the message broker within your project - Choose a meaningful and descriptive name **RabbitMQ User** - Specify the username for accessing RabbitMQ - Default user is typically "root" - Used for authentication and management access **RabbitMQ Password** - Set a secure password for the RabbitMQ user - Required for login and communication with the broker - Ensure strong credentials for security **RabbitMQ Erlang Cookie** - Provide a secret key used for node authentication - Required for clustering and communication between RabbitMQ nodes - Must be the same across all nodes in a cluster **Persistence Size (Gi)** - Specify the storage size (in GB) for persistent data - Used to store messages, queues, and broker data - Increase based on message volume and retention needs **Instance Type** - Select instance type based on CPU and memory requirements - Example: medium.m (CPU: 0.5000, Memory: 4.0000) - Impacts message processing performance and throughput ### Features - Reliable message queuing and delivery - Supports multiple messaging protocols - Asynchronous communication between services - High availability and clustering support ### Management - Web-based RabbitMQ Management UI - Monitor queues, exchanges, and message flow - Manage users, permissions, and configurations - CLI and API support for automation ## Tools Networking Overview The Tools page provides networking details for each deployed tool, including how it can be accessed within and outside the environment. ### Host (Endpoint) - Displays the endpoint used to access the tool - Each tool has a unique host URL - Can include: - **Public Endpoint**: Accessible over the internet - **Private Endpoint**: Accessible only within the internal network ### Port - Specifies the port used to connect to the tool - Port values vary depending on the tool type and configuration - Public and private ports may differ - Examples include common ports used by services (e.g., HTTP, HTTPS, database ports) ### Public Access - Allows access to the tool from outside the network - Typically uses secure endpoints and ports - Suitable for web-based tools and external integrations ### Private Access - Restricts access to within the internal environment - Used for secure communication between services - Not exposed to the public internet ### Notes - Each tool may have different networking configurations - Always refer to the Tools page to get the exact host and port details - Ensure correct endpoint and port are used when connecting to the tool ## How to Use The **How to Use** tab provides a centralized reference for connecting to each deployed tool. It includes the connection type and example code snippets. ![How to Use tab example](https://docs.nimbuz.tech/img/onboarding/image060.png) ### Connection examples Use the sample code in the **How to Use** tab to connect your application to the deployed tool. The examples use environment variables for host, port, user, password, and database values. Environment Variables for Database Connection: - host → Database server address (e.g., localhost or an IP address) - port → DB port - user → Database username - password → Database password - database → Database name to connect ## Tool Metrics The Metrics tab provides real-time and historical insights into the performance and resource usage of the deployed tool. ### Duration and Interval - **Duration**: Defines the time range for metrics visualization - **Interval**: Specifies how frequently data points are collected - Helps analyze trends over a selected period ### Resource Overview Displays key resource usage and limits: - **CPU Usage**: Current CPU consumption of the tool (in mCPU) - **RAM Usage**: Current memory usage (in MiB) - **CPU Limit**: Maximum CPU allocated to the tool - **RAM Limit**: Maximum memory allocated - **CPU Throttle**: Indicates if CPU usage is being restricted - **Instance Type**: Shows the selected resource configuration (e.g., medium.m) ### CPU Usage - Displays CPU usage over time - Helps monitor processing load - Compares current usage against defined limits ### RAM Usage - Displays memory usage over time - Helps identify memory consumption patterns - Ensures usage stays within allocated limits ### CPU Throttle - Shows if CPU throttling is occurring - Indicates performance constraints due to limits - Useful for identifying resource bottlenecks ### Benefits - Monitor real-time system performance - Identify resource bottlenecks early - Optimize CPU and memory allocation - Improve application stability and efficiency ## Database Management with CloudBeaver ### Accessing Databases PostgreSQL and MySQL databases can be viewed and managed through the CloudBeaver URL provided after installation. ### Benefits of CloudBeaver Integration - Unified interface for multiple database types - Web-based access from anywhere - No need for separate database client installations - Consistent user experience across database platforms ### CloudBeaver Features - **SQL Editor**: Write and execute SQL queries - **Data Browser**: View and edit table data - **Schema Management**: Create and modify database schemas - **User Management**: Manage database users and permissions - **Export/Import**: Data migration and backup capabilities ## Best Practices ### Instance Sizing - **Development**: Use smaller instances (nano, micro) for development and testing - **Staging**: Use medium instances to simulate production loads - **Production**: Use larger instances (large, extra large) for production workloads ### Security - Use strong, unique passwords for all database users - Implement network security groups to control access - Regularly update and patch database systems - Use different credentials for different environments ### Storage Planning - Plan storage capacity based on data growth projections - Consider backup storage requirements - Monitor storage usage and plan for scaling - Implement data retention policies ### High Availability - Use multiple replicas for critical databases - Distribute replicas across availability zones - Implement proper backup and recovery procedures - Test disaster recovery processes regularly ## Monitoring and Maintenance ### Performance Monitoring - Monitor database performance metrics - Track query performance and optimization opportunities - Monitor resource utilization (CPU, memory, disk) - Set up alerts for performance thresholds ### Backup and Recovery - Implement automated backup schedules - Test backup restoration procedures - Maintain backup retention policies - Consider cross-region backup replication ### Maintenance Tasks - Regular database optimization and maintenance - Index maintenance and optimization - Log rotation and cleanup - Security updates and patches ## Troubleshooting ### Common Issues #### Connection Problems - Verify network connectivity and security groups - Check database service status - Validate connection credentials - Review firewall and port configurations #### Performance Issues - Monitor resource utilization - Analyze slow query logs - Review indexing strategies - Consider instance sizing adjustments #### Storage Issues - Monitor storage utilization - Plan for storage expansion - Review data retention policies - Consider archiving old data ## Integration with Applications ### Connection Configuration - Use environment variables for database connection strings - Implement connection pooling for better performance - Use appropriate database drivers for your application - Configure proper timeout and retry settings ### Security Best Practices - Use SSL/TLS for database connections - Implement proper authentication and authorization - Use connection strings with appropriate privileges - Regularly rotate database credentials ## Next Steps With your tools and services configured: 1. [Monitor your infrastructure](../onboarding/dashboard) - Track performance and usage 2. [Manage resources effectively](../onboarding/resource-management) - Optimize costs and performance 3. [Implement best practices](../onboarding/best-practices) - Follow recommended procedures 4. [Set up team access](../onboarding/user-management) - Configure user permissions ## Support Need help with tools and services? - **Email**: [info@dilligentech.com](mailto:info@dilligentech.com) - **Live Chat**: Available 24/7 in your dashboard - **Documentation**: Comprehensive database guides - **Video Tutorials**: Database setup and management tutorials - **Database Support**: Specialized database assistance available Source: https://docs.nimbuz.tech/tools-services --- # n8n Google Credentials: Fixing "Access blocked" > Why n8n shows "Access blocked … has not completed the Google verification process" and how to fix it with OAuth2 or a Service Account. When you connect an n8n instance running on Nimbuz to Google (Sheets, Drive, Gmail, Calendar…) and click **Sign in with Google**, you may see: > **Access blocked: <your-app-or-domain> has not completed the Google verification process** > > Error 400 / Error 403: access_denied ![Google "Access blocked" error page](https://docs.nimbuz.tech/img/tools-services/google/error-access-blocked.svg) :::info This is not a Nimbuz error The message is produced by **Google**, for the **OAuth app you created in your own Google Cloud project**. The name in the message (for example `nimbuz.tech` or your n8n hostname) is simply the *App name* / *authorized domain* you entered on that project's OAuth consent screen — so it looks like Nimbuz is blocked, but Nimbuz never talks to Google on your behalf. Only the owner of the Google Cloud project can fix it. ::: ## Why it happens Every new Google Cloud OAuth app starts as **External** and in **Testing** mode. In that state Google only lets in Google accounts listed as **Test users**. Anyone else gets "Access blocked". The same screen also appears when the app was published but uses sensitive scopes (Drive, Gmail) without completing Google's verification. A related **Error 400: redirect_uri_mismatch** means the redirect URL in Google Cloud does not exactly match the one n8n shows (see [Step 4](#a4-create-the-oauth-client-id)). ## Pick the right fix | | **Option A — OAuth2** | **Option B — Service Account + Key** | |---|---|---| | **Use when** | The workflow acts on **other people's** Google accounts / files (your customers or teammates sign in with their own Google account) | The workflow only touches **your own** (or your company's) Sheets/Drive files | | **Who signs in** | Each end user, through Google's consent screen | Nobody — n8n authenticates with a JSON key | | **Google verification** | Needed before going public with sensitive scopes | **Not needed** — no consent screen | | **Token expiry** | 7 days while in *Testing*; long-lived once published | Never expires (rotate the key yourself) | | **Gmail** | Works for any account | Only Google Workspace with domain-wide delegation | | **Setup effort** | Higher | Lower | :::tip Recommendation If you are automating your own spreadsheets or Drive folders, use **Option B (Service Account)**. It avoids the consent screen entirely, so the "Access blocked" error cannot happen. ::: --- ## Option A — OAuth2 (accessing other users' files) ### A1. Create or select a Google Cloud project 1. Open [Google Cloud Console](https://console.cloud.google.com/). 2. Use the project picker at the top to **create a new project** (or select an existing one). ### A2. Enable the APIs you need 1. Go to **APIs & Services → Library**. 2. Search for and **Enable** each API the workflow uses — e.g. **Google Sheets API**, **Google Drive API**, **Gmail API**. ![Enabling the Google Sheets API in the API Library](https://docs.nimbuz.tech/img/tools-services/google/oauth-enable-api.svg) ### A3. Configure the OAuth consent screen 1. Go to **Google Auth Platform** (formerly **APIs & Services → OAuth consent screen**) and click **Get started**. 2. **Branding**: enter an **App name** and **User support email**. This name is what users see in the consent screen and in the "Access blocked" message. 3. **Audience**: - **Internal** — only users in your Google Workspace organization. No verification required. Choose this if everyone who signs in belongs to your Workspace. - **External** — any Google account. The app starts in **Testing**. 4. While in Testing, scroll to **Test users** → **Add users** and add **every Google account that will sign in from n8n** (up to 100). ![Audience page showing user type and Test users](https://docs.nimbuz.tech/img/tools-services/google/oauth-audience-test-users.svg) :::note Adding the signing-in account as a test user is the quickest fix for the "Access blocked" error. In Testing mode, refresh tokens expire after **7 days**, so the n8n credential must be reconnected weekly until the app is published. ::: ### A4. Create the OAuth client ID 1. In n8n, open **Credentials → Create credential**, choose e.g. **Google Sheets OAuth2 API**, and **copy the OAuth Redirect URL** shown. It looks like: ```text https:///rest/oauth2-credential/callback ``` 2. In Google Cloud go to **Google Auth Platform → Clients → Create client**. 3. **Application type**: **Web application**. 4. Under **Authorized redirect URIs**, click **Add URI** and paste the n8n URL exactly (same `https`, host and path, no trailing slash). 5. Click **Create** and copy the **Client ID** and **Client secret**. ![Creating a Web application OAuth client with the n8n redirect URI](https://docs.nimbuz.tech/img/tools-services/google/oauth-create-client.svg) ### A5. Connect the credential in n8n 1. Back in the n8n credential, paste the **Client ID** and **Client Secret**. 2. Click **Sign in with Google**, choose an account that is listed as a test user, and approve the requested permissions. 3. The credential shows **Account connected**. ![n8n Google OAuth2 credential with Redirect URL, Client ID and Secret](https://docs.nimbuz.tech/img/tools-services/google/n8n-oauth-credential.png) ### A6. Go to production (only for public / other people's accounts) When users outside your test list need to sign in: 1. Go to **Google Auth Platform → Audience** and click **Publish app**. 2. For **sensitive or restricted scopes** (Drive, Gmail, etc.) Google requires **verification**. Prepare: - A verified domain you own (verified in Google Search Console) added under **Branding → Authorized domains** - A public **homepage** and **privacy policy** on that domain - A justification for each scope and a short **demo video** of the OAuth flow - For restricted scopes (e.g. full Gmail/Drive), a third-party security assessment may be required 3. Submit under **Google Auth Platform → Verification Center** and wait for Google's review. ![Publishing the app from the Audience page](https://docs.nimbuz.tech/img/tools-services/google/oauth-publish-app.svg) :::caution Until verification is approved, users of a published app see "Google hasn't verified this app" and the app is capped at 100 users. Request the narrowest scopes possible — for example `drive.file` instead of full `drive` — to simplify verification. ::: --- ## Option B — Service Account + Key (your own files) A service account is a robot Google identity owned by your project. You share your files with it, and n8n uses its JSON key — no consent screen, no verification. ### B1. Enable the APIs Same as [A1](#a1-create-or-select-a-google-cloud-project) and [A2](#a2-enable-the-apis-you-need): create/select a project and enable the Sheets / Drive APIs. ### B2. Create the service account 1. Go to **IAM & Admin → Service Accounts → Create service account**. 2. Enter a name (e.g. `n8n-automation`) and click **Create and continue**. 3. Project roles are **not required** for Sheets/Drive access — click **Done**. 4. Copy the service account **email**, e.g. `n8n-automation@my-project.iam.gserviceaccount.com`. ![Create service account form](https://docs.nimbuz.tech/img/tools-services/google/sa-create.svg) ### B3. Create a JSON key 1. Open the service account → **Keys** tab → **Add key → Create new key**. 2. Choose **JSON** and click **Create**. The key file downloads once — store it securely. ![Keys tab with Add key → Create new key → JSON](https://docs.nimbuz.tech/img/tools-services/google/sa-create-key.svg) :::note If key creation is disabled, your organization has the policy `iam.disableServiceAccountKeyCreation` enforced. Ask your Google Cloud admin to allow it for this project. ::: ### B4. Share your files with the service account The service account cannot see anything until you share it. 1. Open the Google Sheet (or Drive folder) → **Share**. 2. Paste the service account email, give it **Editor** (or **Viewer** for read-only) access, uncheck *Notify people*, and click **Share**. ![Sharing a Google Sheet with the service account email](https://docs.nimbuz.tech/img/tools-services/google/sa-share-sheet.svg) :::tip Share a whole Drive **folder** to give access to every file inside it, including new ones. ::: ### B5. Create the credential in n8n 1. In n8n, go to **Credentials → Create credential → Google Service Account API**. 2. **Region**: leave the default unless your Google project requires a specific region. 3. **Service Account Email**: the `client_email` value from the JSON key. 4. **Private Key**: the full `private_key` value from the JSON key, including the `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----` lines. 5. Leave **Impersonate a User** off (only needed for Google Workspace domain-wide delegation, e.g. Gmail). 6. **Save** — n8n tests the connection. 7. In your Google Sheets / Drive node, set **Authentication** to **Service Account** and select this credential. ![n8n Google Service Account credential](https://docs.nimbuz.tech/img/tools-services/google/n8n-service-account-credential.png) :::caution Keep the key secret Anyone with the JSON key can act as the service account. Never commit it to Git or paste it in chat. Delete unused keys and rotate keys periodically from the **Keys** tab. ::: --- ## Troubleshooting | Symptom | Cause | Fix | |---|---|---| | *Access blocked: … has not completed the Google verification process* | App is External + Testing and the account is not a test user | Add the account under **Audience → Test users**, use **Internal**, or switch to a Service Account | | *Error 400: redirect_uri_mismatch* | Redirect URI in Google Cloud ≠ n8n's OAuth Redirect URL | Copy the URL from n8n and paste it exactly into the OAuth client | | OAuth credential stops working after a week | Refresh tokens expire after 7 days in Testing mode | Reconnect, publish the app, or use a Service Account | | *Google hasn't verified this app* | App is published but not verified | Complete verification, or use a Service Account for your own files | | Service account gets *404 / The caller does not have permission* | File not shared with the service account, or API not enabled | Share the file with the service account email; enable the API | ## Need help? If the n8n instance itself is unreachable or unhealthy on Nimbuz, [contact Nimbuz Support](https://nimbuz.tech/#contact). Google Cloud project, consent screen and verification settings are managed in your own Google account. Source: https://docs.nimbuz.tech/tools-services/n8n-google-oauth ---