Search code examples
azureazure-devopsazure-service-fabric

Azure Service Fabric deployment - A Virtual Machine is not available in the region to service your Request


We are getting the below warning in the VSTS release page and it is taking more than an hour to complete the deployment. What should be the workaround for this?

A Virtual Machine is not available in West Europe to service your Request right now, your Request is being assigned to a Virtual Machine in Central US. You may experience slower execution than normal during certain phases of your Build or Release. For example, downloading source code or build artifacts may be slower than usual during this Request.


Solution

  • Consider creating one or more Virtual Machines (e.g. B-series):

    • Install the Agent (configured to run as a service or daemon)
    • Add prerequistites (.NET Fx /dotnet core, SF SDK)
    • Configure backup
    • Use this from your pipeline.

    This way you'll have faster builds and releases.