Full Guide to Auto-Deploy a Spring Boot Backend (VPS Server, GitHub Actions, HTTPS, Security) @PhilippLackner
Full Guide to Auto-Deploy a Spring Boot Backend (VPS Server, GitHub Actions, HTTPS, Security)  @PhilippLackner
Uploaded April 2025 | Updated December 2026, 3 hours ago
In this video, you'll learn how you can deploy a JAR-based backend (Spring Boot, Ktor, etc.) to a self-hosted VPS instance from Hetzner for just 3$/month.
I'll walk you through creating the VPS instance, connecting to it via SSH, securing it via a custom user account, setting up and running a systemd service, setting up Nginx as a reverse-proxy with our own SSL certificate and custom domain and lastly how we can automate this deployment via a GitHub Actions pipeline when pushing to the master branch.

Get 20€ worth of Hetzner credits to create your VPS instance:
https://hetzner.cloud/?ref=j8CRwH4G9Fmr

Get the systemd notes.service config file:
github.com/philipplackner/SpringBootCrashCourse/blob/master/deployment/notes.service

Get the Nginx config file for sites-available:
github.com/philipplackner/SpringBootCrashCourse/blob/master/deployment/nginx-notes-config

⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/drop-table-mentoring

Regular programming advice on my Instagram page: instagram.com/_philipplackner_

Join my Discord server:
discord.gg/cwQbmUstEu

00:00 - Introduction
3:07 - VPS Hosting
7:36 - Setting up the VPS
19:14 - Copying the SSH key for existing servers
23:52 - Creating an admin user
35:55 - Creating an SSH alias
38:58 - Installing Java
40:53 - Pushing the JAR to our server
46:06 - Systemd service setup
58:42 - SSL & Custom domain setup
1:08:08 - GitHub Actions automation
1:18:26 - Permitting service relaunch without sudo
1:20:11 - Creating a GitHub repository secret
1:21:40 - Testing everything
1:27:35 - Configuring a firewall
Full Guide to Auto-Deploy a Spring Boot Backend (VPS Server, GitHub Actions, HTTPS, Security)Nested Nav Graphs & Shared ViewModels With Navigation3If you dont type code yourself, youre falling behind.Beginners Guide to Spec-Driven Development (SDD) With OpenSpecKotlin 2.3.0, New Compose Features & More - Mobile Dev News January 2026Suspend Functions vs. Flows In Kotlin & AndroidHow to Deep Link Into iOS & Android With Compose MultiplatformHot Reload In Compose Multiplatform (CMP) - THIS Is All You Have to KnowMy #1 Tip When ViewModels Grow Too BigI didnt know I needed this new AI model so badlyFAB Menu In Material3 ExpressiveWhy AI could make native app development great again
Philipp Lackner |

Full Guide to Auto-Deploy a Spring Boot Backend (VPS Server, GitHub Actions, HTTPS, Security)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER