Self Host 101 – Configure and Secure Your Own Server

HomeOther ContentSelf Host 101 – Configure and Secure Your Own Server
Self Host 101 – Configure and Secure Your Own Server
Self Host 101 – Configure 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 basic VPS setup, you can start hosting your own apps and services. This is the first part of a series on self-hosting.

00:00 Introduction
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 a non-root user
1:08 p.m. Connection with SSH key
15:19 Disable password login
17:36 Disable root login
6:25 p.m. Network and firewall policy
7:11 p.m. Closure of unused ports
8:15 p.m. Change default SSH port
21:31 Restrict port access to a specific IP address
22:29 Enable and configure automatic updates
24:38 Thanks!

————————————————– —————————-

Listen to Syntax Episode 615 – https://syntax.fm/show/615/where-should-you-host-your-app-hosting-providers-compared

Watch Syntax Episode 730 – https://www.youtube.com/watch?vnCWznQ0HY9c
Listen to Syntax Episode 730 – https://syntax.fm/show/730/own-your-own-paas

Github – generating a new SSH key – https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the -ssh-agent

XKCD149 – https://xkcd.com/149/

Unattended Upgrades Reference – https://github.com/mvo5/unattended-upgrades?tabreadme-ov-file#supported-options-reference

————————————————– —————————-

Terms and topics covered:

Terminal Emulator – https://en.wikipedia.org/wiki/Terminal_emulator
SSH – Secure Shell – https://en.wikipedia.org/wiki/Secure_Shell
VPS – Virtual Private Server – https://en.wikipedia.org/wiki/Virtual_private_server
Brute force attack – https://en.wikipedia.org/wiki/Brute-force_attack
Exploit – https://en.wikipedia.org/wiki/Exploit_(computer_security)
Vulnerability – https://en.wikipedia.org/wiki/Vulnerability_(computing)
Self-hosting – https://en.wikipedia.org/wiki/Self-hosting_(web_services)
Media Server – https://en.wikipedia.org/wiki/Media_server
PaaS – Platform as a Service – https://en.wikipedia.org/wiki/Platform_as_a_service
Ubuntu – https://en.wikipedia.org/wiki/Ubuntu
Debian – https://en.wikipedia.org/wiki/Debian
Principle of Least Privilege – https://en.wikipedia.org/wiki/Principle_of_least_privilege
Superuser – https://en.wikipedia.org/wiki/Superuser
sudo – https://en.wikipedia.org/wiki/Sudo
Public key cryptography – https://en.wikipedia.org/wiki/Public-key_cryptography
gnu Nano – https://en.wikipedia.org/wiki/GNU_nano
port Computer network – https://en.wikipedia.org/wiki/Port_(computer_networking)
Firewall – https://en.wikipedia.org/wiki/Firewall_(computing)

————————————————– —————————-

Self-hosted services mentioned:

Awesome Self Hosted – https://github.com/awesome-selfhosted/awesome-selfhosted

Media servers
Plex – https://www.plex.tv/
Jellyfin – https://jellyfin.org/
Emby – https://emby.media/

File Sharing
Nextcloud – https://nextcloud.com/

Password managers
Bitwarden – https://bitwarden.com/blog/host-your-own-open-source-password-manager/
Passbolt – https://www.passbolt.com/self-hosted-password-manager

Error tracking/monitoring
Sentinel – https://develop.sentry.dev/self-hosted/

————————————————– —————————-

Self-hosted PaaS mentioned:

piku – https://github.com/piku/piku
dokku – https://dokku.com/
Kubero – https://github.com/kubero-dev/kubero
caprover – https://caprover.com/
coolify – https://coolify.io/

————————————————– —————————-

Paas – Platform as a Service mentioned:

Vercel – https://vercel.com/
Netlify – https://www.netlify.com/
Heroku – https://www.heroku.com/
fly.io – https://fly.io/
Rendering – https://render.com/
Railway – https://railway.app/

————————————————– —————————-

Hosted database providers mentioned:

AWS RDS – https://aws.amazon.com/rds/
PlanetScale – https://planetscale.com/
Neon – https://neon.tech/

————————————————– —————————-

Contact us on social media!

https://www.syntax.fm/links

Brought to you by Sentry – Use code /"tastytreats/" to get 2 months free – https://sentry.io/syntax

#vps #ubuntu #self-hosted #guide

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *