Self Host 101 - Set up and Secure Your Own Server

In this video, CJ shows you how to configure and lock-down a Virtual Private Server running Ubuntu 22.04. With this base VPS setup, you can begin hosting your own apps and services. This is the first part in a series on self hosting.


00:00 Intro
00:59 The What and Why of Virtual Private Servers
03:22 Connect to your VPS with SSH
05:14 Update package lists and Upgrade packages
09:16 Change root password
09:56 Create non-root user
13:08 Login with SSH Key
15:19 Disable Password Login
17:36 Disable root login
18:25 Network and Firewall Policy
19:11 Closed unused ports
20:15 Change default SSH port
21:31 Restrict port access to a specific IP
22:29 Enable and configure automatic updates
24:38 Thanks!

Play / pause the audio
Minimize / expand the player
Mute / unmute the audio
Seek backward 30 seconds
Seek forward 30 seconds
Increase playback rate
Decrease playback rate
Show / hide this window