I'm trying to figure out how to host a web app that I've built using Go, specifically through containers in Azure. I've looked around but can't find any tutorials on YouTube that help with this. Any guidance would be appreciated!
3 Answers
Have you considered using an Azure App Service instead of containers? It could simplify the process for you. Check out this [quickstart guide for Go web apps](https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-go-web-app?tabs=entra-id) that might help!
You might also want to explore Power Pages as another option!
I suggest deploying your app as a container to keep it platform agnostic. Here’s a helpful resource on how to do that using Azure Container Apps: [tutorial here](https://learn.microsoft.com/en-us/azure/container-apps/tutorial-code-to-cloud?tabs=bash%2Ccsharp&pivots=docker-local).
The easiest approach is to Dockerize your Go app, push the image to Azure Container Registry, and then deploy it via Azure App Service for Containers or Azure Container Apps. This method is way simpler than dealing with raw VM setups and offers better scaling options.

Thanks for the tip! I'm new to Azure, so I didn't notice the runtime environment for hosting Go applications. I only saw options for .NET and Python, so I thought containers were the way to go.