none
where is a build/solution deployed in Azure Web/Worker Role. RRS feed

  • Question

  • We deploy our Visual Studio Solution (asp.net web solution, deployed on web role) either using directly Visual Studio or using Powershell. The solution is deployed somewhere on Azure Cloud. Azure Cloud Automation creates a web role instance and installs the solution on it, as per my understanding.

    I am wondering where is the solution/build deployed after we deploy it in Azure?  Can any please tell me the complete flow.


    Regards Restless Spirit

    Thursday, July 28, 2016 11:02 AM

Answers

  • Yes you are right, when you do the deployment to Azure cloud services from VS wizard then it uploads the cspkg and csdef files 'somewhere' in the storage account you mentioned and then deploys to your cloud service by referring to that location. Now this location is willingly kept hidden from end users as you wont want to access it directly, would you?

    If you wish to do the deployment by keeping cspkg and csdef files in your control then the best option is - upload those to your own storage account inside some container like 'manual deployments' and then deploy it from there.


    Bhushan | Blog | LinkedIn | Twitter

    Monday, August 1, 2016 8:43 AM

All replies

  • Hello,

    Greetings from Microsoft Azure!

    You can configure your Visual Studio Team Services team projects to automatically build and deploy to Azure web apps or cloud services. 

    For more information, kindly refer “Continuous delivery to Azure using VSTS”.

    And also, check “How to deploy only worker/web role in Azure”.

    Hope this helps.

     

    Regards,

    Pradeep

     

    Kindly click "Mark as Answer" on the post that helps you, this can be beneficial to other community members reading the thread and also “Vote as Helpful”.

    Friday, July 29, 2016 5:54 AM
    Moderator
  • Yes you are right, when you do the deployment to Azure cloud services from VS wizard then it uploads the cspkg and csdef files 'somewhere' in the storage account you mentioned and then deploys to your cloud service by referring to that location. Now this location is willingly kept hidden from end users as you wont want to access it directly, would you?

    If you wish to do the deployment by keeping cspkg and csdef files in your control then the best option is - upload those to your own storage account inside some container like 'manual deployments' and then deploy it from there.


    Bhushan | Blog | LinkedIn | Twitter

    Monday, August 1, 2016 8:43 AM
  • Dear Bhushan,

    there is one more question on this, how often Azure gets the build from storage and build the virtual machine.


    Regards Restless Spirit

    Wednesday, August 3, 2016 8:23 AM
  • Azure will deploy the build every-time on your role instance whenever it gets restarted (it may be a manual restart or system restart)

    Bhushan | Blog | LinkedIn | Twitter

    Wednesday, August 3, 2016 10:28 AM