Programmatically create Azure Container Instances and connect a Managed Identity

Programmatically create Azure Container Instances and connect a Managed Identity

"This feature is currently in preview. Previews are made available to you on the condition that you agree to the supplemental terms of use. Some aspects of this feature may change prior to general availability (GA). Currently, managed identities on Azure Container Instances, are only supported with Linux containers and not yet with Windows containers." - Microsoft DocsPreviously I wrote about a post explaining how to programmatically create new Azure Container Instances (ACI) that are connected to a specific Virtual Network, allowing communication with services and data that resides inside that network. In this post I'm sharing a brief additional…

Read More

Installing Ghost for local development on Windows

Installing Ghost for local development on Windows

I've been an avid user of Ghost Pro for years. I absolutely love the service, support and simplicity. It comes with great themes and extensibility, too, if that's your thing. Recently I had some discussions with community peers who are considering new platforms for their blogs. There are many options, and we'll not address the reasons or arguments for one or the other now - we will focus on setting up a local development environment for Ghost, so you can easily customize your themes and work with your deployment without impacting your production environment. Install pre-requisitesThe one pre-requisite we have…

Read More

Programmatically create Azure Container Instances in an existing Virtual Network

Programmatically create Azure Container Instances in an existing Virtual Network

In recent years I've worked extensively with various approaches to create ACI's, also known as Azure Container Instances. I have these standard approaches for various scenarios: Define a YAML file, and create ACI from the command line.Define an ARM template and create ACI using a Resource Deployment.Programmatically create ACI using the Azure Fluent SDK.In various use cases in my daily work, I have to rely on some of these approaches for spinning up new workloads, for short- or long-term tasks. Use caseI have Azure Functions and Azure App Services for everyday background tasks and web front-end. It…

Read More

Use Azure App Service Diagnostics - Improve performance, best practices, security and more.

Use Azure App Service Diagnostics - Improve performance, best practices, security and more.

I already wrote about "Diagnosing and troubleshooting configuration and application errors in Azure App Services" in October 2019. Today, I am seeing an update to the service and I wanted to bring this new experience to light - it comes with an improved UX, and I really like it. In my daily work, I deal with production workloads every day. I have built, designed and am operating distributed applications and systems, and some are hosted in Azure App Services. Sometimes we see performance degradation. In other cases we experience intermittent errors that we can't easily understand. Enter Azure App Service…

Read More

Solving ASP.NET Core running on Azure App Service causing 500.30 ANCM In-Process Start Failure

Solving ASP.NET Core running on Azure App Service causing 500.30 ANCM In-Process Start Failure

Recently I attempted to re-deploy and replicate some of the infrastructure I have running and deploy the same version of the source to a new Slot in an Azure App Service. I hit the error message below: Azure App Service presenting the 500.30 error message on ASP.NET Core 3Following the link (here), gives us an indication of what the error is about: The worker process fails. The app doesn't start. The ASP.NET Core Module attempts to start the .NET Core CLR in-process, but it fails to start. The cause of a process startup failure can usually be…

Read More

I am giving away consulting advice for Azure

I am giving away consulting advice for Azure

With the recent pandemic, and many changes to organizations, workforces, and projects, we see an ever-increasing demand for moving things to the cloud. I see a growing trend in questions and requests for advice around Azure, specifically. Today I am announcing that I'll help you answer your current Azure questions, gratis, and you'll get my professional advice directly to your inbox - as in the days of my principal consulting work. This offer stands for every subscriber to my newsletter. I am hoping on a lot of engagement, and therefore I would recommend that you only submit one question if…

Read More

Understanding Azure Policies with Visual Studio Code

Understanding Azure Policies with Visual Studio Code

I did not know about this extension until recently. It is currently in preview, and it is supposed to simplify authoring of policies by enabling alias property look-up inline with the resource or policy definition. I like the idea of drafting policies in Visual Studio Code, especially now that I can look at my existing policy definitions directly from within the tool. Let's take that for a spin to see if we check out our Azure policies. Installing the Azure Policy extensionThe extension is available on the Visual Studio Code marketplace, and can be found on the following URL: https:…

Read More

Running .NET 5 on Azure App Services

Running .NET 5 on Azure App Services

I recently had a few discussions about some heavily-loaded Blazor apps I've built. They are all running on .NET Core 3.1, but I am attempting to get them up to .NET 5 (Preview). In these discussions, it came up that it wasn't at the time of our dialogs, possible to publish to Azure App Services with success. However, it seems that it works now - but again, it is a preview. Expect changes, perhaps even breaking changes, and don't ship to production just yet - at least that's what I'd recommend. I have successfully upgraded two out of eight…

Read More