Slide 1

Slide 1 text

Patrick Koch AVL List GmbH (Headquarters) Public Benefits of using Infrastructure as Code for your Cloud-Native Approach

Slide 2

Slide 2 text

Public Introduction

Slide 3

Slide 3 text

Patrick Koch | | 12 May 2023 | / 3 Public Who am I? @PK_Koch patkoch87 patrickkoch.dev Graz DevOps Engineer Patrick Koch Azure Hero Badge source: https://www.microsoft.com/skills/azureheroes Icon sources: https://icons8.de/ HashiCorp Ambassador Badge source: https://www.credly.com/badges/1e32182b-596a-4a88-9919- fc373358df69

Slide 4

Slide 4 text

Patrick Koch | | 12 May 2023 | / 4 Public Today’s Agenda 4 3 2 Brief overview about myself Introduction 1 What is Infrastructure as Code? …derived from a cloud migration journey The benefits Let‘s create a Kubernetes cluster Live demonstration 5 My derived key learnings Conclusion …and why I especially use Terraform

Slide 5

Slide 5 text

Public What is Infrastructure as Code?

Slide 6

Slide 6 text

Patrick Koch | | 12 May 2023 | / 6 Public Definition of Infrastructure as Code “Infrastructure as Code (IaC) is the managing and provisioning of infrastructure through code instead of through manual processes” https://www.redhat.com/en/topics/automation/what-is- infrastructure-as-code-iac Gif source: Azure Portal

Slide 7

Slide 7 text

Patrick Koch | | 12 May 2023 | / 7 Public Provision/Manage resources using a Terraform configuration ACR icon source: https://learn.microsoft.com/en-us/azure/architecture/icons/

Slide 8

Slide 8 text

Patrick Koch | | 12 May 2023 | / 8 Public Provision/Manage resources using a Terraform configuration AKS icon source: https://learn.microsoft.com/en-us/azure/architecture/icons/

Slide 9

Slide 9 text

Patrick Koch | | 12 May 2023 | / 9 Public Why Terraform? ▪ Multiple providers ▪ Provision and manage the resources using their APIs Screenshot: https://registry.terraform.io/browse/providers

Slide 10

Slide 10 text

Patrick Koch | | 12 May 2023 | / 10 Public Why Terraform? ▪ Tracking and observing the infrastructure State File Plan State File Picture source: Azure Portal

Slide 11

Slide 11 text

Patrick Koch | | 12 May 2023 | / 11 Public Why Terraform? ▪ Declarative configuration files ACR, AKS icon source: https://learn.microsoft.com/en-us/azure/architecture/icons/

Slide 12

Slide 12 text

Public The benefits derived from a cloud migration journey

Slide 13

Slide 13 text

Empower the developer • Developers are capable of provisioning the resources they need • Less dependency • Have fun with provisioning/destroying/changing the infrastructure AKS icon source: https://learn.microsoft.com/en-us/azure/architecture/icons/

Slide 14

Slide 14 text

Patrick Koch | | 12 May 2023 | / 14 Public Infrastructure can be version controlled • Version control the configurations → Git repository • Be able to reproduce specific versions of your infrastructure • Feel free to experiment Git icon source: https://git-scm.com/downloads/logos

Slide 15

Slide 15 text

Patrick Koch | | 12 May 2023 | / 15 Public Automation – Establish Pipelines Terraform Configurations Azure Azure DevOps Pipeline • Create Pipelines for conducting the Terraform commands • Controlled way of provisioning/destroying the resources • Everyone can trigger the pipeline

Slide 16

Slide 16 text

Patrick Koch | | 12 May 2023 | / 16 Public Automation – Establish Pipelines • Create Pipelines for conducting the Terraform commands • Controlled way of provisioning/destroying the resources • Everyone can trigger the pipeline Video source: Azure Portal

Slide 17

Slide 17 text

Patrick Koch | | 12 May 2023 | / 17 Public Decrease the costs • Provision when you need it, destroy it otherwise • Estimate costs upfront using dedicated tools

Slide 18

Slide 18 text

Patrick Koch | | 12 May 2023 | / 18 Public IaC as part of your product for the customer • Provide the customer the configurations • Reproduce the same environment for finding bugs Terraform icon: https://www.terraform.io/

Slide 19

Slide 19 text

Public Live demonstration

Slide 20

Slide 20 text

Patrick Koch | | 12 May 2023 | / 20 Public Conclusion Empower the developer Reproducible environments Increase automation Save costs

Slide 21

Slide 21 text

www.avl.com Public Thank you Change is the Essence of Innovation.