Derek Coleman & Associates Inc logoDerek Coleman & Associates Inc

Home / Marketplace / MEAN Stack on Ubuntu 24.04 LTS

MEAN Stack on Ubuntu 24.04 LTS

The MEAN stack — MongoDB, Express, Angular, and Node.js — a complete JavaScript platform for building modern web applications. This image gives you a production-ready deployment within minutes of first boot — no dependency wrangling, no manual hardening checklist. Published and maintained by Derek Coleman & Associates Inc: freshly rebuilt against current security advisories and deployable straight from the Azure Marketplace into your own subscription.

Version: MongoDB 7 + Express 4 + Angular 18 + Node.js 22 (pm2-managed sample app)Platform: Ubuntu 24.04 LTSPorts: 3000 (Node.js app), 80 and 443 (opened in the in-image firewall); 27017 (MongoDB) is NOT opened — local onlyCategory: Web & Proxy

What's included

  • MEAN stack (MongoDB 7, Express, Angular, Node.js 22) MongoDB 7 + Express 4 + Angular 18 + Node.js 22 installed from the official upstream source
  • Hardened Linux base with automatic security updates enabled
  • No shared or default passwords baked into the image
  • Trusted Launch support: Secure Boot + vTPM
  • Azure Monitor Agent, Defender for Cloud, and Update Manager install cleanly

Quick start

  1. Deploy from the Azure Marketplace (Get It Now → Create), choosing your SSH key at the Administration step.
  2. Allow inbound SSH (22) for yourself plus the application port(s): 3000 (app) — 80/443 are also open in the in-image firewall — restrict to your own IP where possible. The in-image firewall already allows them; only the Network Security Group (NSG) keeps them closed.
  3. Browse to http://<VM-IP>:3000/ — the sample app answers; replace /var/www/mean-app/ with your application and restart it with pm2.
  4. Connect to MongoDB locally with mongosh using the generated admin password (see First login below).

Get your admin password (one time)

ssh <your-username>@<VM-IP>
sudo cat /root/.mongodb-initial-password

This is the MongoDB `admin` (root) password set at first boot; authorization is enabled in /etc/mongod.conf. MongoDB listens on 127.0.0.1 only.

Common use cases

  • Full-stack JavaScript applications
  • REST and GraphQL API backends
  • Single-page application hosting
  • Rapid prototyping with one language end-to-end

Why our images

Freshly rebuilt against the latest security advisories, no shared default credentials, Trusted Launch support, and automatic OS security updates — everything runs in your own Azure subscription under your governance.

Deploy MEAN Stack in minutes

Production-ready, hardened, and maintained. Deploy straight from the Azure Marketplace into your subscription.