Skip to content

Commit aaa56b8

Browse files
Merge pull request #285091 from anaharris-ms/reloc-vmss
Relocation- VMSS
2 parents d8c9cdc + 2d238e7 commit aaa56b8

File tree

7 files changed

+129
-24
lines changed

7 files changed

+129
-24
lines changed

articles/operational-excellence/TOC.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,24 @@
1616
href: relocation-event-hub.md
1717
- name: Azure Event Hubs Cluster
1818
href: relocation-event-hub-cluster.md
19+
- name: Azure Load Balancer
20+
href: ../load-balancer/move-across-regions-external-load-balancer-portal.md?toc=/azure/operational-excellence/toc.json
1921
- name: Azure Site Recovery (Recovery Services vaults)
2022
href: relocation-site-recovery.md
23+
- name: Azure Virtual Machine Scale Sets
24+
href: relocation-virtual-machine-scale-sets.md
25+
- name: Azure Virtual Network
26+
href: relocation-virtual-network.md
2127
- name: Azure Virtual Machines
2228
items:
2329
- name: Move Azure VMs to another region
2430
href: ../resource-mover/tutorial-move-region-virtual-machines.md?toc=/azure/operational-excellence/toc.json
2531
- name: Move encrypted Azure VMs to another region
2632
href: ../resource-mover/tutorial-move-region-encrypted-virtual-machines.md?toc=/azure/operational-excellence/toc.json
33+
- name: Virtual Machine Scale Sets
34+
href: ./relocation-virtual-machine-scale-sets.md
35+
- name: Network Security Groups (NSG)
36+
href: relocation-virtual-network-nsg.md
2737
- name: Azure Virtual Network
2838
items:
2939
- name: Virtual Network
55.8 KB
Loading
49.3 KB
Loading

articles/operational-excellence/overview-relocation.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ The following tables provide links to each Azure service relocation document. Th
4545
[Azure Event Hubs](relocation-event-hub.md)| ✅ | ❌| ❌ |
4646
[Azure Event Hubs Cluster](relocation-event-hub-cluster.md)| ✅ | ❌ | ❌ |
4747
[Azure Key Vault](./relocation-key-vault.md)| ✅ | ✅| ❌ |
48+
[Azure Load Balancer](../load-balancer/move-across-regions-external-load-balancer-portal.md)| ✅ | ✅| ❌ |
4849
[Azure Site Recovery (Recovery Services vaults)](relocation-site-recovery.md)| ✅ | ✅| ❌ |
50+
[Azure Virtual Machines]( ../resource-mover/tutorial-move-region-virtual-machines.md?toc=/azure/operational-excellence/toc.json)| ❌ | ❌| ✅ |
51+
[Azure Virtual Machine Scale Sets](./relocation-virtual-machine-scale-sets.md)|❌ |✅ | ❌ |
4952
[Azure Virtual Network](./relocation-virtual-network.md)| ✅| ❌ | ✅ |
5053
[Azure Virtual Network - Network Security Groups](./relocation-virtual-network-nsg.md)|✅ |❌ | ✅ |
5154

