Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing Azure Resource Group location

Tags:

I have a setup in azure with a bunch of resources combined in a resource group. I want my services to be located in west-europe, so all my resources are there (where possible)

I just noticed that when creating the resource group, i accidentally used West US.

So the current setup is:

Resource Group 1 (West US)

  • App Service 1 (West Europe)
  • App Service 2 (West Europe)
  • SQL Server (West Europe)
  • Storage account (West Europe)
  • ... (West Europe)

Can I change the location of the resource group without having to create a new one and migrate everyting?

And maybe more importantly: Should i change the location or does it not impact anything?

Thanks!

like image 922
Kevin Avatar asked May 19 '16 08:05

Kevin


People also ask

Can we move resource group in Azure?

You can move Azure resources to either another Azure subscription or another resource group under the same subscription. You can use the Azure portal, Azure PowerShell, Azure CLI, or the REST API to move resources. To learn more, see Move resources to a new resource group or subscription.

How do I move an Azure resource group to another account?

Go to the Resource groups blade in the Azure portal and then navigate to the particular resource group. Step 2 – Click on Move button and then select Move to another subscription option. Step 3 – Next in the resources to move screen, review the resources that are to be moved over which are all automatically selected.

How do I change my location in Azure?

You cannot change the location of an app service plan, regardless of subscription type. You simply need to create a new app service plan in the region you want, and then redeploy your code.

What is resource Group location in Azure?

A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group.


2 Answers

You can't change the location of a resource group.

It wouldn't matter where your resource group is created. It is just a logical container of resources inside it.

Your resources inside a resource group need not be in the same region as that of the resource group. They can be in any region where the resource is supported.

like image 113
Gaurav Mantri Avatar answered Oct 27 '22 00:10

Gaurav Mantri


You cannot change the location of the resource group, also moving a resource only moves it to a new resource group. The new resource group may have a different location, but that does not change the location of the resource. You could refer to Move resources to new resource group or subscription for details.

like image 26
Steven Avatar answered Oct 27 '22 01:10

Steven