Replicate all the resources from one azure account to a another azure account

Gurkirat Singh 0 Reputation points
2024-11-13T17:55:04.15+00:00

i want to migrate all the resources from private azure account to a my company azure account ( azure data explorer cluster, event hub namespace, resource group, storage account, log analytics workspace), i have created a new subscription in my company azure account and i want to move everything there. i right now want to create a copy of it in my company account and than later redirect the flow to this company account resources.

I am very new to azure and have very limited knowledge

what could be the best strategy to do this?

do i need to do everything manually means create all the resources manually 1 by 1?

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
821 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pavan Minukuri 520 Reputation points Microsoft Vendor
    2024-11-13T22:37:43.54+00:00

    Hi Gurkirat Singh
    Welcome to Microsoft Q&A Forum, Thanks for asking question here.
    Strategy for Migrating Resources from a Private to a Company Azure Account

    1.Export Resource Configurations:

    For each resource (like Azure Data Explorer, Event Hubs, and Storage Accounts), use the Azure portal to export Resource Manager templates.

    To do this, go to the specific resource, click on Automation, and choose Export template. This will generate a JSON file that contains the resource's settings.

    2.Edit the Templates:

    Review the exported JSON files and make any necessary changes (e.g., update names, regions, or settings).

    Ensure that any dependencies between resources are maintained. For example, if an Event Hub is linked to a Storage Account, make sure the Storage Account is created first.

    3.Deploy Templates in Your New Subscription:

    In your company Azure account, go to the Azure portal and select Create a resource.

    Search for Template deployment and choose the option to build your own template. Upload the modified JSON files you edited earlier.

    Deploy each resource using these templates to recreate them in your company subscription.

    4.Verify Everything Works:

    After deploying the resources, check their configurations and connections. Ensure that they are functioning as expected (e.g., Event Hubs should connect to Azure Data Explorer).

    5.Redirect Application Traffic:

    Once everything is confirmed to be working, update your applications and services to point to the new resources in your company account.

    This may involve updating connection strings or endpoint URLs.

    6.Clean Up Old Resources:

    After you’re sure everything is running smoothly, you can delete the old resources in your private account or keep them temporarily as a backup.

    If you require anything more let us know. If the answer was helpful, please "Accept Answer and Click Upvote"


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.