Menu

Virtual Geek

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

Blog posts

VMware.PowerCLI install update error - Install-Package: Authenticode issuer

I had a project to automate and upgrade VMware infrastructure. I had given few of the basic tasks to my fellow juniors to update VMware.PowerCLI modules on few servers and run script on the systems. But while upgrading VMware PowerCLI they were receiving below errors. 

PackageManagement\In…

Read more

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

How to install and configure Ansible on Ubuntu

This is a step by step installation and configuration procedure of ansible on Ubuntu. Ansible is an open source IT automation mechanism that programs provisioning, configuration management, application deployment, orchestration, and many other IT processes. I have my Ubuntu server already setup and…

Read more

How to Install vCenter server appliance on ESXi host

In this article I will be installing fresh VMware vCenter server appliance vcsa on esxi server. First step is to download vCenter server 7.0 vcsa ISO file from customerconnect.vmware.com or my.vmware.com website. You need to have access to the VMware site to download ISO. Search for VCSA and go to…

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

Gather Azure Virtual Network inventory information using PowerShell

I am huge fan of PowerShell when gathering inventory report information. Before disabling few of my subscriptions in my Azure accounts, I wanted to gather Virtual Network inventory in the CSV file so It can be used later to see the information quickly to share in table format. Below is the screensho…

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

20 blog posts

Blog Search

Page Views

7665983

Follow me on Blogarama