Deploy Container App and pull image from Azure Container Registry using Terraform and AzAPI

High-Level Diagram (HLD) showing the architecture involving a Container App, Managed Identity, and Azure Container Registry (ACR). The diagram illustrates how the Container App is configured to pull container images from ACR. It also shows the Managed Identity linked to the Container App, enabling secure access to ACR and other Azure resources.

In this blog I am going to show how to deploy Container App and pull an image from Azure Container Registry using user assigned managed identity for authentication. I will be achieving this using Terraform and AzAPI. Image below shows a diagram of what I will be deploying; it shows container app accessing a container … Read more

Build and push Docker Image to Azure Container Registry using GitHub Action

Screenshot of a GitHub Actions job for Docker build and push to Azure Container Registry (ACR), showing all stages as successful. The image highlights the workflow steps, including building the Docker image and pushing it to ACR, with green check marks indicating that each stage completed without errors.

In this blog post I am going to show how you can build and push Docker Images to Azure Container Registry (ACR) using a GitHub Action. Creating Azure Container Registry We will use Az CLI to create the Azure Container Registry, script below: A successful run of the above script will create a resource group … Read more

Deploy your first container app using Terraform and GitHub Actions tutorial/lab

High-Level Diagram (HLD) illustrating the workflow from a GitHub repository to deployment on Azure services. The diagram shows a GitHub repository with GitHub Actions configured to build and push images to Azure Container Registry (ACR). It also depicts the deployment of these images from ACR to an Azure Container App using a managed identity for secure access. Additionally, the diagram includes integrations with Application Insights and Log Analytics for monitoring and logging purposes.

This tutorial/lab has been created to take you through a DevOps journey to build & deploy an Azure Container Application using Terraform and GitHub Actions. It will include from setting up the GitHub pipeline, prerequisites and finishing with a successful Container Application being deployed – along with looking at alerting/monitoring! This is also my contribution … Read more

Building and deploying to an AKS cluster using Terraform and Azure DevOps with Kubernetes and Helm providers

I have a few blogs now on deploying Azure Kubernetes Services (AKS) with different scenarios, such as deploying AKS with Application Gateway Ingress, in this blog post I am going to be building and deploying to an AKS cluster using Terraform and Azure DevOps. You will also have noticed in the title, it references both … Read more

Creating multiple Azure postgresql server replicas using Terraform

Using Terraform to create a postgresql server in Azure? There may be sometimes a requirement to create additional read-replicas of this server. In this blog, I am going to show how you can achieve this! I will be giving the option to create additional replicas with a variable addition (up to 5 replicas allowed currently … Read more

Using Aztfy to import existing Azure resources into Terraform

Wanting to import existing Azure resources into Terraform? A recently announced tool called Terrafy will be something you will be certainly interested in! In this blog, I will have a look at using Aztfy and its configuration to both import Azure resources into terraform state locally and also directly to an Azure Storage Account. “A … Read more

Deploying Azure Container Apps into your virtual network using Terraform and AzAPI

High-Level Diagram (HLD) illustrating the architecture where a virtual machine (VM) subnet connects to a Container App via a private endpoint, with no public access to the Container App. The diagram shows the VM subnet and the Container App linked through a private endpoint, emphasizing that the Container App is only accessible from within the virtual network. Public access to the Container App is restricted, ensuring secure communication over the private network.

In this blog, we will be looking at deploying Azure Container Apps into your virtual network using Terraform and AzAPI. A follow on blog from my previous – Deploying multiple Container Apps in Azure using Terraform and AzAPI Looking at the diagram below, I will be deploying the container app so it is only accessible within … Read more

Create a PostgreSQL single server read replica in Azure using Terraform

Screenshot from the Azure Portal showing an Azure PostgreSQL Single Server with one read replica. The image highlights both the primary server and the read replica, indicating their statuses and replication details.

Deploying PostgreSQL single server in Terraform and wanting to create a read replica? In this blog post I will show you how, it is rather straight-forward to setup with Terraform. Lets begin by looking at the terraform to create PostgreSQL single server; will follow on with showing how to add read-replica with terraform. Terraform for … Read more

Deploying multiple Container Apps in Azure using Terraform and AzAPI

Screenshot from the Azure Portal displaying Container Apps and a Log Analytics workspace. The image highlights the list of Container Apps alongside the Log Analytics workspace, showing their names and statuses.

In this blog post I am going to show you can deploy multiple Container Apps in Azure using Terraform and AzAPI. You may be wondering what is AzAPI? Some times with new resource updates, the terraform AzureRM provider is not up to date or missing a piece of functionality within a particular resource. With this … Read more

azure application gateway data for certificate is invalid error fix

A quick blog post to show a fix for when you get the error data for certificate is invalid error when applying backend settings within Azure Application Gateway. Within the Azure Activity log, you may come across this error: Reviewing the backend settings in the Application Gateway, we can see the snippet: For end-to-end SSL … Read more