
TL;DR
GitHub Copilot for Azure is a GitHub Copilot extension; assisting with all things related to Azure cloud. To use it, perform the following:
- Create Azure account; your identity needs access to at least one subscription
- Confirm Azure Copilot is enabled (it’s enabled by default)
- Create account on GitHub.com
- Enable GitHub Copilot for your GitHub.com account
- Install VS Code (or start a GitHub Codespace)
- Install “GitHub Copilot for Azure” extension
- (optional) Install other VS Code extensions to improve Azure effeciency
- Sign into your Azure account with “GitHub Copilot for Azure”
- Get familiar with GH Copilot and the “for Azure” extension
A More Detailed Description
- Obviously, you need an Azure account with access to a subscription. If you are reading this blog, you probably have one, but you can always Try Azure for free
- Make sure Azure Copilot is enabled on your tenant. This is enabled for all users by default, but your tenant administrator may have disabled this. If that is the case, you need to contact them and request the enable it for your identity.
- Log into Azure Portal
- At the top of each page, there is an omni-search bar (G + / is keyboard shortcut). Next to the search field, there is a “Copilot” icon – click that.
- A pane will open (on the right side). As long as this doesn’t say something like “You don’t have access to Copilot” you are in business.
- Create a GitHub.com account (or log into your existing account)
- Enable GitHub Copilot for your GitHub.com account (30-day trial or purchase)
- Install VS Code on your local system or launch a Codespace on GitHub.
- Visit Extensions Marketplace, find, and install “GitHub Copilot for Azure“
- This automatically installs a required dependencies (like GitHub Copilot Chat)
- (optional) If you frequently use VS Code and Azure, consider related extensions. Personally, I have found the list below helpful – but it really depends on the kind of activities you perform in Azure (don’t be tricked! check the extension publisher):
- Azure Tools (which installs a collection of Azure related extensions)
- Azure Machine Learning
- Azure IoT Hub
- Azure Kubernetes Service
- Azure API Management
- Azure Automation
- Azure Policy
- Azure Pipelines
- Azure Terraform
- Bicep
- This first time you use GHCP4AZ, it will ask you to sign into Azure. If you belong to multiple tenants, you need to select a single tenant. You can always change this tenant by running
@azure /changeTenantin the Copilot Chat window or performing the click sequence in Set your default tenant. - If you haven’t used GitHub Copilot before take a look at Microsoft’s free Introduction to GitHub Copilot mini-course (it is worth the few minutes) and review other postings specifically about using GitHub Copilot for Azure.
Comments
One response to “GitHub Copilot for Azure: The End-to End Setup Process”
[…] For full details on how to get yourself going with this extension, and even execute some of these prompts, see my article GitHub Copilot for Azure: The End-to-End Setup Process […]
LikeLike