Authenticate To Azure : Implementation Guide
For this you need to have Azure CLI installed already.
Step 1: Open terminal on your computer, any terminal will work as we have use azure cli.
Step 2: Run the below command and follow the instructions if you haven’t did the login yet.
Syntax
az login
Step 3: To confirm the login run az account show.
Syntax
az account show
Output: The output will be similar to this.
Step 4: Save the id (below homeTenantId ) from the output as it is subscription id and you will need that while creating service principal later.
How to Create Windows VM in Azure Using Terraform
In this article, we will cover the whole process of creating Windows VM in Azure using Terraform. When you have to create multiple VMs, perhaps even identical ones, or machines with nearly identical configurations, it can be repetitive and time-consuming to go through the manual setup process each time. That’s where Terraform comes in. Think of it as a blueprint for building VMs without the need for manual work, reducing errors and saving you valuable time. Let’s first see what virtual machines, azure, and Terraform are.