简体   繁体   中英

Azure DevOps deployment into on premises machine

I have a client that want us to do a deployment into their on premises machine. However, they are not given me much information about the server it self and want to know what they need to do in the server.

First, I asked them to allow some IPs as per this documentation , and also to run the Registration script (PowerShell) generated by the DevOps deployment pool.

I am not sure if the script alone will work without the IPs enabled or if I need both.

The Azure DevOps agent only talks over HTTPS to Azure DevOps. The communication is one-way: The agent talks to Azure DevOps. Azure DevOps does not open up a connection to the machine.

As long as the machines can talk to Azure DevOps, you should be fine.

There may be additional configuration necessary depending on what you want to actually do with the machine from a deployment perspective, but there's no way anyone can help you with that because you didn't mention what a deployment to that machine may look like.

This doc demonstrates how to deploy to Azure VMs using deployment groups in Azure Pipelines.

Similarly, if you create a deployment group locally, and then use IIS Web App Deploy task in release pipeline then you could deploy into local machine.
在此处输入图像描述

See: Is it possible to connect azure pipelines to on premise servers? and https://levelup.gitconnected.com/automating-deployments-to-on-premis-servers-with-azure-devops-bb0e6cac4656 for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM