Blog moved to Hugo and Azure

After being annoyed with WordPress, I decided to try something new. This week I looked at alternatives to WordPress, and going back and forth, I ended up with Hugo and Azure Static Web Apps as the solution. It is a very cheap solution, but also very powerful. I can use VS Code for writing blogs, and when I commit my code to GitHub, it will use a GitHub action to publish the changes to Azure Static Web Apps.
2 minutes to read
Martin Therkelsen
Read article

2021 reflection and looking into 2022

2021 has been a busy year for me, but in a good way. January, I started in a new role as Cloud Solution Specialist with edgemo A/S. It was strange to start the new position with Covid-19 still going strong, but it worked out great with the team I joined. We did meet at the office the first two days, but it was pretty much working from home for quite sometime after that. The guidelines on where to work changed over the year, and we made it work regardless of the policies.
3 minutes to read
Martin Therkelsen
Read article

Azure DevOps - Deploy a website to Azure

Intro
In this post, I want to show you how to deploy a .Net 6.0 website to Azure using Azure DevOps. I will create a demo website in Visual Studio using the Microsoft provided templates and publish the website to Azure using a pipeline.

Workflow
The flow for the demo website is simple. I update text on the website and commit the code to an Azure DevOps repository. From Azure DevOps, I can use the repository in a pipeline to deploy the code to Azure. The workflow would be a continuous effort for a production website, so deployment can often happen with new ideas getting into production fast and effortlessly.

4 minutes to read
Martin Therkelsen
Read article

Create Azure Function with Azure DevOps Pipelines

Intro
I want to create the Azure resources needed to build Azure Functions in this post. I will guide you through the necessary bicep files to deploy a Storage Account, Application Insights, App Service Plan, and the Azure Function. You will deploy everything with code by the end of this post, including a demo function.

All code can be found on GitHub .

Workflow
As shown below, the workflow is:

  • Creating Storage Account
  • Creating Azure Application Insights
  • Creating Azure App Service Plan
  • Creating Azure Function
  • Deploying demo function to the Function App.

6 minutes to read
Martin Therkelsen
Read article

Using Azure Key Vault from Bicep

Intro
I have previously written a post on how to use Azure Key Vault with GitHub Actions, and this time I want to show you have to use Key Vault with Bicep deployments in Azure. The reason behind using Key Vault is to avoid having any passwords or secrets stored in templates. Using Key Vault, I can reference a secret that the deployment will look up at deployment time and not display in any log files. Another benefit of using Key Vaults is that the person who deploys the resources does not need to know the password for the resource but only the reference to the Key Vault. Deploying resources using Key Vaults dramatically increases the security and, at the same time, eases the deployments.
3 minutes to read
Martin Therkelsen
Read article

Manage route tables and Network Security Groups in Azure with Bicep and Azure DevOps pipelines

Intro
In this blog post, I want to show you how to maintain route tables and network security group (NSG) configurations in Azure using Azure DevOps and pipelines. I have already written a post on the NSG part, but I have updated a few things since then, so I want to show that in this post.

You can find all the files in this post in their full length on my GitHub .

6 minutes to read
Martin Therkelsen
Read article