WebApp:`az webapp deploy --src-url` should use ARM Proxy
See original GitHub issueThe command az webapp deploy
has an optional parameter, --src-url
, where the user can specify a remote URL for the file they want to deploy to their Web App. If this parameter is used, the CLI should use the ARM proxy API for the deployment request so that if the user has any networking restrictions such as Private Endpoints or ILB ASEs, then this deployment request will go through the management plane and circumvent any networking restrictions. Today the CLI sends the request directly to Kudu, and does not use this ARM proxy.
- Swagger PR with the API spec: https://github.com/Azure/azure-rest-api-specs/pull/17408/files
- Python SDK release request: https://github.com/Azure/sdk-release-request/issues/2397
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Deploy to an Azure Web App with a private endpoint
This call will go via ARM proxy and won't be blocked by your private endpoint setup. Save this answer.
Read more >Azure App Service deploy v4 task - Microsoft Learn
Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, . ... task: AzureRmWebAppDeployment@4 inputs: ConnectionType: 'AzureRM' ...
Read more >Deploying a secure, resilient site with a custom domain
One or more instances of your Web App in multiple regions with Azure AD ... I will be using Azure CLI throughout the...
Read more >Building deployment pipelines for Azure Function proxies and ...
The ARM template will resolve the key during deployment for ... to the Logic App backend URL which is determined during deployment time....
Read more >Getting Started with Azure Static Web Apps - Blog
What does it take to deploy a modern JavaScript web app? Your initial response might be, “Copy the files up to the server...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
In case anyone is still struggling with this, I managed to deploy a simple nodejs app to an app service using private endpoints via the workaround az rest command. You may reference this deployment yaml file: https://github.com/jlieow/node-hello/blob/master/.github/workflows/deploy_via_storage_account.yml
The example follows the guide here: https://azure.github.io/AppService/2021/03/01/deploying-to-network-secured-sites-2.html The az rest command was fixed thanks to this stackoverflow thread here: https://stackoverflow.com/questions/71558607/deploy-to-an-azure-web-app-with-a-private-endpoint
Hi @mpalmahsf. I have not tried it myself but I don’t see why it wouldn’t work. You could try depositing your artifacts into a location which generates a url download link like Google Drive and run the az run command with that url to see if it works.
I tried googling but I don’t think GitHub provides a url to download artifacts during the build process natively which I think is the reason why the guide uses storage accounts.