Menu

Virtual Geek

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

Blog posts : "microsoft"

Install the Microsoft Azure CLI on Ubuntu Linux

While working on one of the client's project I wanted to install and use Microsoft Azure-cli to manage Azure cloud on ubuntu (Get Started: Configure Ansible for Azure Cloud Infrastructure). This is step by step guide, First step I am updating and upgrading ubuntu system using apt-get. 

Microsoft Azure azure-cli az cli installation on linux sudo su - sudo apt-get update upgrade autoremove azure cloud automation.png

vj…

Read more

Get Started: Configure Ansible for Azure Cloud Infrastructure

This is second part of How to install and configure Ansible on Ubuntu, where I will be installing and configuring Microsoft Azure modules to use it with ansible for Microsoft Azure cloud infrastructure automation. I have python-pip3 is already installed, The next instructions is to install ansible[…

Read more

Importing already created module Infrastructure into Terraform and update state file

This is a second part of Importing existing resources into Terraform - Step by Step, in earlier article I imported resource mentioned in tf file, here in this article I will be importing existing module resources and update tfstate file. Below are the module structure of my resources in the terrafo…

Read more

Importing existing resources into Terraform - Step by Step

When working on already created existing Azure from portal or other scripting tool then managing it using terraform tool can be little bit tedious. I encountered in a situation while working on one of my client's Azure infrastructure, I needed to modify/update existing resources. Here is the view of…

Read more

Deploy Native SFTP (Secure FTP) in Storage Account | Microsoft Azure

I was working with a software product based startup client, They wanted to have SFTP server where their customer will upload logs. Here they didn't want to host a FTP solution On-Prem or in Virtual Machine. For this design, we chose PAAS service available on Microsoft Azure Cloud. There is a option …

Read more

Building basic simple Web Server using PowerShell

While writing few solutions for html code I wanted to test basic html web pages, which I required to check with web server, here PowerShell can be handy to create simple and basic web server to serve html web page for testing purpose.

Microsoft powershell web server httplistener http listener simple web server basic web server context response port url new-object.png

Download this code basic_webserver_httplistener.ps1 here…

Read more

Microsoft Azure PowerShell cmdlet 'this.Client.SubscriptionId' cannot be null

While working on one of my expired and disabled Microsoft Azure subscription with PowerShell, I was receiving error (Get-AzVirtualNetwork: 'this.Client.SubscriptionId' cannot be null) when trying to get information from Azure Virtual Network. Although I was receiving error for all the resources when…

Read more

Terraform manage similar resources with for_each loop inside modules

After working on few of the Azure Terraform (Infrastructure as code) projects, I found I had to deploy same resource again and again, instead of defining same resource manually, I can use for_each loop to deploy resources smartly inside module block. In this example I am going to deploy Azure Virtu…

Read more

Terraform for_each loop on resource example

In this article I will be using for_each loop to deploy same resources multiple time. This is a third part of earlier series of Terraform for_each loop on map example. Using the for_each loop I will deploy multiple Subnet resources inside Azure Virtual Network (VNET). Using loop I can keep my terra…

Read more

Microsoft Azure Virtual WAN Part 7 - Configure security configuration | Route traffic to your secured hub | Test connectivity

Microsoft vWAN Azure firewall virtual wan virtual hub virtual network connections vnet subnet virtual machine vm vnet peering hub to hub connectivity powershell template creation routing connectivity check vm virtual machines.png

This is final and last article of vWAN configuration series. In this article I will be configuring Hub Security configuration - Routing on the the Virtual Hub and testing connectivity between Azure Virtual Machines between the different vNETs and across the region. 

Microsoft Azure Virtual…

Read more

Microsoft Azure Virtual WAN Part 6 - Creating and configuring Azure Firewall Policies

In the earlier article I created few Virtual Machines on the Azure. Below are the few screenshots of Virtual Machines networking configuration with location and Private Ip address information which I will require to configure in Azure firewall policies to filter traffic in next few steps.

Microso…

Read more

Microsoft Azure Virtual WAN Part 5 - Create Azure Virtual Machine (VM)

Microsoft vWAN Azure firewall virtual wan virtual hub virtual network connections vnet subnet virtual machine vm vnet peering hub to hub connectivity powershell virtual machine template creation.png

With these series I slowly coming to the complete configuration of vWAN architecture and here in this article I am creating and configuring Azure Virtual Machines (VM) as one of the configuration. There are 3 Microsoft Azure Virtual Machines I will creating using existing Virtual Network (vNET) …

Read more

Microsoft Azure Virtual WAN Part 4 - Add Virtual Network connection | Hub vNet Peering

Microsoft Azure Virtual WAN Part 3.1 - Create secured virtual hub inside Azure Firewall Manager

Although I had shown how to create Virtual Hub under VWAN and convert it to secured hub in my earlier article. Still there is another way to create secured hub with different steps using Azure Firewall Manager. Azure Firewall Manager is a security management and administration service that offers…

Read more

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

Powershell Animation ANSI FileInfo color support for ANSI escape sequences | ASCII Art

Microsoft has released a new version of PowerShell 7.2. After installation of latest Microsoft PowerShell I was reading release notes and what's new document on https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-72?view=powershell-7.2. While reading, there is a…

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

20 blog posts

Blog Search

Page Views

7918429

Follow me on Blogarama