Hosting
Servers
Web Development Pricing
Resources
Get started → Log in
Home/Blog/Ubuntu VPS in India

Ubuntu VPS in India:
pick an LTS, then secure it in 30 minutes.

28 November 20268 min readBy the RapidServer team

Where can you get an Ubuntu VPS in India?

You can rent an Ubuntu VPS in India from RapidServer: a KVM server with Ubuntu 24.04 or 22.04 LTS, full root and dedicated vCPU, from ₹581/mo plus 18% GST, in Mumbai (BOM1) or Delhi NCR (DEL1). It is ready a few minutes after payment, with daily backups kept 7 days. Pick 24.04 for a new server, then spend 30 minutes securing it.

Which Ubuntu version for a VPS?

Ubuntu ships a long-term support (LTS) release every two years, and each gets 5 years of standard security maintenance. Our VPS images are Ubuntu 24.04 LTS and 22.04 LTS. Dates from Ubuntu's release cycle page:

Ubuntu LTS versionReleasedStandard support ends
26.04 LTSApril 2026May 2031
24.04 LTSApril 2024May 2029
22.04 LTSApril 2022May 2027
20.04 LTSApril 2020Ended May 2025

Choose 24.04 for a new server: it has the longer support of our two images, and most tutorials assume it. Choose 22.04 only if your software needs it, and plan the move before May 2027, after which security fixes need Ubuntu Pro (ESM). Ubuntu 26.04 LTS isn't one of our images; custom ISOs work on every plan.

What you get with Ubuntu VPS hosting

Every RapidServer VPS is a KVM virtual machine with dedicated vCPU, NVMe storage, a dedicated IPv4, an IPv6 /64 and full root, plus:

  • Optional SSH keys at deploy: add a key when you order and the server boots with it installed and password login disabled.
  • A browser console and rescue mode for when SSH is locked out.
  • Network firewall rules in the control panel, and free private networking in the same region.
  • Daily backups kept 7 days and snapshots on demand.
  • Support 24/7 in English and Hindi.

It is unmanaged by default; managed support adds ₹1,499/mo for patching and hardening (see managed vs unmanaged VPS).

The first 30 minutes on a new Ubuntu server

These steps suit any Ubuntu server VPS and follow the Ubuntu Server documentation. Replace 203.0.113.10 with your server's IP address.

1. Log in with an SSH key

On your laptop (PowerShell works on Windows 10 and 11), create a key and print its public half. Paste that line into the client area before you deploy, then log in as root:

your laptop
ssh-keygen -t ed25519
cat ~/.ssh/id_ed25519.pub
ssh root@203.0.113.10

Deployed with a password? From Linux or macOS, ssh-copy-id root@203.0.113.10 adds your key. See Ubuntu's OpenSSH server guide, or SSH kya hai in Hinglish.

2. Create a sudo user

Work as a normal user with sudo. As in Ubuntu's user management guide, add the account to the sudo group, then copy your key to it:

root@ubuntu
adduser deploy
adduser deploy sudo
install -d -m 700 -o deploy -g deploy /home/deploy/.ssh
install -m 600 -o deploy -g deploy /root/.ssh/authorized_keys /home/deploy/.ssh/

Keep this session open. In a second terminal, run ssh deploy@203.0.113.10, then sudo whoami; it should print root.

3. Update, and keep security updates automatic

Install every pending update, as Ubuntu's package management guide shows, and run sudo reboot if a new kernel came in:

shell
sudo apt update && sudo apt upgrade

Per Ubuntu's automatic updates guide, unattended-upgrades is installed by default and applies security updates daily; both lines of /etc/apt/apt.conf.d/20auto-upgrades should end in "1". It won't reboot unless you set Unattended-Upgrade::Automatic-Reboot to "true".

4. Firewall: allow OpenSSH first, then enable ufw

ufw is off by default. The ufw manual warns that enabling it may drop existing SSH connections, so allow SSH before you switch it on:

ufw
sudo ufw allow OpenSSH
sudo ufw enable
sudo ufw status

Open ports 80 and 443 only once a web server runs, and note that ports published by Docker skip ufw. More in Ubuntu's firewall guide and our firewall guide.

