1

I've got a node app built using a standard node-alpine docker image deployed to Azure App Service. The App Service Plan is set to use 2-core VMs (instance type S2). A single node process will only use a single core at a time. Is Azure scaling the number of containers to fill up available resources? Is it configurable? Or should I be running pm2 inside my container to load balance requests?

0

No, you will be running one instance of the container. You need to increase the number of app service instances to increase this.

  • Sure but that just means I'll have 4 CPUs and still 2 processes, right? Half my CPUs will be idle. – jiggy Sep 21 '18 at 17:29
  • That's correct, that's just the design of app service containers, 1 container per instance, it doesn't care what resources you are using. – Sam Cogan Sep 21 '18 at 21:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.