Skip to content

Commit 74a276a

Browse files
bryanrichterSteve Danielson
andauthored
Update to our documentation - get rid of *most* wildcard URLs (#7959)
* Update to our documentation - get rid of *most* wildcard URLs * Acrolinx updates * Formatting * Formatting * Formatting * Update Managed DevOps Pool agent download location * Revert accidental commit * Add mdp agent binaries location note per Gaurav --------- Co-authored-by: Steve Danielson <[email protected]>
1 parent f155779 commit 74a276a

File tree

1 file changed

+23
-26
lines changed

1 file changed

+23
-26
lines changed

docs/managed-devops-pools/configure-networking.md

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Once the network update completes, newly created resource in the pool will use t
9292

9393
#### [ARM template](#tab/arm/)
9494

95-
If you are using ARM templates, add a `networkProfile` property in the `fabricProfile` section, then add a `subnetId` property under `networkProfile` with the resource ID of your subnet.
95+
If you're using ARM templates, add a `networkProfile` property in the `fabricProfile` section, then add a `subnetId` property under `networkProfile` with the resource ID of your subnet.
9696

9797
```json
9898
{
@@ -142,30 +142,27 @@ The following example shows the `networkProfile` section of the **fabric-profile
142142

143143
## Restricting outbound connectivity
144144

145-
If you have systems in place on your network (NSG, Firewall etc.) which restrict outbound connectivity, you need to ensure that the following domains can be accessed, otherwise your Managed DevOps Pool will not be functional.
146-
All of them are HTTPS, unless otherwise stated.
147-
148-
* Highly secure endpoints that our service depends on:
149-
* `*.prod.manageddevops.microsoft.com` - Managed DevOps Pools endpoint.
150-
* `rmprodbuilds.azureedge.net` - Worker binaries. The agent portion of the worker binaries is downloaded from `rm-agent.prod.manageddevops.microsoft.com` (formerly downloaded from `agent.prod.manageddevops.microsoft.com`) which is covered by the previous required `*.prod.manageddevops.microsoft.com` entry.
151-
* `vstsagentpackage.azureedge.net` and `https://download.agent.dev.azure.com` - Azure DevOps agent CDN location
152-
* `*.queue.core.windows.net` - Worker queue for communicating with Managed DevOps Pools service
153-
* `server.pipe.aria.microsoft.com` - Common client side telemetry solution
154-
* `azure.archive.ubuntu.com` - Provisioning Linux machines - this is HTTP (port 80), not HTTPS (port 443)
155-
* `www.microsoft.com` - Provisioning Linux machines
156-
* `security.ubuntu.com` - Provisioning Linux machines
157-
* Less secure, more open endpoints that our service depends on:
158-
* Needed by our service:
159-
* `packages.microsoft.com` - Provisioning Linux machines
160-
* `ppa.launchpad.net` - Provisioning Ubuntu machines
161-
* `dl.fedoraproject.org` - Provisioning certain Linux distros
162-
* Needed by Azure DevOps agent:
163-
* `dev.azure.com`
164-
* `*.services.visualstudio.com`
165-
* `*.vsblob.visualstudio.com`
166-
* `*.vssps.visualstudio.com`
167-
* `*.visualstudio.com`
168-
These entries are the minimum domains required. If you have any issues, see [Azure DevOps allowlist](/azure/devops/organizations/security/allow-list-ip-url) for the full list of domains required.
145+
If you have systems in place on your network (NSG, Firewall, etc.) that restrict outbound connectivity, certain endpoints need to be allowlisted in order to fully support Managed DevOps pools. These endpoints are divided into globally required endpoints (necessary on any Managed DevOps pools machine) and endpoints required for certain scenarios. All endpoints are HTTPS, unless otherwise stated.
146+
147+
* Required Endpoints for Managed DevOps Pool startup - Without allowlisting these endpoints, machines will fail to come online as part of our service, and you will not be able to run pipelines on the Managed DevOps Pool
148+
* `*.prod.manageddevops.microsoft.com` - Managed DevOps Pools endpoint, used to communicate with the Managed DevOps Pools service.
149+
* `rmprodbuilds.azureedge.net` - Used to download the Managed DevOps Pools worker binaries and startup scripts. (The agent portion of the worker binaries is downloaded from `rm-agent.prod.manageddevops.microsoft.com` (formerly downloaded from `agent.prod.manageddevops.microsoft.com`) which is covered by the previous required `*.prod.manageddevops.microsoft.com` entry.)
150+
* `*.queue.core.windows.net` - Worker queue for communicating with Managed DevOps Pools service.
151+
* Required Endpoints for connecting to Azure DevOps - without allowlisting these endpoints, machines may come online and even go to an "allocated" state, but will fail to communicate with ADO as either the VSTS task agent can't connect, or it can't start.
152+
* `vstsagentpackage.azureedge.net` and `download.agent.dev.azure.com` - Azure DevOps agent CDN location, used to download Azure DevOps agent
153+
* `dev.azure.com` - Required to handle communication with Azure DevOps
154+
* Preparing Linux machines - these endpoints are required to spin up Ubuntu machines, but are not necessary if a pool is only using Windows. As part of setting up the Azure DevOps Task agent, a few required packages are added and an apt-get is run, which will fail without these being allowlisted.
155+
* `azure.archive.ubuntu.com` - Provisioning Linux machines - this is HTTP (port 80), not HTTPS (port 443)
156+
* `www.microsoft.com` - Provisioning Linux machines
157+
* `security.ubuntu.com` - Provisioning Linux machines
158+
* `packages.microsoft.com` - Provisioning Linux machines
159+
* `ppa.launchpad.net` - Provisioning some specific Linux distros
160+
* `dl.fedoraproject.org` - Provisioning certain Linux distros
161+
* Optional, but required for specific Azure DevOps features to work on your pipelines. In the following set, the wildcard can be replaced with the specific Azure DevOps organization hosting your pipeline. For example, if your organization is named `contoso`, you can use `contoso.services.visualstudio.com` instead of `*.services.visualstudio.com`. These entries are the minimum domains required. If you have any issues, see [Azure DevOps allowlist](/azure/devops/organizations/security/allow-list-ip-url) for the full list of domains required.
162+
* `*.services.visualstudio.com`
163+
* `*.vsblob.visualstudio.com` - Used for Artifacts, both uploading and consuming
164+
* `*.vssps.visualstudio.com` - Used for authentication with Azure DevOps for certain features
165+
* `*.visualstudio.com`
169166
* Azure related endpoints:
170167
Azure VMs may route traffic to certain Azure features through your subnet. For these requests, you have the option of routing requests through Azure directly, or enabling access through your network.
171168
1. [Configuring Azure traffic to run through Service Endpoints](/azure/virtual-network/virtual-network-service-endpoints-overview)
@@ -193,7 +190,7 @@ If you configured a proxy service on your image and want your workloads running
193190

194191
For Windows, these environment variables should be system environment variables, and for Linux these variables should be in the **/etc/environment** file. Setting these system variables incorrectly or without a configured proxy service on the image causes provisioning of new agents to fail with network connectivity issues.
195192

196-
If you are migrating from Azure Virtual Machine Scale Set agents and are already using the proxy environment variables on your image, as described in [Azure Virtual Machine Scale Set agents- Customizing Pipeline Agent Configuration](/azure/devops/pipelines/agents/scale-set-agents#customizing-pipeline-agent-configuration), no changes should be required.
193+
If you're migrating from Azure Virtual Machine Scale Set agents and are already using the proxy environment variables on your image, as described in [Azure Virtual Machine Scale Set agents- Customizing Pipeline Agent Configuration](/azure/devops/pipelines/agents/scale-set-agents#customizing-pipeline-agent-configuration), no changes should be required.
197194

198195
## See also
199196

0 commit comments

Comments
 (0)