5. Turn off password login, only after the key works

If you added a key at deploy, password login is already off. If not, don't turn it off until ssh deploy@203.0.113.10 works with your key in a second terminal, or you will lock yourself out. Then create this file:

/etc/ssh/sshd_config.d/00-hardening.conf
PasswordAuthentication no
PermitRootLogin no

Per the sshd_config manual, sshd uses the first value it reads and loads sshd_config.d files first, in name order, so 00- wins. Check and apply with sudo sshd -t && sudo systemctl restart ssh, keeping your session open. Locked out anyway? The browser console works without SSH.

6. Set the timezone to Asia/Kolkata

If timedatectl shows UTC, logs and cron jobs run 5 hours 30 minutes behind India time. Use set-timezone from the timedatectl manual; Ubuntu's time sync guide covers clock sync and NTP servers in India:

timedatectl
sudo timedatectl set-timezone Asia/Kolkata
timedatectl

7. Add swap only if you need it

swapon --show prints nothing when there is no swap. Our smallest plan has 4 GB RAM, so add a 1 to 2 GB swap file only if the kernel kills processes for memory during spikes. The swapon manual calls dd the most portable way to create one:

swap
sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

A server that swaps all day needs more RAM, not more swap; see how to speed up a VPS.

8. Take a snapshot before big changes

Before a release upgrade or a large config change, take a snapshot in the client area and roll back in minutes if it goes wrong. Daily backups kept 7 days run on top; keep your own off-server copy too (see our VPS backup guide).

What to run next on your Ubuntu VPS

Upgrading between Ubuntu LTS releases

Ubuntu's release upgrade guide uses do-release-upgrade, and offers an LTS-to-LTS upgrade only after the new release's first point release. Back up first: take a snapshot and an off-server copy, then run:

release upgrade
sudo apt update && sudo apt upgrade
sudo do-release-upgrade

For a busy production server, a fresh VPS on the newer image is often cleaner: move the app, test it, then point your domain at the new IP.

Run Ubuntu 24.04 on a KVM VPS in India.

Dedicated vCPU, NVMe, full root, SSH keys at deploy and daily backups kept 7 days in Mumbai or Delhi NCR, ready a few minutes after payment, from ₹581/mo.

See VPS plans

Questions

Which Ubuntu version is best for a VPS?+
Ubuntu 24.04 LTS for a new server: standard support runs to May 2029. Use 22.04 LTS only if your software needs it, because its standard support ends in May 2027.
What is the Ubuntu VPS price in India?+
Ubuntu is free, so you pay only for the server: from ₹581/mo with 2 vCPU and 4 GB RAM, or ₹1,723/mo for Full Moon with 8 GB RAM, plus 18% GST, billed monthly.
Can I get an Ubuntu 24.04 VPS?+
Yes. Ubuntu 24.04 LTS and 22.04 LTS are both available on every plan, and you can reinstall either from the client area in under two minutes.
Do I get root access on an Ubuntu VPS?+
Yes, full root over SSH. If SSH locks you out, the browser console and rescue mode still reach the server.
Can I upgrade from Ubuntu 22.04 to 24.04?+
Yes, with sudo do-release-upgrade. Take a snapshot and an off-server backup first, or deploy a fresh 24.04 VPS and move your app across.
Is there an Ubuntu VPS in Noida?+
Noida, Gurugram and the rest of Delhi NCR are served from our DEL1 data center in Delhi NCR, typically 1 to 8 ms away; RapidServer has no separate data center in Noida (see VPS for Noida).
Ubuntu VPS lene ke baad sabse pehle kya karein?+
SSH key se login kijiye, ek sudo user banaiye, apt update aur apt upgrade chalaiye, ufw mein pehle OpenSSH allow karke firewall on kijiye, timezone Asia/Kolkata set kijiye aur bade change se pehle snapshot lijiye. Password login tabhi band kijiye jab key se login chal jaye.

Run Ubuntu on a VPS in India.

KVM VPS with Ubuntu 24.04 or 22.04 LTS, dedicated vCPU, NVMe and full root in Mumbai or Delhi NCR, billed monthly in rupees with a GST invoice.