Has anyone implemented CD server on Azure VM Scale sets?

Looking at below information:

  1. The CD Image process as per the VM Scale set process

  2. When the Image is used to scale VMs using Azure approach, what is the approach to update the image with latest code / template builds?

Thanks in advance!

  • Is there a reason you want to use Azure VM Scale sets instead of hosting on full PaaS with app service plans that can be scaled and that are out of the box supported by Sitecore? Feb 4, 2019 at 11:00

1 Answer 1


I know a company that successfully implemented Sitecore on Azure Scale Sets because of the prohibitive cost of Azure Web Apps deployed to a virtual private network (App Service Environment) and regulatory requirements. Here is a high level overview:

  1. Create Azure Managed image from a marketplace image using Hashicorp packer.
  2. Provision scale set using ARM Template with the managed image described above, Octopus Deploy tentacle, and OMS Agent extension.
  3. Patch scale set VM instances using Azure Automation, which uses OMS Agent to install necessary Windows Updates.

Scale set image is not used to deliver code changes, but is rather used to establish infrastructure for Octopus Deploy, which then deploys Sitecore.

Alternative solution is not to create custom managed image but provision scale set directly from a marketplace image and configure VM using DCS extension. This approach however will significantly increase VM startup during auto scaling.

Update 2021: This answer was for Sitecore 9, newer versions might have better deployment options in IaaS using containers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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