Azure DevOps CI/CD Pipeline to build and push Docker images to Azure Container Registry

With Azure DevOps Pipelines, it is incredibly simple to build Docker images and have them automatically pushed into an Azure Container Registry. To create and push the images, you can use the pre-existing Docker@2 Azure Pipeline Task with an Azure Container Registry service connection. However, there are environments where you cannot create an Azure Container… Continue reading Azure DevOps CI/CD Pipeline to build and push Docker images to Azure Container Registry

Deploying to Azure using GitHub Actions

Microsoft announced the general availability (GA) of GitHub Action on November 13, 2019. GitHub Actions enables you to create Software Development Life Cycle (SDLC) workflows like continuous integration (CI) or continuous delivery (CD) . A workflow is defined by a YAML (.yml) file that is located inside the.github/workflows directory in your repository. This article shows you how to… Continue reading Deploying to Azure using GitHub Actions

How to create Azure Web App for Containers

The last few days I struggled a lot to create an Azure Web App for Containers resource using the Azure Portal. My use case was to deploy a windows based (windowsservercore) docker image that is stored inside an Azure Container Registry (ACR) to an Azure Web App. If you are also unable to provision Azure… Continue reading How to create Azure Web App for Containers

How to migrate Azure PowerShell from AzureRM to the new Az Module

3 days ago, Microsoft released version 1.0.0 of the new Az Module. Az is a cross-platform PowerShell module to manage resources in Azure that is compatible with both WindowsPowerShell and PowerShell Core. Why migrate to Az? Az is written from ground up in .NET Standard which allows us to use the module in PowerShell Core… Continue reading How to migrate Azure PowerShell from AzureRM to the new Az Module

Configure Azure App Service IP Restrictions using PowerShell

CLI

IP Restriction is a feature I recently started using a lot. It allows me to define a list of IP addresses that are allowed or denied to access my app service. Both IPv4 and IPv6 addresses can be used. At the moment there is no Azure CLI or PowerShell cmdlet available to set the IP… Continue reading Configure Azure App Service IP Restrictions using PowerShell