Exercise - Use GitHub Copilot for cloud operations

Completed

In this exercise, you take on the role of an infrastructure engineer at a retail company preparing to modernize its online storefront on Azure. You use GitHub Copilot inside Visual Studio Code to author a Bicep template for the baseline Azure environment, apply iterative prompt refinement to harden and parameterize the template, and generate supporting Azure CLI and PowerShell scripts.

Important

To complete this exercise, you need an active GitHub account and a Visual Studio Code environment with GitHub Copilot enabled. If you don't have a GitHub account, you can sign up for a free individual account. For help with enabling GitHub Copilot in Visual Studio Code, see Set up GitHub Copilot in VS Code.

The exercise covers:

  • Generate Azure CLI and PowerShell Script.
  • Compose Bicep Template (with and without MCP).
  • Generate CI/CD Pipeline syntax for Azure DevOps + GitHub Actions.
  • Use GitHub Copilot to assist in writing cloud infrastructure documentation.
  • Analyze Azure Activity log and Azure Firewall logs using GitHub Copilot.

When you select the launch exercise button, the browser navigates to a public GitHub page that provides instructions for this exercise.

When you finish the exercise, return here for:

  • A quick knowledge check.
  • A summary of what you learned during this module.
  • A badge for completing this module.

Button to launch exercise.