Back

MEAN Stack VPS Hosting, Pre-Installed

MEAN stack hosting on this server starts you off with MongoDB, Express, Angular and Node.js installed and a working sample app. It all installs itself after payment, the sample opens at your HTTPS address, and your panel shows the site address and the MongoDB login and password. Bring your own code to /home/app/uygulama over SSH, build Angular and restart with PM2.

How much power do you need?

Total$4.01/mo

Prices include VAT.

Scale RAM and CPU up or down whenever you like. Disk can only grow, so start small.

What's installed on your MEAN server?

  • An Angular 22 project made with the Angular CLI, SSR off, in /home/app/uygulama/istemci
  • Express 5 and Mongoose 9, with sunucu/server.js listening on 127.0.0.1:3000
  • Node.js 26 from the NodeSource repository
  • MongoDB 8.0 with authentication on, reachable only from inside the server
  • PM2 running a process called uygulama that comes back after a reboot
  • HTTPS through Caddy on an sslip.io address based on your IP, so a domain is optional
  • A 2 GB swap file so Angular builds don't run out of memory
  • Firewall with only ports 22, 80 and 443 open

What size do you need for MEAN?

There's no official RAM figure for MEAN. As a rule of thumb, 2 GB is a good start for a small project, and 4 GB for one with steady traffic or one you build on the server. Angular builds use the most memory, so the install adds 2 GB of swap and gives builds a 1.5 GB Node.js memory limit. The smallest size is 2 GB of RAM, 1 CPU and a 20 GB disk. If that isn't enough, grow RAM, CPU and disk separately from your panel.

UseSizePriceChoose
Starter 2 GB RAM · 1 vCore · 40 GB NVMe $4.01/mo
Medium 4 GB RAM · 2 vCore · 60 GB NVMe $6.89/mo
Powerful 8 GB RAM · 4 vCore · 120 GB NVMe $13.62/mo

Who is it for?

  • Projects with an Angular front end and an Express API that are ready to go live
  • Anyone moving an existing MEAN app to their own server
  • Teams building internal tools or admin panels with TypeScript and Angular

What happens after you order?

  1. Set the size and complete your payment.
  2. Your server starts and the MEAN stack installs itself. This took about 4 minutes in our real-server tests.
  3. Open the Site address from your panel's Overview tab. If the sample page says MongoDB: OK, the app is reaching the database.
  4. Connect over SSH, switch to the app user with su - app, and put your code in ~/uygulama/sunucu and ~/uygulama/istemci.
  5. Build Angular from the istemci folder: npx ng build --output-path /home/app/uygulama/sunucu/public
  6. Run pm2 restart uygulama. Your app should listen on port 3000.

With every server

  • Daily backups included in the price
  • Unlimited traffic
  • Full root access
  • Scale RAM and CPU up or down later, and grow the disk
  • Location: Istanbul · IST-1.

Good to know

  • By ordering, you accept MongoDB's Server Side Public License (SSPL) terms.
  • Express serves the Angular output from sunucu/public/browser. If you change the output path, update server.js too.
  • Route syntax changed in Express 5: wildcards need names, and the question mark for optional parameters is gone. Review your routes before bringing Express 4 code across.
  • Keeping Node.js, MongoDB and your npm packages up to date is your responsibility.
  • Run pm2 save after adding or removing processes, or the old list comes back after a reboot.

MEAN questions and answers

How do I deploy my MEAN stack project?

Connect over SSH and type su - app. Put your Express code in ~/uygulama/sunucu and your Angular code in ~/uygulama/istemci. Run npm install in both, build Angular, then run pm2 restart uygulama. The database address is MONGO_ADRES in sunucu/.env.

How much RAM does a MEAN stack need?

A MEAN stack has no official RAM figure. As a rule of thumb, 2 GB is a good start for a small project, and 4 GB for one with steady traffic. If a build runs out of memory, build Angular on your own computer and copy the output across.

Will my older Angular project run here?

The server has Node.js 26 installed. Angular 22 officially supports suitable releases of Node 22, 24 and 26. If an older Angular version doesn't support Node 26, upgrade the project with ng update.

Can I use Angular SSR?

The sample project is created with SSR off: Angular is built and Express serves the static files. To add SSR, run ng add @angular/ssr and start the generated server file with PM2. If it listens on port 3000, you don't need to change the Caddy settings.

How do I reach MongoDB from my computer?

MongoDB isn't open to the outside. Open an SSH tunnel with ssh -L 27017:127.0.0.1:27017 root@IP, then enter mongodb://yonetici:[email protected]:27017/?authSource=admin in Compass. Use the Password row under Login for MongoDB and the one under Username for SSH.

How do I connect my own domain to a MEAN server?

Point your domain's A record to the server's IP address. Replace the old name everywhere in /etc/caddy/Caddyfile with your domain and run systemctl reload caddy as root.

Read more and see similar apps