Get your own VPS with 2 vCPU Cores, 8 GB RAM and 100 GB NVMe Disk space for just $5.99 per month with the KVM2 plan from Hostinger. Get an extra 10% off with the code DREAMSOFCODE by visiting https://hostinger.com/dreamsofcode
I've been using Docker for my application deployments for around 10 years and it's made my entire process easier. Despite this however, recently I've been wondering how difficult it would be to deploy without Docker, instead just deploying to the VPS without any containerization.
So, in order to find out how difficult it would be, I decided to try it without, and the results were somewhat surprising.
This video is sponsored by Hostinger
Video Links:
- Deployed Application: https://zenbin.xyz
- Caddy: https://caddyserver.com/
- Crowdsec: https://www.crowdsec.net/
- Github Repo: https://github.com/dreamsofcode-io/zenbin
- systemd instance docs: https://www.stevenrombauts.be/2019/01/run-multiple-instances-of-the-same-systemd-unit/
- My VPN: https://mullvad.net
My Upcoming Course: https://dreamsofcode.io/courses/command-line-apps-go 👈
My Gear:
- Camera: https://amzn.to/3E3ORuX
- Microphone: https://amzn.to/40wHBPP
- Audio Interface: https://amzn.to/4jwbd8o
- Headphones: https://amzn.to/4gasmla
- Keyboard: ZSA Voyager
The amazon affiliate links, meaning I may earn a commission if you make a purchase through them at no extra cost to you.
Join this channel to get access to perks:
https://www.youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: https://discord.com/invite/eMjRTvscyt
Join Twitter: https://twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:34 Goals of Challenge
00:03:41 The Application
00:04:09 Obtain a VPS
00:05:47 VPS Setup
00:07:23 Hardening
00:07:56 Crowdsec
00:09:22 Deploy Application
00:11:36 Valkey
00:14:17 systemd
00:17:14 Securing secrets
00:19:00 https
00:20:47 Automated Deployments
00:27:02 Replicas
00:29:35 Rolling Releases
00:31:43 Improvements