This part is continuation of Ansible authenticate to Microsoft Azure using credential profiles Part 1. Earlier I used automatic variables to use profile while executing ansible yaml script. But it is sometimes very inefficient, So inside the Ansible azure yaml code you can use profile parameter as…
Blog posts : "azure"
Ansible authenticate to Microsoft Azure using credential profiles Part 1
My earlier article Quickstart How to authenticate Ansible with Microsoft Azure was for basic and foundation for authentication to azure using Ansible. But I have scenarios with multiple subscriptions to automate multiple azure clouds using Ansible, in that case I will make use of multiple credentia…
Quickstart How to authenticate Ansible with Microsoft Azure
This article is first part of Deploy create Virtual Network vNET in Azure cloud using Ansible Here I am going to show multiple ways to authenticate Ansible with Microsoft Azure cloud. Very first method is very simple using azure az cli. Make sure you have installed azure cli application on linux wh…
Create a Azure Virtual Network with Subnet using PowerShell
Azure VNet (Virtual Network) is the essential element for your private network in the Azure Cloud. Virtual Network allows various kinds of Azure resources, such as Azure Virtual Machines (VM), to securely connect with each other, the internet, and on-premises networks. In this article I will be crea…
Deploy create Virtual Network vNET in Azure cloud using Ansible
This is ansible code example for deploying creating vNET (Virtual Network) on Microsoft Azure cloud. This is working basic ansible yaml/yaml script.
Below example shows how it is deployed using ansible-playbook command from the linux using ansible-playbook command.
Download this script here …
Azure PowerShell Get-AzStorageShare Could not get the storage context
While working with Azure Storage Account Shares report, while running below Azure az PowerShell command to get shares list, it was throwing error.
Get-AzStorageShare -Name testbackup
Get-AzStorageShare: could not get the storage context. Please pass in a storage context or set the current stor…
Conditionally create resources in Terraform
I had scenario with Terraform to deploy resources based on the value given in variables. This is also an example of count and if condition. When you use count inside the resource block and if value is mentioned 0 that resource will not be deployed. Now I am giving the count number programmatically …
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[…
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…
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…
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 …
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…
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…
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…
Microsoft Azure Virtual WAN Part 7 - Configure security configuration | Route traffic to your secured hub | Test connectivity
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 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.
Microsoft Azure Virtual WAN Part 5 - Create Azure Virtual Machine (VM)
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) …
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…
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…
Blog Search
Page Views
10425053
Archive
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
Comments
-
Rob LloydSeptember 25, 2023 06:06AM
-
September 21, 2023 03:16AM
-
Shahab HussainSeptember 11, 2023 01:28PM
-
josephAugust 31, 2023 04:25PM
-
SaraAugust 25, 2023 11:59AM