Daniel's Tech Blog

Cloud Computing, Cloud Native & Kubernetes

Running Azure Functions on Azure Germany with the Functions Runtime

Azure Functions is currently not available in Azure Germany. If you want to start with Functions in Azure Germany, then you have to use the Functions Runtime as a workaround.

-> https://docs.microsoft.com/en-us/azure/azure-functions/functions-runtime-overview

-> https://www.microsoft.com/en-us/download/details.aspx?id=55239

The Functions Runtime can be installed on a Windows Server 2016 or on your Windows 10 with Creators Update client machine. We will install the Functions Runtime on an IaaS VM in Azure Germany.

Because the Runtime requires a SQL database, I have used the “Free License: SQL Server 2016 SP1 Express on Windows Server 2016” image and installed the Functions Runtime after the successful VM deployment.

FunctionsMCD

You should install both roles, Functions Management and Worker, on the same machine.

FunctionsMCD2

After the setup has completed successfully, start the configuration wizard.

FunctionsMCD3

The first view is the General section which says: Configuration required. So you have to go through each of the sections Database, Credential, File Share and IIS step by step to get the Functions Runtime up and running.

In the Database section enter the computer name of the VM under server name and the SQL credentials you have defined during the VM deployment through the Azure portal. Afterwards hit apply to finish the database configuration.

FunctionsMCD4

Specify the username and password for the file share owner and user.

FunctionsMCD5

Just hit apply to provision the file share on the server.

FunctionsMCD6

The last step is to configure the IIS. I have used the default inputs and the option generate self-signed cert.

FunctionsMCD7

Now, we can open a web browser and enter the server name to access the Functions Runtime portal. Keep in mind that the Functions Runtime portal does not require any authentication and can be accessed anonymously.

FunctionsMCD8FunctionsMCD9

Until Azure Functions becomes available in Azure Germany, the only way to run Functions in Azure Germany is to use the Functions Runtime on an Azure VM as a workaround.


Posted

in

WordPress Cookie Notice by Real Cookie Banner