Rails 7 on Kubernetes on Hetzner Cloud

How to get your Rails application deployed on Hetzner Cloud using Kubernetes

Hetzner sets the standard for cost-effective deployments. But, there's no Kubernetes. So, this course shows you how to build a Kubernetes cluster, and deploy your Rails 7 application on top of that cluster on Hetzner Cloud.

What you'll learn

Kubernetes Cluster Setup

We will setup a basic cluster using the Hetzner-K3S tool. This will stand up a simple to configure and manage cluster for our environment.

Dedicated Network to Cloud bridges

We will configure a VSwitch to the Cloud Network bridge, so we can run dedicated servers (for our data layer) with our Kubernetes cluster using private IP networking.

Load balancers & SSL without LetsEncrypt

We configure the Traefik load balancer tied to the Cloud Native Hetzner load balancer. Then, we use Cloudflare to build dedicated SSL certificates that bypasses all the LetsEncrypt headaches.

Application Deployment

We will setup configmaps and secrets, then build the YAML files necessary to deploy our application on our newly minted Hetzner Kubernetes cluster.

Keel & Automated Reconfiguration

Using Keel, we will setup our cluster to look for new images. When they're available, our cluster will automatically update to the latest image of our application.

CI & Dockerhub

We will configure our Gitlab CI to run tests. After successful tests, we'll build a Docker image and push that image to Dockerhub. Thus, triggering Keel to redeploy the application.

11 videos

Our videos are not designed to fill time. Rather, they show you the specific steps and discuss the issues you might encounter. Then, it shows how to fix them.

Templates & Resources

All of the templates needed to configure your application are configured and available for your use.

Tips and Tricks

Covers how to setup your environment to manage Kubernetes in an ongoing way. TO make things simpler and easier for you and your small team to get results.


Chapter 1
Setting up the environment

We setup our environment using VSCode. Covers how to do things using ASDF and direnv to allow dynamic access to the cluster. Also, how to use HCLOUD CLI to manage your cluster's resources from the command line.

Chapter 2
VSwitch to Cloud Network Bridge

Before you can build your cluster, you need to setup the VSwitch to Cloud Network bridge. We cover how to configure the bridge. Then, we configure dedicated resources with their Virtual Ethernet interfaces to allow them to access the bridge. This is useful for using dedicated servers for your data layer (such as Postgres, Redis, ElasticSearch and others).

Chapter 3
K3S Setup

Next, we build out a Kubernetes cluster. This leverages the API resources configured earlier as well the great tool by Vito Botta (hetzner-k3s) to build our cluster. Next, after the cluster is built, we configure Traefik and the Hetzner Load balancer. Then, Cloudflare and SSL to skip LetsEncrypt and use long shelf life real SSL Certificates.

Chapter 4
App Deployments

We configure secrets and configmaps for our application. Then, we build a basic image that deploy that image on our Kubernetes infrastructure. We handle both the main Rails web app, as well as deploying a separate worker (Sidekiq-based). Basic handling of the liveness checks are handled as well.

Chapter 5

We configure to look for changes to our published images. And, on new image availability, we update our infrastructure to use the latest version of our application.

Your instructor

William Flanagan

William is the founder and CEO of Audienti. In addition, he is the founder of Growmance Slack, the growth hacking community of over 15,000 members. He has trained over 40K+ people on Growth hacking through his courses on Udemy and other platforms. His previous background was in VC-funded startups, taking businesses from standing starts to multi-million dollar run rates.

What people are saying

“William is a brilliant creator! He is sharp, innovative, and able to capture the essence of what is needed in simple, yet powerful ways. He is generous of heart, a good listener, and easy to work with.”
DeAnna Murphy
“William commands a thorough understanding of the marketplace and how to best reach specific audiences through a blended, multimedia campaign. He appreciates what it takes to effectively build and maintain a brand and is willing to try new approaches if it helps achieve goals and reach the targeted market.”
Richard Williams
“William's experience in the internet marketing field shone through.”
Brian Dean
“As an engineer I had never met a businessman before whom excels in his field AND has the tenacity to learn and master other fields necessary for business success. I have witnessed him learning to setup, manage and optimize cloud deployments without prior knowledge. I would love to work with him again and I recommend you do too..”
Nicolas Overloop
CEO, Horizon65
“I was impressed by his deep understanding of high tech marketing, and how to make an impact as a small startup. Time and time again, William showed the ability to see the bigger picture, and to make sound strategy decisions in a very challenging and competitive market.”
Mark Entstrom
“William was instrumental to our success at Cognio (sold to Cisco), and he is an extremely creative and talented marketing and business strategist. He consistently brings new ideas to the table and puts in place the infrastructure, plans and resources to get things done. I have recommended him to companies in the past (which worked out great), and I'm still doing it.”
Jeff White


Why should I join?

This course is specifically designed to fill in the gaps of knowledge on the Internet. Grabbing from bits and pieces of many different courses, blog posts, discussions in Discord and Slack communities, this course represents over a 80+ hours of banging my head against the wall in order to figure out how to make this work. If you're looking to save yourself that hassle, then this course is for you.

When can I start my course?

You have full access to the course as soon as you sign up.

What if I change my mind?

I will provide a full refund if you change your mind. The only thing I ask is that you tell me why you decided this wasn't for you.

What payment methods do you accept?

Most major credit cards are accepted. In addition, I'm VERY liberal with discount and 100% off coupons for people that can't pay the price. Simply reach out to me and ask.


Show Order Summary
Product Subtotal
Deploying a Rails 7 Application on Kubernetes using Hetzner Cloud  × 1 $97.00
Subtotal $97.00
Total $97.00

Customer information

Billing details

Your Products

Deploying a Rails 7 Application on Kubernetes using Hetzner Cloud (#13873)

Your order

Product Subtotal
Deploying a Rails 7 Application on Kubernetes using Hetzner Cloud  × 1 $97.00
Subtotal $97.00
Total $97.00


  • Pay with your credit card via Stripe

    Test Mode Enabled: Use demo card 4242424242424242 with any future date and CVV. Check more demo cards

Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our privacy policy.