@@ -63,7 +66,7 @@ The following tables provide links to each Azure service relocation document. Th
6366
[Azure Container Registry](relocation-container-registry.md)|✅ | ✅| ❌ |
6467
[Azure Cosmos DB](relocation-cosmos-db.md)|✅ | ✅| ❌ |
6568
[Azure Database for MariaDB Server](/azure/mariadb/howto-move-regions-portal?toc=/azure/operational-excellence/toc.json)|✅ | ✅| ❌ |
66-
[Azure Database for MySQL Server](/azure/mysql/howto-move-regions-portal?toc=/azure/operational-excellence/toc.json)✅ | ✅| ❌ |
69+
[Azure Database for MySQL Server](/azure/mysql/howto-move-regions-portal?toc=/azure/operational-excellence/toc.json)|✅ | ✅| ❌ |
6770
[Azure Database for PostgreSQL](./relocation-postgresql-flexible-server.md)| ✅ | ✅| ❌ |
6871
[Azure Event Grid domains](relocation-event-grid-domains.md)| ✅ | ❌| ❌ |
6972
[Azure Event Grid custom topics](relocation-event-grid-custom-topics.md)| ✅ | ❌| ❌ |
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
---
2+
title: Relocate Azure Virtual Machine Scale Sets to another region
3+
description: Learn how to relocate Azure Virtual Machine Scale Sets to another region
4+
author: anaharris-ms
5+
ms.author: anaharris
6+
ms.reviewer: anaharris
7+
ms.date: 08/20/2024
8+
ms.service: azure-virtual-machine-scale-sets
9+
ms.topic: how-to
10+
ms.custom:
11+
- subject-relocation
12+
# Customer intent: As an administrator, I want to move Azure Virtual Machine Scale Sets to another region.
13+
---
14+
15+
16+
# Relocate Azure Virtual Machine Scale Sets to another region
17+
18+
This article covers the recommended approach, guidelines, and practices for relocating Virtual Machine Scale Sets to another region.
19+
20+
## Prerequisites
21+
22+
Before you begin, ensure that you have the following prerequisites:
23+
24+
- If the source VM supports availability zones, then the target region must also support availability zones. To see which regions support availability zones, see [Azure regions with availability zone support](../reliability/availability-zones-service-support.md#azure-services-with-availability-zone-support).
25+
26+
- The subscription in the destination region needs enough quota to create the resources. If you exceeded the quota, request an increase. For more information, see [Azure subscription and service limits, quotas, and constraints](..//azure-resource-manager/management/azure-subscription-service-limits.md).
27+
28+
- Consolidate all the associated extensions from source Virtual Machine Scale Set, as some need to be reconfigured after relocation.
29+
30+
- Confirm if the VM image is a part of VM image gallery. Gallery resources need to be replicated to the target region.
31+
32+
- Capture the list of resources that are being configured, such as capturing diagnostic logs. This is important with respect to prioritization and sequencing.
33+
34+
- Ensure that the following services are available and deployed in the target region:
35+
36+
- [Log Analytics Workspace](./relocation-log-analytics.md)
37+
- Diagnostic Virtual Machine Scale Set
38+
- [Key Vault](./relocation-key-vault.md)
39+
- [Proximity Placement Group](/azure/virtual-machine-scale-sets/proximity-placement-groups)
40+
- Public IP address
41+
- [Load Balancer](../load-balancer/move-across-regions-external-load-balancer-portal.md)
42+
- [Virtual Network](./relocation-virtual-network.md)
43+
44+
- Ensure that you have a Network Contributor role or higher in order to configure and deploy a Load Balancer template in another region.
45+
46+
- Identify the networking layout of the solution in the source region, such as NSGs, Public IPs, VNet address spaces, and more.
47+
48+
49+
50+
## Prepare
51+
52+
In this section, follow the instructions to prepare for relocating a Virtual Machine Scale Set to another region.
53+
54+
55+
1. Locate the image reference used by the source Virtual Machine Scale Set and replicate it to the Image Gallery in the target region.
56+
57+
:::image type="content" source="media\relocation\virtual-machine-scale-sets\image-replication.png" alt-text="Screenshot showing how to locate image of virtual machine.":::
58+
59+
1. Relocate the Load Balancer, along with the public IP by doing one of the following methods:
60+
61+
- *Resource Mover*. Associate Load Balancer with public IP in the source region to the target region. For more information, see [Move resources across regions (from resource group) with Azure Resource Mover](../resource-mover/move-region-within-resource-group.md).
62+
- *Export Template*. Relocate the Load Balancer along with public IP to the target region using the export template option. For information on how to do this, see [Move an external load balancer to another region using the Azure portal](../load-balancer/move-across-regions-external-load-balancer-portal.md).
63+
64+
>[!IMPORTANT]
65+
> Because public IPs are a regional resource, Azure Resource Mover re-creates Load Balancer at the target region with a new public IP address.
66+
67+
1. Manually set the source Virtual Machine Scale Set instance count to 0.
68+
69+
:::image type="content" source="media\relocation\virtual-machine-scale-sets\set-instance-count.png" alt-text="Screenshot showing how to set Virtual Machine Scale Set instance count to 0.":::
70+
71+
1. Export the source Virtual Machine Scale Set template from Azure portal:
72+
73+
1. In the [Azure portal](https://portal.azure.com), navigate to your source Virtual Machine Scale Set.
74+
1. In the menu, under **Automation**, select **Export template** > **Download**.
75+
1. Locate the .zip file that you downloaded from the portal, and unzip that file to a folder of your choice. This zip file contains the .json files that include the template and scripts to deploy the template.
76+
77+
78+
1. Edit the template:
79+
80+
1. Remove associated resources if they’re present in the template, such as Log Analytics Workspace in the **Monitoring** section.
81+
82+
1. Make any necessary changes to the template, such as updating all occurrences of the name and the location for the relocated source Virtual Machine Scale Set.
83+
84+
1. Update the parameter file with these inputs:
85+
- Source Virtual Machine Scale set `name`.
86+
- Image Gallery `Resource id`.
87+
- Virtual network `subnet Id`. Also, make the necessary ARM code changes to the subnet section so that it can call the Virtual Network `subnet Id`.
88+
- Load Balancers` resource id`, `Address id`, and `virtual network id`. Change the `value` property under `parameters`.
89+
90+
## Relocate
91+
92+
In this section, follow the steps below to relocate a Virtual Machine Scale Set across geographies.
93+
94+
1. In the target region, recreate the Virtual Machine Scale Set with the exported template by using IAC (Infrastructure as Code) tools such as Azure Resource Manager templates, Azure CLI, or PowerShell.
95+
96+
1. Associate the dependent resources to the target Virtual Machine Scale Set, such as Log Analytics Workspace in **Monitoring** section. Also, configure all the extensions that were consolidated in the [Prerequisites section](#prerequisites).
97+
98+
99+
## Validate
100+
101+
When the relocation is complete, validate the Virtual Machine Scale Set in the target region by performing the following steps:
102+
103+
- Virtual Machine Scale Set doesn't keep the same IP after relocation to new target location. However, make sure to validate the private IP configuration.
104+
105+
- Run a scripted or manual smoke test and integration test to validate that all configurations and dependent resources have been properly linked and all configured data are accessible.
106+
107+
- Validate Virtual Machine Scale Set components and integration.
108+
109+
## Related content
110+
111+
- To move registry resources to a new resource group either in the same subscription or a new subscription, see [Move Azure resources to a new resource group or subscription](../azure-resource-manager/management/move-resource-group-and-subscription.md).

articles/reliability/TOC.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,9 @@
113113
- name: Azure Key Vault
114114
href: /azure/key-vault/general/disaster-recovery-guidance?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
115115
- name: Azure Load Balancer
116-
items:
117-
- name: Availability zones
118-
href: ../load-balancer/load-balancer-standard-availability-zones.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
119-
- name: Disaster recovery
120-
href: ../load-balancer/tutorial-cross-region-portal.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
116+
href: reliability-load-balancer.md
121117
- name: Azure Storage-Disk Storage
122-
href: /azure/virtual-machines/disks-incremental-snapshots?tabs=azure-resource-manage.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
118+
href: /azure/virtual-machines/disks-high-availability?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
123119
- name: Azure Public IP
124120
href: ../virtual-network/ip-services/public-ip-addresses.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json#availability-zone
125121
- name: Azure Service Bus
@@ -209,7 +205,7 @@
209205
- name: Disaster recovery
210206
href: ../container-registry/container-registry-geo-replication.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
211207
- name: Azure Data Explorer
212-
href: /azure/data-explorer/create-cluster-database-portal?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
208+
href: /azure/data-explorer/business-continuity-overview?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
213209
- name: Azure Data Factory
214210
href: ../data-factory/concepts-data-redundancy.md?bc=%2fazure%2freliability%2fbreadcrumb%2ftoc.json&toc=%2fazure%2freliability%2ftoc.json
215211
- name: Azure Database for MySQL
@@ -222,8 +218,6 @@
222218
href: /azure/mysql/flexible-server/how-to-restore-server-portal?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json#geo-restore-to-latest-restore-point
223219
- name: Azure Database for PostgreSQL - Flexible Server
224220
href: reliability-postgresql-flexible-server.md
225-
- name: Azure Data Explorer
226-
href: /azure/data-explorer/business-continuity-overview?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
227221
- name: Azure DDoS Protection
228222
href: reliability-ddos.md
229223
- name: Azure Disk Encryption
@@ -234,8 +228,6 @@
234228
href: ./reliability-event-grid.md
235229
- name: Azure Firewall
236230
href: ../firewall/deploy-availability-zone-powershell.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
237-
- name: Azure Firewall Manager
238-
href: ../firewall-manager/quick-firewall-policy.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
239231
- name: Azure Functions
240232
href: reliability-functions.md
241233
- name: Azure Guest Configuration
@@ -246,8 +238,6 @@
246238
href: reliability-image-builder.md
247239
- name: Azure Kubernetes Service (AKS)
248240
href: /azure/aks/availability-zones?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
249-
- name: Azure Load Balancer
250-
href: reliability-load-balancer.md
251241
- name: Azure Logic Apps
252242
items:
253243
- name: Availability zones
@@ -258,8 +248,6 @@
258248
href: /azure/media-services/latest/architecture-high-availability-encoding-concept?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
259249
- name: Azure Migrate
260250
href: ../migrate/resources-faq.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json#does-azure-migrate-offer-backup-and-disaster-recovery
261-
- name: Azure Monitor - Application Insights
262-
href: ../azure-monitor/app/export-telemetry.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json#continuous-export-advanced-storage-configuration
263251
- name: Azure Monitor - Log Analytics
264252
items:
265253
- name: Availability zones
@@ -276,8 +264,6 @@
276264
href: ../private-link/availability.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
277265
- name: Azure Route Server
278266
href: ../route-server/route-server-faq.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
279-
- name: Azure SQL Server Registry
280-
href: /sql/sql-server/end-of-support/sql-server-extended-security-updates?preserve-view=true&view=sql-server-ver15?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json#configure-regional-redundancy
281267
- name: Azure Stream Analytics
282268
href: ../stream-analytics/geo-redundancy.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
283269
- name: Azure Storage - Blob Storage
@@ -294,8 +280,6 @@
294280
href: ../firewall/deploy-availability-zone-powershell.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
295281
- name: Azure Web Application Firewall
296282
href: ../application-gateway/application-gateway-faq.yml?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json#how-do-i-achieve-a-disaster-recovery-scenario-across-datacenters-by-using-application-gateway
297-
- name: Microsoft Entra Domain Services
298-
href: ../active-directory-domain-services/tutorial-create-replica-set.md?toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json
299283
- name: Strategic services
300284
items:
301285
- name: Azure API Center

0 commit comments

Comments
 (0)