Training
Certification
Microsoft Certified: Azure for SAP Workloads Specialty - Certifications
Demonstrate planning, migration, and operation of an SAP solution on Microsoft Azure while you leverage Azure resources.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
There are various reasons why you may want to move your existing Azure resources from one region to another. You may want to:
This article describes how to relocate your Azure Event Grid resources to another Azure region.
The high-level steps are:
Export the custom topic resource to an Azure Resource Manager template.
Important
Only the custom topic is exported to the template. Any subscriptions for the topic aren't exported.
Use the template to deploy the custom topic to the target region.
Create subscriptions manually in the target region. When you exported the custom topic to a template in the current region, only the topic is exported. Subscriptions aren't included in the template, so create them manually after the custom topic is created in the target region.
Verify the deployment. Verify that the custom topic is created in the target region.
To complete the move, delete custom topic from the source region.
To get started, export a Resource Manager template for the custom topic.
Sign in to the Azure portal.
In the search bar, type Event Grid topics, and select Event Grid Topics from the results list.
Select the topic that you want to export to a Resource Manager template.
On the Event Grid Topic page, select Export Template under Settings on the left menu, and then select Download on the toolbar.
Important
Only the topic is exported to the template. Subscriptions for the topic aren't exported. So, you need to create subscriptions for the topic after you move the topic to the target region.
Locate the .zip file you downloaded from the portal, and unzip that file to a folder of your choice. This zip file contains template and parameters JSON files.
Open the template.json in an editor of your choice.
Update location
for the topic resource to the target region or location. To obtain location codes, see Azure locations. The code for a region is the region name with no spaces, for example, West US
is equal to westus
.
"type": "Microsoft.EventGrid/topics",
"apiVersion": "2020-06-01",
"name": "[parameters('topics_mytopic0130_name')]",
"location": "westus"
Save the template.
Deploy the template to create a custom topic in the target region.
Select an Azure subscription.
Select an existing resource group in the target region or create one.
For Region, select the target region. If you selected an existing resource group, this setting is read-only.
For the topic name, enter a new name for the topic.
Select Review + create at the bottom of the page.
On the Review + create page, review settings, and select Create.
After the deployment succeeds, select Go to resource.
Confirm that you see the Event Grid Topic page for the custom topic.
Follow steps in the Route custom events to a web endpoint to send events to the topic. Verify that the webhook event handler is invoked.
To complete the move, delete the custom topic in the source region.
If you want to start over, delete the topic in the target region, and repeat steps in the Prepare and Recreate sections of this article.
To delete a custom topic by using the Azure portal:
To delete the resource group that contains the custom topic by using the Azure portal:
Training
Certification
Microsoft Certified: Azure for SAP Workloads Specialty - Certifications
Demonstrate planning, migration, and operation of an SAP solution on Microsoft Azure while you leverage Azure resources.
Documentation
Microsoft.EventHub/namespaces 2023-01-01-preview - Bicep, ARM template & Terraform AzAPI reference
Azure Microsoft.EventHub/namespaces syntax and properties to use in Azure Resource Manager templates for deploying the resource. API version 2023-01-01-preview