title: Run NodeJS app in azure via container web app or normal web app in production
body: <p>What's the best way to run a nodeJS application in production on Azure?
  Using PM2 inside the docker image is no option here as it results in two layers of load balancing and monitoring thus more complexity.</p>
  
  <p><strong>Options:</strong>
  <strong>Use normal web app</strong></p>
  
  <p>Pro:</p>
  
  <ul>
  <li><p>Can use PM2</p></li>
  <li><p>The application can use more than one process thus more    than one
  core per AppService Instance thus one AppServicePlan    Instance can
  be better used to capacity.</p></li>
  </ul>
  
  <p><strong>Use container web app</strong></p>
  
  <p>Pro:</p>
  
  <ul>
  <li>The application can easily be used somewhere else because of the
  docker image Better control over the environment</li>
  </ul>
  
  <p>Cons:</p>
  
  <ul>
  <li>Only one process per AppServicePlan Instance </li>
  <li>Possible downtime if application crashes till the new container is
  ready</li>
  </ul>