CI/CD pipeline to deploy a Java app to Hetzner cloud with Gitlab, Terraform and Nomad

Learn how to use Gitlab, Packer, Terraform and Nomad to create a CI/CD pipeline which deploys to Hetzner cloud!

What do you need to complete this tutorial?

  • Accounts for Gitlab, Hetzner Cloud, Terraform Cloud


  1. Implement minimal Kotlin web app with Spring Boot
  2. Create a base VM image with Docker and Nomad installed using Packer
  3. Create Terraform script
  4. Create Nomad script
  5. Configure pipeline

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s