A virtual private server gives you a full Linux machine for a predictable monthly fee, which suits side projects, client sites and early-stage products that have outgrown shared hosting. The catch is that you become responsible for security, updates and backups. This course walks you through running a VPS properly, from the first login to a monitored, backed-up production app.
What you'll learn
- How VPS hosting compares with shared hosting, managed platforms and full cloud setups
- Choosing a provider, region and plan, using DigitalOcean, Hetzner and AWS Lightsail as examples
- First steps on a new Ubuntu server: SSH keys, a non-root user, disabling password login and a firewall
- Automatic security updates and basic intrusion protection with tools such as fail2ban
- Pointing a domain at your server and setting up DNS records
- Serving apps behind Nginx or Caddy with free HTTPS certificates
- Running Node.js, Python and PHP apps as services with systemd or Docker Compose
- Deploying with Git and scripts, or with a self-hosted platform such as Coolify or Dokku
- Running a database on the server versus using a managed database
- Backups, snapshots, uptime monitoring and knowing when to scale up or move on
Who it's for
- Developers deploying their first app outside a managed platform
- Freelancers and agencies hosting several small client sites
- Founders who want to keep early hosting costs low without cutting corners on security
Prerequisites
- Basic Linux command line skills (see Linux Command Line for Developers)
- A web app you want to deploy, or one of our sample apps
- An account with a VPS provider; small plans are enough to follow along
Outcomes
By the end of this course you will be able to:
- Set up and secure a fresh VPS following sensible defaults.
- Deploy a web app with a custom domain and HTTPS.
- Ship updates with a repeatable deployment process instead of editing files on the server.
- Back up, monitor and maintain the server so problems are caught early.
Course outline
| Module | Topic |
|---|---|
| 1 | Hosting options and choosing a VPS |
| 2 | Creating a server and connecting with SSH keys |
| 3 | Users, firewall and SSH hardening |
| 4 | Updates, fail2ban and basic security hygiene |
| 5 | Domains and DNS |
| 6 | Nginx or Caddy and HTTPS |
| 7 | Running apps with systemd and Docker Compose |
| 8 | Deployment workflows and self-hosted platforms |
| 9 | Databases: self-managed or managed |
| 10 | Backups, snapshots and restores |
| 11 | Monitoring, logs and scaling decisions |
| 12 | Project: deploy and secure a production app |
FAQ
Is a VPS cheaper than a cloud platform?
Often, for small and steady workloads. It can cost more in your own time, and managed platforms win when you need autoscaling or don't want to maintain servers. We help you weigh both.
Which provider do you recommend?
It depends on your users' location, budget and needs. We use several providers in the course and are not affiliated with any of them.
Can I host WordPress this way?
Yes. The same server setup works for WordPress, and we show the PHP and database pieces it needs.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.