简体   繁体   中英

Clone azure app service from one subscription to another under the same tenant

We are trying to clone or restore AppServices from a stable environment in Azure while provisioning new environments. The stable environment is in one Subscription but the new environments to be created are in another subscription. Both subscriptions are in the same tenant. Ideally I would like to clone the AppServices from the stable envs when provisioning new environments instead of back/restore. Is there any way through ARM templates or Powershell to clone an AppService under one subscription to another subscription under the same Tenant?

Of course you could do it with ARM templates:

  1. Export template from the web app under your source subscription and deploy it to another subscription. 在此处输入图像描述

  1. Here is an official tutorial about Move to different subscription under one tenant. You could clone your web app and move one of them to another subscription. 在此处输入图像描述

  1. You could backup your website content, download from storage account, and deploy to another subscription.

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