Deploy Container App and pull image from Azure Container Registry using Terraform and AzAPI
Thomas Thornton
by Thomas Thornton
1M ago
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 registry using a user created identity. Terraform The terraform will create: Resource Group Log Analytics Workspace Container App Environment Container App User created identity Assign IAM permissions to an already created container registry for the user created identity Assign u ..read more
Visit website
Build and push Docker Image to Azure Container Registry using GitHub Action
Thomas Thornton
by Thomas Thornton
1M ago
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: #!/bin/sh ACR_RESOURCE_GROUP_NAME="tamopsgithubacr-rg" ACR_NAME="tamopsgithubacr" # Create a resource group to store container registry az group create --name $ACR_RESOURCE_GROUP_NAME --location uksouth # Create a container registry that will be where you deploy your image to az acr create --resource-group $ACR_RESOURCE_GROUP_NAME --name $ACR_NAME ..read more
Visit website
Deploy your first container app using Terraform and GitHub Actions tutorial/lab
Thomas Thornton
by Thomas Thornton
1M ago
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 to this years Festive Tech Calendar – don’t forget to check out this content, its awesome! As with my tutorials/labs, it is an example of a real-world setup – taking you through the journey from the image above: Devel ..read more
Visit website
Building and deploying to an AKS cluster using Terraform and Azure DevOps with Kubernetes and Helm providers
Thomas Thornton
by Thomas Thornton
2M ago
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 Kubernetes and Helm providers – we will be looking at how Terraform can be used to deploy to AKS as well once deployed. I am huge fan of GitOps within AKS, but to test an application or small environment; this way could certainly be useful! What will Terraform be deploying? Initi ..read more
Visit website
Creating multiple Azure postgresql server replicas using Terraform
Thomas Thornton
by Thomas Thornton
3M ago
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 at time of writing this blog post). Replicas are updated asynchronously and recommended to be used to improve the performance of intensive read workloads; where you just need read-only access which you know is intensive – it is recommended to begin looking at one (or multiple ..read more
Visit website
Using Aztfy to import existing Azure resources into Terraform
Thomas Thornton
by Thomas Thornton
4M ago
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 tool to bring your existing Azure resources under the management of Terraform.” Azure Terrafy imports the resources that are supported by the Terraform AzureRM provider within a resource group, into the Terraform state, and generates the corresponding Te ..read more
Visit website
Deploying Azure Container Apps into your virtual network using Terraform and AzAPI
Thomas Thornton
by Thomas Thornton
5M ago
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 the virtual network and not accessible via the public internet. The Terraform will create: Resource Group Log Analytics workspace that will be connected to the Container App environment Virtual network with aca subnet Container App environment deployed into above subn ..read more
Visit website
Create a PostgreSQL single server read replica in Azure using Terraform
Thomas Thornton
by Thomas Thornton
5M ago
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 PostgreSQL single server The below will create: resource group PostgreSQL single server PostgreSQL single server database (do not store credentials in plain text – only doing this for example only) resource "azurerm_resource_group" "rg" { name = "tamops ..read more
Visit website
Deploying multiple Container Apps in Azure using Terraform and AzAPI
Thomas Thornton
by Thomas Thornton
5M ago
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 new provider, you can begin deploying using Terraform from day 1 without the need to wait until AzureRM has been updated – awesome! Further details in this terraform post Terraform breakdown I will be deploying: Resource Group Log Analytics workspace that will be connected to the Contain ..read more
Visit website
Azure application gateway data for certificate is invalid error fix
Thomas Thornton
by Thomas Thornton
5M ago
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: Error code: ApplicationGatewayTrustedRootCertificateInvalidData Message: Data for certificate /subscriptions/04109105-f3ca-44ac-a3a7-66b4936112c3/resourceGroups/ttcloud_aca/providers/Microsoft.Network/applicationGateways/ttcloud-appgw/trustedRootCertificates/cert is invalid. Reviewing the backend settings in the Application Gateway, we can see the snippet: For end-to ..read more
Visit website

Follow Thomas Thornton on Feedspot

Continue with Google
OR