user246392
user246392

Reputation: 3027

Azure Functions: How to load balance between multiple Function apps in the same region

Is it possible to load balance between multiple Function apps (say 10 of them) on consumption plan in the same region? Each app would have the same source code and can individually be upgraded to prevent downtime. Unfortunately, sometimes I get 503 errors when I deploy changes to a Function app, in which case I have to manually restart the app in the portal. Auto-swap has the same issues. This is not acceptable in a production environment, so I'm thinking of using multiple apps. I looked into using Traffic Manager, but that seems to be suited for a multi-region deployment.

Upvotes: 2

Views: 4376

Answers (2)

nobodyfromhell
nobodyfromhell

Reputation: 349

you can use the same solution, as Microsoft recommended for HA (totally agree with previous commentator): https://learn.microsoft.com/en-us/azure/azure-functions/functions-geo-disaster-recovery

Upvotes: 0

silent
silent

Reputation: 16208

You can use Traffic Manager also for backends that are all in the same region. However, I would rather recommend to use Azure Front Door as it provides more capabilities and faster failover times.

Upvotes: 1

Related Questions