Self-hosted agents / Terraform / Uncategorized

Azure DevOps self-hosted agent using Packer and VMSS

Posted on:

You’ve probably encountered situations where a self-hosted agent is necessary, perhaps for security reasons. Azure Container Instances offer a quick and simple way to run these agents, but this method has limitations. For instance, you cannot build Docker images with it. In a production setting, this might not be suitable for all purposes. Additionally, regular cleaning of the agent is required to avoid issues from using the same instance repeatedly. […]

Api Management / App Service / Azure / Azure pipelines / Terraform

Expert Summit 2023 – REST API with private API Management Access

Posted on:

I had the pleasure of delivering a presentation at the Expert Summit 2023 on a network-isolated REST API, made accessible through API Management. For those interested in the source code from the live coding session, it is available for you to explore. Have fun! Below, you can view the architecture that was developed during the live session: The recording of the session can be found here! I truly hope you […]

Azure / Terraform

Azure Container Registry – cost optimization

Posted on:

Azure Container Registry – cost optimization can be straightforward once you’re familiar with the service’s capabilities. The key is implementing an effective scheduling system to reduce costs associated with storage usage. The solution involves configuring a clean-up task. Ready to learn how to set it up? Let’s dive in! Azure Container Registry – cost optimization – terraform Anticipate a guide on setting up clean-up tasks with a Terraform script. A […]

Azure / Container Apps / Terraform

Azure Container Apps – service bus [part 6]

Posted on:

Azure Container Apps – service bus, works together like a perfect couple! Achieving integration is a breeze, and the impact on performance is truly remarkable. In this guide, I’ll walk you through the steps to set up this integration and share the results of my performance tests. Rest assured, all the necessary resources are at your disposal. You can access the entire series on Azure Container Apps right here. If […]

Container Apps / KeyVault / Terraform

Azure Container Apps – secrets [part 5]

Posted on:

Azure Container Apps – secrets, every application typically needs to reference some secrets. To achieve this, I’ll demonstrate how to load secrets into Azure Container Apps using Azure KeyVault. While it’s not currently feasible to do this solely with Terraform due to the absence of a provider for adding secrets from Key Vault, I’ll guide you through the process in this article. You may view all of the series’ about […]

Container Apps / Terraform

Azure Container Apps – traffic splitting [part 4]

Posted on:

Azure Container Apps – traffic splitting, or having multiple revisions of your application and sharing traffic between them. You can specify the weight for each route, so the traffic load can be adjusted properly. The total of all weights must be 100. In my configuration, I assign a revision suffix to each deployment. You may view all of the series’ articles here. Azure Container Apps – traffic splitting – Terraform setup […]

Container Apps / Terraform

Azure Container Apps – Creating using Terraform [part 1]

Posted on:

Azure Container Apps – Creating using Terraform, which used to be challenging. Why? Because a lot of tasks required the usage of the notoriously difficult-to-use AzApi, we recently began to be able to develop Azure Container Apps utilizing only resources from the AzureRM provider. This is wonderful news! All sources are included in this article and are available for download. Enjoy! Let’s begin with the developed architecture: Azure Container Apps […]

KeyVault / Terraform

Azure KeyVault – RBAC as a security best practice

Posted on:

Azure KeyVault – RBAC as a security best practice. For those who are new to this, I hope this essay will guide you in authorizing access to Azure KeyVault. In KeyVault, there are currently two methods for specifying access to the data plane (secrets, certificates, and keys). Please see the table below: Feature Access policy RBAC Grant access to secrets/certificates/keys yes yes Grant access to specific secret/certificate/key no yes Use […]