Posts

Installing Azure cli & Azure Powershell on windows

Image
 Download the MSI installer and install the Azure CLI After installing you may check the version of AZ CLI az --version Then type  az bicep version   -- there is a change that your bicep is not installed you may need to install the bicep it will give out the instruction to install you may follow it. Installing Azure Powershell on Windows We are going to use Powershell 7 , and not windows powershell for this requires far more pre-requistes.

AZ CLI COMMANDS

-- Create a resource group under a particular Subscription az group create --location westeurope --name bicep-course --subscription <subscription-id>

Bicep 1 : Deploying two strorage resources using azure cli

Image
Creating azure deployment using azure CLI where we are depploying two storage accoung resources az deployment group > will create resources in resource group level https://learn.microsoft.com/en-us/cli/azure/deployment?view=azure-cli-latest

Directory Structure

 bicep-deployment/ ├── globalResources/ │   ├── aad/ │   │   └── aad.bicep │   ├── azurePolicy/ │   │   └── azurePolicy.bicep │   ├── azureMonitor/ │   │   └── azureMonitor.bicep │   └── ... ├── managementGroup/ │   ├── mg1/ │   │   └── subscription1/ │   │       ├── storageAccount/ │   │       │   ├── eastus/ │   │       │   │   ├── rg1/ │   │       │   │   │   └── storageAccount.bicep │   │       │   │   ├── rg2/ │   │       │   │   │   └── storageAccount.bicep │   │     ...

Azure - Bicep : Udmy Les : 1 :

Image
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  https://github.com/dylanbudgen/udemy-bicep-course/tree/main/lesson-05 Azure All Templated (Bicep | ARMS | Powershell ) https://learn.microsoft.com/en-us/azure/templates/  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Installing our Bicep Development Environment : As per our VS Code installation we are going to use several useful extensions that will help us with -- Syntax highlighting -- Linting -- Validation 1. Install Azure CLI Windows https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli .msifile toinstall Azure CLI check which version of Azure we are running > az --version > az bicep version 2. Install Azure Powe Shell Modules on Windows 3. Install VSC  -- Install Extension Azure Tools Pack  // This isnt really necessary but includes loads of extensions -- Bicep Extension Section : 3 : Writing your first Bicep Templa...

Azure : Bicep : What is it ?

What is Bicep ? Bicep: Bicep is a domain-specific language that simplifies the creation of ARM templates. It's a more human-readable and writable way to define Azure resources and their configurations.  

All Resource Providers and : Services in Azure

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers