title | description | ms.topic | ms.date | author | ms.author | ms.service | ms.custom |
---|---|---|---|---|---|---|---|
Migrate Azure integration resource, Azure Germany to global Azure |
This article provides information about migrating your Azure integration resources from Azure Germany to global Azure. |
article |
10/16/2020 |
gitralf |
ralfwi |
germany |
bfmigrate, devx-track-azurepowershell |
[!INCLUDE closureinfo]
This article has information that can help you migrate Azure integration resources from Azure Germany to global Azure.
Azure Service Bus services don't have data export or import capabilities. To migrate Service Bus resources from Azure Germany to global Azure, you can export the resources as an Azure Resource Manager template. Then, adapt the exported template for global Azure and re-create the resources.
Note
Exporting a Resource Manager template doesn't copy the data (for example, messages). Exporting a template only re-creates the metadata.
Important
Change location, Azure Key Vault secrets, certificates, and other GUIDs to be consistent with the new region.
[!INCLUDE updated-for-az]
The following Service Bus metadata elements are re-created when you export a Resource Manager template:
- Namespaces
- Queues
- Topics
- Subscriptions
- Rules
- Authorization rules
The preceding steps to export and re-create don't copy the shared access signature keys that are associated with authorization rules. If you need to preserve the shared access signature keys, use the New-AzServiceBuskey
cmdlet with the optional parameter -Keyvalue
to accept the key as a string. The updated cmdlet is available in Azure PowerShell Az module.
New-AzServiceBuskey -ResourceGroupName <resourcegroupname> -Namespace <namespace> -Name <name of Authorization rule> -RegenerateKey <PrimaryKey/SecondaryKey> -KeyValue <string - key value>
New-AzServiceBuskey -ResourceGroupName <resourcegroupname> -Namespace <namespace> -Queue <queuename> -Name <name of Authorization rule> -RegenerateKey <PrimaryKey/SecondaryKey> -KeyValue <string - key value>
New-AzServiceBuskey -ResourceGroupName <resourcegroupname> -Namespace <namespace> -Topic <topicname> -Name <name of Authorization rule> -RegenerateKey <PrimaryKey/SecondaryKey> -KeyValue <string - key value>
Note
You must update your applications to use a new connection string even if you preserve the keys. DNS host names are different in Azure Germany and global Azure.
Azure Germany
Endpoint=sb://myBFProdnamespaceName.**servicebus.cloudapi.de**/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=XXXXXXXXXXXXx=
Global Azure
Endpoint=sb://myProdnamespaceName.**servicebus.windows.net**/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=XXXXXXXXXXXXx=
For more information:
- Refresh your knowledge by completing the Service Bus tutorials.
- Become familiar with how to export Resource Manager templates or read the overview of Azure Resource Manager.
- Review the Service Bus overview.
Azure Logic Apps isn't available in Azure Germany, but you can create scheduling jobs by using Logic Apps in global Azure instead. Although previously available in Azure Germany, Azure Scheduler is being retired.
For more information:
- Learn more by completing the Azure Logic Apps tutorials.
- Review the Azure Logic Apps overview.
Learn about tools, techniques, and recommendations for migrating resources in the following service categories: