I have two Azure web apps that are in the same resource group but have two different app service plans.
web-app-1, in resource group web-app-group, has app service plan web-app-1-plan
web-app-2, in resource group web-app-group, has app service plan web-app-2-plan
I created a new app service plan called “web-app-3-plan”, in resource group web-app-group, which was created after the two web apps. Now I want to move both web apps into the new app service plan. All three plans are in the same region (West US) but have different pricing tiers (which shouldn’t matter).
When I go to web-app-1 and select “Change App Service plan” I only see the current plan in the dropdown list and an option to create a new plan (that starts with ASP-).
How do I move my web apps into “web-app-3-plan”, my new plan?
Thanks for contributing to Stack Overflow.
I tried to replicate your issue, and I was able to move the Web App to New ASP(App Service Plan) without any issues. Attached the screenshot for the same.
And after investigating your issue further,
The reason this might be occurring is because the App Service Plan is tied to a different webspace than the original App Service Plan of the web app, even though the newly created App Service Plan was moved to the same Resource Group.
What you can do to resolve the issue is, delete the newly created App Service Plan, and then create the new App Service Plan in the same Resource Group rather than moving it to the Resource Group( if you have done it) . This will ensure the App Service Plans are tied to the same webspace (on the same Resource Group and the same region).
Please refer to the below doc for more reference : Move an App to another App Service Plan
I hope this information helps.
Related
We want to change the App Service Plan of an existing Azure Web App, from Isolated Service Plan to Isolated "v2" Service Plan. There are no changes in Subscription, Resource Group or Region. One condition for us is, we want to continue using same the Web App with the Plan alone changed. Please let me if this possible and how can we change this.
I could see the "Change App Service Plan" option in Azure Portal but I am unable to exactly find it out regarding the Plan change by dabbling in it.
We are able to create the required Isolated V2 Plan separately but we are unable to switch the Web App to the new Plan so far.
Referring the Microsoft documentation, I keep coming across that different kinds of App Service Environments(ASE) are used for the above Plans, it is not clear due to different ASEs, the Plan change is possible or not.
For quick reference, I have sketched out my query below:
Azure Web App : Web-App-1
App Service Plan : Isolated Service Plan
to
Azure Web App : Web-App-1
App Service Plan : Isolated V2 Service Plan
(Same Region, Subscription and Resource Group)
when you try and change to the new ASP, Azure will perform a check to see if it is a valid move, so as long as you can see it in the destination combo box uner the change app service plan option you can try and let azure evaulate if the move is possible.
If you cannot see it as a destination then you might be able to clone the ASP because the two ASP's you have might be in a different webspace which you cannot do anything about.
Change App Service Plan from Isolated to Isolated V2 Plan for a Web App
I keep coming across that different kinds of App Service Environments(ASE) are used for the above Plans, it is not clear due to different ASEs, the Plan change is possible or not.
The private environment used with an Isolated plan is called the App Service Environment v2 and with Isolated v2 Service Plan is called the App Service Environment v3.
Apps can only move between plans that are created in the same webspace, where webspace is a internal deployment unit of App Service Plan.
Apps cannot be moved between plans in different App Service Environments.
Make sure you created the App Service Environment v3 to change your web app to Isolated V2 SKU.
To know more information on changing the app service plans along with its SKU Sizes and its limitations, please refer this Microsoft Documentation and regarding the app service environments versions of Isolated Plans, refer App Service pricing.
I have two web apps in different Resource Groups. I want to use a shared App Service Plan. Please guide how this can be done, When I try to use "Change Service Plan" I can not see another resource group service plan. Both Resource groups are in same region. When I try to create a App Service Plan I can not see option as a shared resource.
I am too late for the show, but still - it's possible to at least CREATE an App Service with App Service Plan from another resource group (not geographical region though).
You can pick up some details from here:
https://praveenkumarsreeram.com/2019/09/11/share-azure-app-service-plan-across-resource-groups/
It is not possible to move App Service to App Service plan in another resource group.
You can move an app to another App Service plan, as long as the source
plan and the target plan are in the same resource group and
geographical region.
Additional Info:
Azure deploys each new App Service plan into a deployment unit,
internally called a webspace. Each region can have many webspaces, but
your app can only move between plans that are created in the same
webspace. An App Service Environment is an isolated webspace, so apps
can be moved between plans in the same App Service Environment, but
not between plans in different App Service Environments.
You can’t specify the webspace you want when creating a plan, but it’s
possible to ensure that a plan is created in the same webspace as an
existing plan. In brief, all plans created with the same resource
group and region combination are deployed into the same webspace. For
example, if you created a plan in resource group A and region B, then
any plan you subsequently create in resource group A and region B is
deployed into the same webspace. Note that plans can’t move webspaces
after they’re created, so you can’t move a plan into “the same
webspace” as another plan by moving it to another resource group.
Ref: https://learn.microsoft.com/en-us/azure/app-service/app-service-plan-manage#move-an-app-to-another-app-service-plan
I have an App Service plan on which we have deployed some applications.
For the needs of reorganizing server and applications I wanted to rename the service plan which was in a standard resource group "Default-Web-WestEurope-blablabla".
Given that an App service plan cannot be renamed I have during the time created another resource group and gradually moved all my apps and services (Storage, Database ,etc.) inside the new resource group. Also the old App Service plan has been moved to the new resource group.
The scope was to have everything inside a new resource group and then create a new App Service plan where to move all the app services in the previous one by using the "Change App Service plan feature".
However I have discovered, after having created a new App service plan, that when I try to hit the "Change App Service plan feature" option, the answer is "No App Service plan found"!
How can I move all the resource between the two App Service plan?
EDIT:
I have tried by using Powershell and I get a a reason.
Set-AzureRmWebApp : Cannot change the site xxxxx to the App Service
Plan XXXXX due to hosting constraints. At line:1 char:1
In other words this operation can't be done if the original app service plan is in a different web space.
Yes, you are right. There is a limit when move an app to a different App Service plan. The resource group in the limit is the initial resource group when you create your App Service Plan.
Only valid plans (in the same resource group and geographical location) are shown.
For your issue, you could create a new App Service Plan in your original resource group. After finished the web app move operation, you could move all the resources to the new resource group.
If you moved your web app to the new resource group, Web App backup and restore is a good choice to copy all the contents and configurations from your old Web App to a new Web App.
In my case I just deleted the resources causing this issue and redeployed those resources.
Apologies I am quite new to Azure.
I have setup an Azure RG but for some reason the App Service and App Service Plan are located in South Central US. I think it may be slowing down the performance? How do I move everything to use UK South?
For some reason I was thinking about moving the resources to the other resource group, not the other region. So the answer is: No. You can't do that for WebApps yet. You would have to create a new WebApp and new App Service Plan and deploy your code there.
How can I modify the Location of my web site in Windows azure?
If you have source code, It is the simplest way to redeploy your application to another new web app. If you do not have source code, please try to use clone via the following steps:
1) create a new web service plan with region "UK Source", select pricing tier as P1 at least (Clone app is a feature that is only available to apps hosted on Premium App Service Plans. You can upgrade your App Service Plan to get access to this feature).
2) Clone Web App in Azure portal. Refer to more information at this article. Choose the same resource group, select app service plan we created at step 1.
3) delete unused App service plan
4) Change App service plan that we created at step 1.
I'm currently use azure in trial mode. I created a web app that use "South Central US" location. As far as I could see when I created this, I could not select anything else than South Central US, I would like to change this to north Europe. How do I do that?
Recently, I meet the same question. After I investigated the azure app service documents, I found I can use "Clone APP" feature to conveniently deploy my web app to another region.
Choose "Change APP Service Plan", and add a new premium service plan (So that I can use "Clone APP" feature).
Choose "Clone APP", then I can clone my app to another region.
Change the service plan to original and delete the other service plan.
You can't simply pick a new region for your web app: It resides within an app service plan within a given region.
To deploy into a different region, you'd need to create a new app service plan in that target region, then redeploy your app there. If you're taking advantage of built-in source code management (e.g. github), redeployment should be fairly straightforward.
Your question around which regions your subscription exposes is off-topic: That's something you'll need to open a billing support ticket and discuss directly with Azure support about.
It is very simple to change the location instead of cloning or redeploy your app. Here is the process to change app service plan for the existing and running Web app
Step 1:
Create new App service plan as your preferred location and pricing tier
Step 2:
Select change app service plan under your web app settings blade - app service section and choose your available app service plan just you created in step 1. now it updates your plan.
Step 3:
Delete the previous app service plan from your resource group, otherwise charges will apply for the previous associated app service plan.