Tuesday, March 31, 2026

Ubuntu VPS Internet hosting: Configuration, Efficiency, and What to Look For

Ubuntu is essentially the most extensively deployed Linux distribution for VPS internet hosting. Ubuntu 22.04 LTS (Lengthy Time period Help) is the usual for manufacturing deployments, with help till April 2027. Ubuntu 24.04 LTS extends by way of 2029. This information covers what to know earlier than provisioning, the best way to configure Ubuntu VPS for manufacturing workloads, and which InMotion plans help…

Ubuntu Model Choice

A very powerful determination earlier than provisioning is which Ubuntu model to make use of.

Ubuntu 22.04 LTS (Jammy Jellyfish): The present manufacturing commonplace. Ships with PHP 8.1 (upgradeable to eight.3), MySQL 8.0, Python 3.10, and Node.js 12.x (newer variations through NodeSource). Normal help by way of April 2027.

Ubuntu 24.04 LTS (Noble Numbat): The newer LTS launch. Ships with PHP 8.3, MySQL 8.0, and Python 3.12. Normal help by way of April 2029. Sensible choice for brand spanking new deployments the place you don’t have to match an current manufacturing atmosphere.

Ubuntu 20.04 LTS reached finish of normal help in April 2025. Don’t use it for brand spanking new deployments, and plan migrations for any current servers operating 20.04.

InMotion’s Cloud VPS helps Ubuntu 22.04 LTS as a provisioning possibility. Managed VPS plans additionally help Ubuntu throughout plan tiers.

Out there plans: Cloud VPS (unmanaged, full root entry) | Managed VPS (with cPanel and WHM)

Preliminary Server Configuration

Replace the system

At all times run a full system replace instantly after provisioning.

On Ubuntu 22.04, the unattended-upgrades package deal is often pre-installed and configured for safety updates. Confirm it’s lively:

Create a non-root person

Operating as root is a safety threat. Create a normal person with sudo privileges:

Configure the firewall with UFW

Ubuntu ships with UFW (Uncomplicated Firewall). Allow it with a minimal ruleset:

Add guidelines in your particular providers as you put in them. For an internet server:

Efficiency Configuration

Swap area

On a VPS with 1 to 4GB of RAM, a swap file acts as overflow reminiscence when bodily RAM is exhausted. With out it, processes are killed when reminiscence fills. Create a 2GB swap file:

Make it everlasting by including to /and so on/fstab:

Tune swappiness (how aggressively the kernel makes use of swap) to 10 for a server atmosphere, that means the kernel will use swap sparingly and like conserving information in RAM:

TCP and community optimizations

For net servers dealing with vital site visitors, alter TCP settings in /and so on/sysctl.conf:

Apply with out reboot:

File descriptor limits

Excessive-traffic net servers and database engines can exhaust the default file descriptor restrict. Improve it in /and so on/safety/limits.conf:

PHP Configuration for Net Functions

Ubuntu 22.04 ships with PHP 8.1 from the default apt repository. Set up a selected model and PHP-FPM for net server integration:

Key php.ini settings to overview for manufacturing:

PHP-FPM pool configuration (sometimes in /and so on/php/8.2/fpm/pool.d/www.conf) must be tuned to your server’s RAM. For a 4GB VPS:

MySQL Configuration

MySQL’s default configuration is conservative and never optimized for many net functions. After putting in MySQL Server, edit /and so on/mysql/mysql.conf.d/mysqld.cnf. Key settings for a 4GB VPS:

innodb_buffer_pool_size must be set to roughly 70% of obtainable RAM on a server devoted to MySQL. On a shared utility server, 25 to 30% is extra applicable.

Managed vs. Unmanaged Ubuntu VPS: Which Matches Your Wants

InMotion affords two distinct Ubuntu VPS environments. The selection between them comes all the way down to how a lot server administration you wish to deal with your self.

InMotion’s Cloud VPS is unmanaged. You get a provisioned Ubuntu server with root entry, and all configuration, safety patching, and software program set up is your accountability. That is the fitting mannequin for builders, sysadmins, and technical groups who need full management and have the experience to function a server manufacturing atmosphere.

InMotion’s Managed VPS contains cPanel and WHM pre-installed, server-level safety patch administration, and 24/7 human help for infrastructure points. The trade-off is a few configuration flexibility in change for operational overhead discount. For companies with out devoted sysadmin capability, that is the extra sustainable long-term alternative.

Premier Care, accessible as an add-on for managed VPS, provides Monarx malware protection, 300GB automated backup storage, and precedence APS help. For companies managing shopper websites on VPS infrastructure, Premier Care offers the safety and backup layer that care plan purchasers count on.

Associated: Find out how to Setup a VPS Server

InMotion’s Cloud VPS contains Ubuntu 22.04 LTS with root SSH entry, high-availability structure replicating throughout three nodes, and versatile plan upgrades. Discover plans at inmotionhosting.com/cloud-vps.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles