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 […]

Api Management / App Service / Azure DevOps / Azure pipelines / SQL

Deploy Azure App Service integrated with Azure SQL and APIM

Posted on:

In this article, I’ll demonstrate how to deploy the .NET 7.0 Rest API with Managed Identity and integrate it with Azure SQL. As a result, you can access Azure SQL without requiring a password in your application. Cool setup, in your perception? This is the next episode of the Network Series. Just to recap, in the Network series, I demonstrate how to expose Rest APIs using Azure API Management. Private […]

Api Management / Azure DevOps / Azure pipelines / Functions

Deploy Azure Function and expose it using API Management

Posted on:

In this article, you will learn how to deploy Azure Function and expose it using API Management. You find a sample Azure Function and deployment pipeline. The azure function is written in dotnet 7.0 and Azure Function v4. This is the next post in the Network Series, you can find all posts in this series. Just a small recap, in the Network series, I show you how to expose Rest […]

Azure DevOps / Azure pipelines / SQL / Uncategorized

Execute entity framework migration on a Linux

Posted on:

Executing entity framework migration on a Linux agent can be tricky. You cannot run simple dotnet ef command, because it doesn’t work on the Linux machine. As always if you know what you are doing, you can go directly to the source, and download the pipeline here! Before running the pipeline set below variables: So, in order to execute Entity framework migration on Linux, you must create a bundled script. […]

Azure DevOps / Container Instances / Self-hosted agents

Build a docker image in a self-hosted agent running on Azure Container Instances

Posted on:

How can a self-hosted agent running on Azure Container Instances create a docker image? Even while the question may seem simple, it is difficult. Suppose you’ve already set up a self-hosted agent on an Azure Container Instance (ACR); if you’re unsure how to do so, check out my blog right here! You run a pipeline with a simple docker image and … you get the below error: Unable to locate […]

Azure DevOps / Azure pipelines / Terraform

Terraform destroy, should I care?

Posted on:

Terraform destroy, should I care? Why do I need it? How can I create such a pipeline in Azure DevOps? So if you know the answer to the two first questions, you can move directly to my GitHub repo and download terraform destroy pipeline -> link. If you don’t know how to configure terraform pipeline in Azure DevOps check my previous article: https://azureway.cloud/terraform-deploy-pipeline-in-azure-devops. The short answer to the first question, […]

Azure DevOps / Azure pipelines / Terraform

Terraform deploy pipeline in Azure DevOps

Posted on:

Terraform deploy pipeline in Azure DevOps for sure will be great for infrastructure creation and priceless if you need to define many environments. As always in my blog, if you know how to set up an azure pipeline for terraform but need sources, you can grab them from here! But if you want to learn how to do this, read the below article. So to configure Azure Pipeline for terraform […]

Azure DevOps / Self-hosted agents

Self-hosted agent on Linux created in 3 minutes

Posted on:

Self-hosted agent on Linux In some cases is necessary, for example, you need to integrate with VNET – because the resources you want to access are not publicly accessible. This can be a storage account, container registry, or many others. Using my instruction you build and run a self-hosted agent in 3 minutes. If you don’t want to read the full problem resolution, you can jump into GitHub for all […]