Oct 10 - 12 | 2022 Utrecht Netherlands
09:00 - 17:00

Exploring Infrastructure as Code

Are you tired of spending hours of your life, manually setting up environments for your IT systems? Or do you skip that and try to make do with just a “dev” and “prod” environment because it is too much of a hassle to set up a new one? Or maybe it is too expensive to run another one? Or maybe you have given up on the idea of multiple environments and decided to just deploy to production?

Setting up and maintaining multiple environments and their infrastructure can be a hassle. However, with “the cloud” and infrastructure provisioning being available through API calls, we can speed up this process by using Infrastructure as Code (IaC). This allows us to define our environments in code, and easily spin up, as well as remove, environments in minutes. Need a new test environment? No worries, just spin up a new one! Need a temporary environment to try out something new? Just spin up a new one and remove it when you have tried out your idea. Why not spin up a new environment for each pull request to verify that it works? All this is possible if you have your infrastructure defined as code.

In this workshop, we will look at the 3 most popular Infrastructure as Code (IaC) solutions available for creating infrastructure in Azure, namely Bicep, Terraform and Pulumi.

The goal of this workshop is to have you define, create, update, and remove whole system environments using all three IaC solutions. This will allow you to get a feel for how they work, where they differ, and which one would suit your situation the best. All three have strengths and weaknesses depending on what you are trying to do, so having a general knowledge of all three enables you to make a successful choice when you start your journey to define your infrastructure as code!

Objectives:
• To understand why IaC is useful in a cloud-based paradigm
• Learn about various options for implementing Infrastructure as Code in Azure
• Get hands-on experience with all three of the most popular IaC tools
• To be able to make a well-educated decision about the best option for your company

Topics covered during the workshop:
• Introduction to Infrastructure as Code
• Declarative vs imperative approach to IaC
• Preventing configuration drift in Azure

• Bicep templates
o How it compares to ARM templates
o Getting started with Bicep

• Pulumi
o Pulumi architecture
o Language options
o Getting started with Pulumi

• Terraform
o Terraform architecture
o Terraform providers
o Getting started with Terraform

• Automating IaC deployments
o Deployment pipelines for IaC projects
o Short introduction to GitHub actions and Azure Pipelines

• Hands-on labs
o You will create and deploy the infrastructure for a sample application in Bicep, Terraform and Pulumi
o The infrastructure includes, among other things, Azure App Service, Azure SQL, Azure Key Vault and Application Insights

Prerequisites
• An Azure subscription with owner privileges
o Note: During the workshop we will create resources that will incur a small cost
• Visual Studio Code
• Azure CLI

jakob-ehn.png
Jakob- Ehn - Chris Klug

Jakob Ehn 

Jakob has 20 years of experience with professional software development, and currently works at Active Solution, specializing in DevOps and cloud architecture. 
Jakob is a Microsoft Azure MVP (former ALM/DevOps MVP). He is a regular speaker at various conferences and user groups around the world, such as NDC, DevSum, CloudBrew, TechDays, WinOps, UpdateConf and SweTugg

 

Chris Klug

Chris Klug is a developer badass-as-a-service that either creates or solves problems depending on who you ask. He loves creating and building things. Whether it be a new application, a new kitchen or a new RC helicopter, you will see him building things all the time. Most of the time, that means writing code and solving problems for clients at a company called Active Solution in Stockholm though. Except for the many days he spends at conferences and usergroups, talking about doing things he is passionate about, and for the days he goes mountain biking, IPSC shooting, kiteboarding or RC helicopter flying.
For the last 15-something years, he has been solving problems for customers, and loving it. But if he gets to choose, he'll go to the beach and kitesurf every day!