This tutorial walks you through deploying a Node.js web application on NexaTech Cloud Compute from scratch.

Prerequisites

A NexaTech account (free to create), Docker installed locally, and your application code. We'll use a sample Express app for this tutorial.

Step 1: Install the CLI

npm install -g @nexatech/cli
nexatech login

Step 2: Initialize your project

nexatech init my-app --region us-east-1 --plan compute-pro

Step 3: Deploy

nexatech deploy --dockerfile ./Dockerfile --port 3000

NexaTech detects your Dockerfile, builds the image in our registry, and deploys to the compute plane. Your app is live in under 2 minutes.

Step 4: Configure auto-scaling

nexatech scale --min 2 --max 20 --metric cpu:70%

This configures horizontal pod autoscaling. When CPU exceeds 70%, new instances are added automatically.