1
votes

What options are there to deploy a web application to a heavily locked down machine without WinRM?

The situation is as followed.

  1. Code is in Azure DevOps cloud
  2. Release server is in a semi-secured area with access to download artifacts from DevOps
  3. Target server is in a very locked down zone.

If release server can only copy files to a specific temporary folder target machine, is there a way to do deployment to it without WinRM?

My initial thought is to have a script on the Target machine to watch for the artifact showing up and deploy it. I want to know if there's a better way or if that's my best option?

1
Hi friend, is there any update for this issue? Just checking in to see if you need any further help :) - LoLance

1 Answers

1
votes

If release server can only copy files to a specific temporary folder target machine, is there a way to do deployment to it without WinRM?

If you've read document Deploy your Web Deploy package to IIS servers using WinRM, you would find the notice below the title:

A simpler way to deploy web applications to IIS servers is by using deployment groups instead of WinRM.

So you can consider using Deployment Group as a simpler direction. And here're some discussions(#1, #2) which may help you to do a choice between WinRM and Deployment Group depending on your needs.

Update1:

My initial thought is to have a script on the Target machine to watch for the artifact showing up and deploy it. I want to know if there's a better way or if that's my best option?

In your specific scenario, it's one choice when the target server cannot have line of sights to the Azure DevOp/TFS server and you can't(or maybe not want to) use WinRM.