Deploy with pipelines to endpoint of private link

nishikata-h 21 Reputation points
2020-09-15T08:39:45.377+00:00

Hello everyone.
I'm currently using two App Services to build a frontend and backend configuration system.

Communication from frontend to backend will be performed for private endpoint by creating a private link with backend.

Deploying to App Serivce was automated using Pipelines, but after creating a private endpoint on the backend, it now fails.

Since access to the backend is no longer possible from the Internet, I can guess that private communication is restricted to private, but I do not know how to deploy to this private endpoint.

If anyone knows about it, I would like to borrow your wisdom.

Alternatively, the "mvn azure-webapp: deploy" command from your local PC will succeed, so if you know how to execute this command in the pipeline, you can let me know.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,909 questions
{count} votes

Accepted answer
  1. brtrach-MSFT 15,256 Reputation points Microsoft Employee
    2020-09-17T06:07:05.58+00:00

    @nishikata-h Please take a look at the below document, which calls out the need to add the necessary IP ranges that need to be added in the NSG of the network subnet that your private endpoint is in to allow the traffic from Azure DevOps.

    Please let us know if this resolves the issue. Otherwise we can continue assiting you. We look forward to your reply.

    https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#networking)
    JSON file that contains the IP addresses, which is updated weekly. (https://www.microsoft.com/en-us/download/details.aspx?id=56519)


2 additional answers

Sort by: Most helpful
  1. nishikata-h 21 Reputation points
    2020-09-23T07:07:10.847+00:00

    thanks brtrachMSFT-0711

    I did my best to solve it.

    I had to overcome some problems to solve this problem.


  2. Alessandro Surace 11 Reputation points
    2021-02-17T14:28:36.66+00:00

    Another solution would be to create a VPN or xpress route between azure and your data center and run a self hosted agent pool in such network.
    In this case the DevOps pipeline should be configured to use such agent pool and the private endpoint should be reachable.
    BR