Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "azure"

Microsoft Azure Virtual WAN Part 3 - Create and convert to secured virtual hub inside VWAN

A virtual hub is a Microsoft-managed virtual network. The hub includes different service endpoints to enable connectivity from your on-premises network (vpnsite). It is aa Microsoft-managed virtual network that allows and enables connectivity from other resource services. When a virtual hub is creat…

Read more

Part 2 Create a Virtual WAN (VWAN) on Azure Portal

In this second article series of the Azure Virtual WAN (VWAN), I am deploying actual Virtual WAN. Azure Virtual WAN is a networking service that offers enhanced, optimized and automated branch-to-branch connectivity across Azure. Virtual WAN lets you link up, connect and configure office, branch dev…

Read more

10 Useful Tips to Save Money as an Azure User

The demand for cloud-based storage solutions is high, and some people are constantly looking for ways they can take care of data-related problems. For example, someone might have concerns about their file safety and are interested in creating a backup. 

Or, they might read a blog post about stor…

Read more

Microsoft Azure Virtual WAN Part 1 - Create Virtual Network and subnets

Recently I had assigned a project and had to do the POC of deployment and configuration of Azure VWAN (Virtual WAN) with Secured hubs providing network connection between Virtual Machine situated in different region locations. Azure Virtual WAN is a managed networking service which brings together …

Read more

Host static website on Azure Storage Account

Microsoft Azure Storage Account blob can be used as serverless web server to host static website pages, Static website content includes files pages from HTML, CSS, JavaScript and image files. Website files and data is stored on Storage Account special container named $web. This enables and gives …

Read more

How to create a Storage Account in Microsoft Azure

Microsoft Azure Storage Account is a Microsoft-controlled resource/service offering cloud storage that is highly accessible, available, reliable, secure, durable, robust, scalable, and redundant. Microsoft  Azure Storage Account consist of Azure Blobs (objects), Azure Data Lake Storage Gen2, Azure F…

Read more

Terraform for_each loop on map example

This article is a second part of a post Hashicorp Terraform dynamic block for_each loop with example, In earlier script I used dynamic block with using for_each loop. In This script I will use same for_each loop without any block inside resource, instead I am using each.value to get the looped inf…

Read more

Hashicorp Terraform dynamic block for_each loop with example

I use Terraform IAC (Infrastructure as a code) a lot to design Azure resources, While deploying Azure Resource NSG (Network Security Group), I was defining multiple roles inside NSG, Roles were mentioned inside the main.tf code script file. I wanted roles values to be moved to variables inside v…

Read more

Terraform Using one module variable in another module

While working on Azure Terraform IAC infrastructure as a code script Writing and Using Terraform modules, I wanted to pass or use variable from a module to another module, so I will have to define module data once and I can keep reusing it in another modules. Here is the screenshot of my folder hier…

Read more

Configure a Azure VM with Desired State Configuration in Automation Account

While working on one of the Azure Automation Accounts project I had to test and provide a demo of Desired State Configuration (DSC) on the Azure Virtual Machine, how it can be useful. There was a client requirment to not to use Group Policy for hardening, but the configuration must be done through D…

Read more

Writing and Using Terraform modules

This is a small example of Terraform module how to write and use it. A Terraform module is a folder/container for multiple resources that are used together. Every Terraform configuration has at least one module, known as its root module, which consists of the resources defined in the terraform .tf f…

Read more

Create an Azure virtual machine scale set and load balancer using Terraform

While working on one of the client requirement I got below assignement which wanted to be demonstrated either with Terraform or ARM. Although I am very good at writing script for both languages, I chose Terraform, as there was another requirement for other projects where I am already working on Te…

Read more

Why is my Azure recovery services vault not getting deleted?

While working on Azure Portal Get Azure virtual machine backup reports using Powershell I was trying to decommision few Azure Recovery Service Vault (Backup) resource by deleteing it, I went to Azure portal selected Recovery Service Vault from Resource Group and pressed delete button, but I was rec…

Read more

Create an Azure Automation account on using Portal PowerShell and AzureCLI

Azure Automation Account is Azure resource allows you to automate tasks against services and resources in Azure, on-premises and with other cloud providers such as Amazon Web Services (AWS). You can write and use runbooks to automate your tasks, or a Hybrid Runbook Worker if you have business or ope…

Read more

Azure Powershell : Operation returned an invalid status code 'BadRequest'

While working on few Azure Powershell scripts I was keep receiving an error 'BadRequest' whenever I was trying to create a new resource in Azure. I kept on trying to resolve an error but didn't find any proper solution to it. Initially the message was not much friendly so to dig down further I went …

Read more

Export certificates from Azure Key Vault using PowerShell

While working with Azure Key Vault Certificate Create Azure Key Vault Certificates on Azure Portal and Powershell, Next requirement was to download those certificates from Key Vault. On the Azure Portal choose the SSL Certificate you want to export. Click buttons Download in CER format or Download…

Read more

Create Azure Key Vault Certificates on Azure Portal and Powershell

I had one requirement to create a SSL certificates on Azure Key Vault, I have Key Vault already deployed with earlier written articles Create key vault and secrets with access policies in Microsoft Azure. I just wanted to create new SSL certificate in it so using managed Identity In the the future…

Read more

Get Azure virtual machine backup reports using Powershell

I found my junior colleague are gathering Azure virtual machines backup report manually so I thought to write and pull Azure Virtual Machine Backup (Recovery services vault) report including Backup status and Summary using Microsoft PowerShell script to ease the task.

To check the current backup…

Read more

Get the list Azure Reservation Catalog with PowerShell and AzureCLI

I wanted to design Azure Reservations solution, before desinging the solution I wanted to fetch Reservations catalog list (SKUs) available in the specified subscription for a location, so I can create a presentation and pitch to client which available reserved virtual machine we can use. This below …

Read more

Powershell get the list of Azure Reservations Virtual Machines instances

As I was working on the Azure Reservations - PowerShell List All Azure Resverations. There was another requirement to provide the list of Virtual Machines usage under Azure Reservations by clients (which VMs are utilized under reservations), earlier another team was doing it manually to get the r…

Read more

20 blog posts

Blog Search

Page Views

11415694

Follow me on Blogarama