Go support for Azure Web Apps

Ilya Galkin 0 Reputation points
2023-11-30T10:02:48.93+00:00

Hi,

I have a "Web App + Database" application running. I wanted to create additional testing environment but to my dismay I couldn't find Go under "Runtime stack" list.

Is Go support officially dropped?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,301 Reputation points Moderator
    2023-12-05T18:54:09.52+00:00

    Hi @Ilya Galkin , Go support has not been dropped for Azure App Service Web Apps.

    Support for Go currently is an Experimental feature. Experimental features are work in progress and can radically change or completely disappear at any time. You can use it if you’re an early adopter, see something useful to you, and would like to help test the feature.

    There are a couple things to check regarding configuring a Go web app:

    • Go support is only available for Linux web apps in App Service, not Windows. So when creating your web app, make sure to choose Linux as the OS.
    • In the configuration UI when you select Linux, there is then a drop-down for "Runtime stack" where Go should be available as a choice. The most recent Go versions supported is Go 1.19
    • There can sometimes be issues with the portal UI not displaying all available runtime stacks properly. As a workaround, you can deploy a Go app via Git push, Docker container, or continuous deployment using something like GitHub Actions which will automatically detect and install Go.

    Hope that helps

    -Grace

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.