Azure Infrastructure as Code with GitHub

Azure Infrastructure as Code with GitHub

1h 11mBeginner2022-10-06

Authors

Barbara Forbes

Barbara Forbes

Azure MVP and GitHub Star

Course details

Are you an Azure architect or administrator who works with infrastructure as code? Do you wonder what you can do to run a more efficient and cleaner environment? In this course, instructor Barbara Forbes explains what GitHub can do for you. Barbara gives guidance for storing your code in Git and explains how to work with GitHub actions: logging into Azure, testing, and building and deploying templates. She explains the skills you need to create a production process that works seamlessly, tests automatically, and provides an auditing trail. Join Barbara in this course to learn how you can start using GitHub actions to deploy your code directly to Azure.

Skills covered

Version ControlGitHubDevOps FoundationsAzureDevOpsSoftware Development ToolsNetwork AdministrationCloud PlatformsNetwork and System AdministrationCloud ComputingMicrosoftSoftware DevelopmentOne-Off

Concepts

Introduction

  • Overview of infrastructure as code with GitHub
  • What you should know

Intro to Infrastructure as Code, GitHub, and Git

  • What is infrastructure as code
  • ARM vs. Bicep
  • GitHub, Git, and infrastructure as code
  • Create a GitHub repository
  • Store your templates in GitHub

Create Your First Pipeline

  • Create a service principal in Azure
  • Create a secret in GitHub
  • Set up a GitHub workflow
  • Create the Azure Login Action
  • Deploy the resource group
  • Deploy an ARM or Bicep template through GitHub Actions
  • Challenge - Create your own pipeline
  • Solution - Create your own pipeline

Improve Your GitHub Actions Workflow

  • Use parameters
  • Add variables
  • Name the deployment
  • Name your Actions

Build and Test Your Templates

  • Build a Bicep file
  • Test with WhatIf
  • Test with Bicep linter
  • Test in other ways
  • Challenge - Add testing to your workflow
  • Solution - Add testing to your workflow

Conclusion

  • Next steps
40,000 Toman