Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

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

Philipp Lackner via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to deploy a JAR-based backend (Spring Boot, Ktor, etc.) to a self-hosted VPS instance from Hetzner for just $3/month in this comprehensive tutorial video. Follow along as the instructor demonstrates the complete deployment process including creating a VPS instance, connecting via SSH, securing it with a custom user account, setting up a systemd service, configuring Nginx as a reverse-proxy with SSL certificates and custom domains, and automating deployment through GitHub Actions pipelines. The tutorial covers essential topics such as copying SSH keys, creating admin users, setting up SSH aliases, installing Java, pushing JAR files to servers, configuring systemd services, setting up SSL with custom domains, implementing GitHub Actions automation, managing repository secrets, and configuring firewalls. Perfect for developers looking to self-host their backend applications with professional deployment practices.

Syllabus

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

Taught by

Philipp Lackner

Reviews

Start your review of Full Guide to Auto-Deploy a Spring Boot Backend - VPS Server, GitHub Actions, HTTPS, Security

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.