Is it possible to deploy Front end application on azure function App

Ninad Pawar 1 Reputation point

Hi All,
Currently in my project, we have React front-end code deployed in Azure Web App. This front-end application calls another Java spring boot Api deployed in another App service.

Currently we are planning to replace Web Apps by Azure functions and below are some questions I've:

  1. Is it possible to get away with Front-end Web app developed in React and host it on Azure function? I know we can replace Api App by Azure function but not sure if front-end can be moved to Azure function.
  2. If yes to above question, what should be plan i shd select to minimize cold start effect but save cost compared to Web App


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,680 questions
Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
174 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 19,356 Reputation points Microsoft Employee

    While it is possible to use a Function App, it would be better to either host your react app on blob storage as a static website.

    Azure Static Web Apps is a complete service that is designed for Single Page Apps which you could leverage as well, but note that this is currently in preview and hence not recommended for production scenarios.

    These options do not suffer cold start problems like Function Apps running in the Consumption Tier. But if you still require using a Function App in your scenario, prefer the Premium Plan to reduce cold start.

    0 comments No comments