Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Cut Hosting Costs by Self-Hosting Your Apps on a VPS (2026)

Managed platforms are priced per app, per seat, per build minute or per gigabyte of bandwidth. That's fair when you have one big app. It adds up fast when you're a freelancer or a small team running ten small ones: client sites, internal tools, side projects, staging copies. A single Linux VPS can often host all of them. This guide explains how to work out whether self-hosting actually saves you…

Managers charge freelancers and small teams per app, seat, build minute or gigabyte of bandwidth. When you have multiple small apps, the costs can quickly escalate. One Linux virtual private server (VPS) often provides enough resources to host all of them, potentially saving money. This guide will help you determine if self-hosting your applications on a VPS is cost-effective, how to consolidate apps safely, and how to minimize the time spent on maintenance.

We won't provide specific pricing information as it varies constantly based on location and usage. To make the calculations, refer to your invoices from the past three months.

Step 1: Audit your current expenses

Make a table using your most recent invoices. Include information about each application, platform fees, traffic requirements, and any additional services needed (e.g., databases, Redis, logging). Pay attention to minimum fees for low-traffic apps, separate pricing for add-ons, and any overages on bandwidth or function invocations.

Step 2: Size the VPS for all applications

To save on costs, host all applications on a single VPS. Low-traffic Node.js apps and static sites with Nginx serve files directly, requiring minimal memory when idle. To determine the appropriate server size, check the memory usage of each app during production and add a margin for builds (which cause memory spikes). Add the cost of a database if you plan to host it on the same server. You can easily resize a VPS later if needed.

Step 3: Consider the hidden cost: your time

Self-hosting requires effort, including OS updates, security patches, configuration management, process restarts, and backups. Time spent on these tasks should be factored into the comparison to determine if self-hosting is more cost-effective. Automation can help reduce this time cost.

Step 4: Consolidate safely

Each application should have its own domain and port to avoid failures affecting multiple sites. Use Nginx or Docker for routing traffic to the appropriate processes. Test configurations before reloading, set memory limits for processes, and keep releases separate to simplify rollbacks. Regularly monitor disk usage, CPU, RAM, and load averages to ensure resources are not overused.

Step 5: Migrate applications one at a time

Migrate one app at a time to a temporary subdomain, thoroughly test it, and update DNS records accordingly. Keep the old platform active for a few days as a safety net before cancelling the previous plan.

ShipOwn, a desktop application for Windows, macOS, and Linux, can help automate many of the maintenance tasks mentioned above, such as deploying Node.js apps under PM2, serving static sites with Nginx, and managing Docker/Compose apps. This tool reduces the time spent on routine tasks, allowing you to focus on other aspects of your projects. However, it does not replace the need for a backup plan for your databases. ShipOwn offers a free 30-day trial with paid plans available afterward.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Custom Domain + Free SSL on a VPS: Nginx and Certbot Done Right (2026)

Your app is running on the server. curl localhost:3000 works. Now you want https://app.example.com with a padlock, and that last mile (DNS, Nginx, certificates, renewals) is where a surprising number…

  • Configure DNS records to map custom domain to server IP
  • Install Nginx server block to handle HTTPS requests
  • Use Certbot to obtain and renew free SSL certificate

Rawalpindi Traders Reject New Sanitation Tax

The Traders’ Association Rawalpindi on Tuesday rejected the new sanitation tax under the Suthra Punjab (Clean Punjab) program and threatened … Read More The post Rawalpindi Traders Reject New Sanitation Tax appeared first on ProPakistani .

Rawalpindi Ring Road Opening Delayed Again

The opening of the state-of-the-art Rawalpindi Ring Road project, which has remained pending for nearly two decades, has been postponed … Read More The post Rawalpindi Ring Road Opening Delayed Again appeared first on ProPakistani .

More from Wednesday 28 October →