Search code examples
azureazure-configuration

Can you run a standard Website and a Cloud Service on a single VM in Azure


Can you run a standard Website and a Cloud Service on a single VM in Azure? I'm trying to figure out if I can run a website with a worker role for background jobs in a single Large VM instance.

Note: Large was chosen mainly for RAM requirements of the website, the background services should be fairly lightweight.

Edit: If they can't run on the same VM would having a Web Role and a Worker Role be the next best option? Would that require me to manage the VM?


Solution

  • Great news.. You can now do this!

    Introducing Windows Azure Web Jobs

    • Azure Web Jobs make scheduled background tasks a breeze for Azure Web Sites.

    So now you can have a single PaaS website and background services without even looking at Workers or Roles!