Back to articles
Technology Insight

Deploying Amplication on Cloud VPS: Automating Enterprise-Grade NodeJS Backend Source Code Generation

June 1, 2026

Introduction: The Shift Toward Enterprise-Grade Backend Automation

In the modern software development landscape, speed and consistency are paramount. Engineering teams are constantly pressured to deliver robust, scalable, and secure backend services while minimizing time-to-market. Historically, building an enterprise-grade NodeJS backend required weeks of boilerplate setup: configuring Object-Relational Mappers (ORMs), establishing authentication protocols, defining REST or GraphQL APIs, and setting up role-based access control (RBAC). This repetitive process not only consumes valuable engineering hours but also introduces human error.

Enter Amplication, an open-source development platform that dramatically accelerates the creation of production-ready NodeJS applications. Amplication automatically generates fully functional, microservices-ready backends based on data models you define. However, while cloud-managed versions are convenient, enterprise requirements often mandate complete data sovereignty, customized network topologies, and cost predictability. Deploying Amplication on a self-hosted Cloud Virtual Private Server (VPS) provides the perfect balance: the velocity of a low-code/pro-code generator combined with the total control of dedicated infrastructure.

---

Why Amplication and Cloud VPS form an Enterprise Powerhouse

Before diving into the technical deployment steps, it is essential to understand why self-hosting Amplication on a Cloud VPS is a strategic choice for enterprise environments. Organizations must evaluate control, compliance, and financial sustainability when choosing development tooling.

  • Data Sovereignty and Compliance: Enterprise applications often handle sensitive customer data or operate under strict regulatory frameworks like GDPR or HIPAA. By hosting Amplication on your own Cloud VPS, you ensure that your data models, schemas, and proprietary business logic never leave your controlled infrastructure boundary.
  • Cost Predictability: SaaS platforms with seat-based or resource-based pricing models can become prohibitively expensive as your development team grows. A Cloud VPS provides a fixed, predictable monthly expense, regardless of how many applications or data models you generate.
  • Deep Infrastructure Integration: When Amplication resides on your private network, it can seamlessly hook into your existing internal developer portals, continuous integration (CI/CD) pipelines, and localized container registries without exposing public endpoints.
---

Prerequisites and System Requirements

To ensure a smooth installation and stable performance under continuous development workloads, your Cloud VPS should meet or exceed the following minimum specifications:

ResourceMinimum SpecificationRecommended Specification (Enterprise)
CPU2 vCPUs4 vCPUs or higher
RAM4 GB8 GB (To support concurrent builds)
Storage40 GB SSD / NVMe80 GB NVMe SSD
OSUbuntu 22.04 LTSUbuntu 24.04 LTS / Debian 12

Additionally, you will need a fully qualified domain name (FQDN) pointed to your VPS IP address and proper SSH access configured with a non-root, sudo-privileged user.

---

Step-by-Step Deployment Guide

Step 1: Preparing the Server Environment

First, log in to your Cloud VPS via SSH and update the system packages to ensure all security patches are applied. Run the following command sequence in your terminal:

sudo apt update && sudo apt upgrade -y

Amplication relies heavily on containerization for its various microservices (including the server, client, and message brokers). Therefore, we must install Docker and Docker Compose. Execute the official Docker installation script or use the apt repository:

sudo apt install -y docker.io docker-compose-plugin
sudo systemctl enable --now docker

Verify that Docker is operational by checking its version: docker --version.

Step 2: Cloning the Amplication Repository and Configuring Environment Variables

Amplication provides a dedicated repository optimized for self-hosting. Clone this repository directly onto your VPS:

git clone [https://github.com/amplication/amplication.git](https://github.com/amplication/amplication.git)
cd amplication

Inside the directory, you will find an environment configuration template. Duplicate this file to create your active configuration profile:

cp .env.template .env

Open the .env file using your preferred text editor (such as nano). You must configure several crucial parameters to ensure enterprise security and correct routing:

  • AMPLICATION_HOST: Set this to your domain name (e.g., [https://amplication.yourcompany.com](https://amplication.yourcompany.com)).
  • JWT_SECRET: Generate a long, cryptographically secure string to sign authentication tokens.
  • DB_PASSWORD: Change the default password for the PostgreSQL instance that Amplication uses internally.

Step 3: Orchestrating the Containers with Docker Compose

With your environment variables configured, you can now launch the entire Amplication ecosystem. Run the following command from the root of the repository:

sudo docker compose up -d

This command downloads and instantiates all required components, including the primary web management console, the background code-generation workers, PostgreSQL, and Redis. You can monitor the startup progression by viewing the real-time container logs:

sudo docker compose logs -f
---

Securing the Deployment with an Nginx Reverse Proxy and SSL

Exposing backend generation tools directly to the internet via raw ports is a severe security risk. To safeguard your deployment, we will implement Nginx as a reverse proxy coupled with Let's Encrypt SSL certificates.

1. Install Nginx

Install the web server on your base VPS OS:

sudo apt install nginx -y

2. Configure the Nginx Server Block

Create a dedicated configuration file for your Amplication instance:

sudo nano /etc/nginx/sites-available/amplication

Insert the following structural block, replacing the placeholders with your actual domain details:

server {
    listen 80;
    server_name amplication.yourcompany.com;

    location / {
        proxy_pass http://localhost:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

Enable the site configuration by linking it to the active directory and reloading Nginx:

sudo ln -s /etc/nginx/sites-available/amplication /etc/nginx/sites-enabled/
sudo systemctl restart nginx

3. Acquire Let's Encrypt SSL Certificates

To enforce HTTPS encryption, utilize Certbot:

sudo apt install certbot python3-certbot-nginx -y
sudo certbot --nginx -d amplication.yourcompany.com

Follow the interactive prompts to automatically acquire the certificates and configure Nginx to redirect all standard HTTP traffic securely to HTTPS.

---

The Enterprise Advantage: Generating Clean NodeJS Source Code

Once logged into your newly hosted Amplication instance via your secure domain, you can begin architectural design. Amplication stands apart from typical "no-code" tools because it does not lock you into a proprietary platform. Instead, it generates a standard, beautifully structured NestJS or Express application codebase.

The outputted source code rigorously adheres to enterprise design patterns, featuring:

  1. Modular Architecture: Codebase divisions adhere strictly to domain-driven principles, encapsulating modules, services, and controllers logically.
  2. Prisma ORM Integration: Database interactions are handled via a robust type-safe layer, with migrations cleanly versioned and ready for production pipelines.
  3. Built-in Security: Complete integration of Passport-based authentication schemas, utilizing JWT tokens and pre-configured Role-Based Access Control (RBAC) route guards.

You can seamlessly connect the output to your corporate GitHub Enterprise, GitLab, or Bitbucket server. Every time you alter your data model via the UI, Amplication automatically opens a clean, readable Pull Request (PR) containing the updated NodeJS source code, allowing senior architects to review changes before merging to main branches.

---

Conclusion and Maintenance Best Practices

Deploying Amplication on a Cloud VPS empowers your enterprise to achieve rapid prototyping and development scalability without compromising on architecture control or compliance. You effectively own the generator, the process, and the final artifact.

To maintain a highly available and reliable environment, ensure your DevOps team implements regular database backups of the core PostgreSQL instance, sets up uptime alerts, and schedules routine updates of the Amplication Docker images. By doing so, your organization will possess an automated, secure, and private factory for producing enterprise-grade NodeJS backends for years to come.

Deploying Amplication on Cloud VPS: Automating Enterprise-Grade NodeJS Backend Source Code Generation | DPTCloud