Real World Infrastructure mit Terraform & Kuber...

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
W. Biller
November 30, 2026

Real World Infrastructure mit Terraform & Kubernetes

W. Biller

November 30, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

18 slides
  1. Real World Infrastructure mit Terraform & Kubernetes Infrastructure as Code

    in der Praxis Waldemar Biller, 19. September 2023 biller.digital.
  2. Agenda ⏹ Tech-Stack und Prämissen ⏹ Schnell-Einstieg in Terraform ⏹

    Aufbau der Infrastruktur ⏹ Blue / Green Deployment biller.digital. 2
  3. Prämissen ⏹ Möglichst wenige Tools ⏹ So viel wie möglich

    und nötig durch Cloud-Dienste abdecken ⏹ Kubernetes-Upgrades ohne Downtime ⏹ Deklarativ und einfach zu verstehen biller.digital. 5
  4. Terraform ⏹ Werkzeug zum Provisionieren und Konfigurieren von Infrastrukturkomponenten ⏹

    Ressourcen werden in der HashiCorp Configuration Language (HCL) beschrieben ⏹ 100+ Provider: Azure, AWS, GCP, OTC, GitLab, … ⏹ Zustand kann und sollte in Backends (S3, GCP Bucket, …) gespeichert werden biller.digital. 7
  5. HCL Ressourcen-Art Typ Name resource "google_dns_managed_zone" "biller-cloud" { name =

    "biller-cloud" dns_name = "biller.cloud." } Attribut biller.digital. Wert 8
  6. HCL Referenz resource "google_dns_record_set" "biller-cloud-www-a" { managed_zone = google_dns_managed_zone.biller-cloud.name name

    = "www.${google_dns_managed_zone.biller-cloud.dns_name}" rrdatas = ["199.36.158.100"] Interpoliert type = "A" } biller.digital. 9
  7. Cloud Architektur (im Großen) <<Project>> biller-digital <<Project>> biller-digital <<VPC>> biller-digital

    Cloud External IP Addresses Cloud Storage <<Subnetwork>> biller-digital-sep23 Cloud DNS Google Kubernetes Engine biller.digital. Cloud Router Cloud NAT Cloud Load Balancing 13
  8. Cloud Architektur (im Kleinen) Typ: LoadBalancer leitet Traffic an cert-manager

    kubed erstellt kopiert in alle Namespaces ingress-nginx beinhaltet service erstellt DNS-Einträge benutzt biller-cloud-tls biller.digital. ingress external-dns 14
  9. Cloud Architektur <<Project>> biller-digital <<VPC>> biller-digital <<Subnetwork>> biller-digital-sep23 Google Kubernetes

    Engine Cloud External IP Addresses biller.digital. <<Subnetwork>> biller-digital-oct23 Cloud Router Cloud DNS Google Kubernetes Engine Cloud NAT Cloud Load Balancing Cloud DNS Cloud External IP Addresses Cloud Router Cloud DNS Cloud NAT Cloud Load Balancing 16
  10. DNS biller.cloud Typ Record Wert NS @ ns-cloud-a1.googledomains.com. NS main

    ns-cloud-d1.googledomains.com. NS other ns-cloud-b1.googledomains.com. CNAME @ main.biller.cloud other.biller.cloud main.biller.cloud other.biller.cloud Typ Record Wert Typ Record Wert NS @ ns-cloud-d1.googledomains.com. NS @ ns-cloud-b1.googledomains.com. A @ 34.140.143.109 A @ 34.140.143.110 biller.digital. 17
  11. State Repository ⏹ ⏹ ⏹ ⏹ Ein Ordner pro Cluster

    Beinhaltet “globale” Infrastrukturkomponenten und Verweise zu Tenants (Apps) Cluster-Upgrades werden in einem Feature-Branch durchgeführt Secrets liegen verschlüsselt vor ⏹ ⏹ … werden mit Sealed Secrets ver- und entschlüsselt Sealed-Secrets Master Keys und TLS-Zertifikate bleiben erhalten biller.digital. 19

More Decks by W. Biller

Other Decks in Technology