Unable to create replication source in Azure - azure

I create a VM in West US by mistake. Now I want to migrate it to another location. The guide I am using is https://learn.microsoft.com/en-us/azure/site-recovery/tutorial-migrate-azure-to-azure
It involves several steps:
Create a vault
Select the source
Enable replication for Azure VMs
Run a failover
Now I am stuck at the second stage - I am just unable to select the source - it does not show any resource group!
I am very new to Azure and have no idea how to troubleshoot it.

You should have at least one resource group in the source VM location.

Related

Azure Migrate for VM and database

I am trying to use Azure Migrate to move a VM and database from Openstack based cloud to Azure as a VM and managed database. What will happen after the migration is complete ? Will Azure Migrate automatically remove the VM and the database from the source infrastructure ? Are the source resources retained as they are so that the migration can be cancelled if needed?
You have to clean up the resource on Openstack on your own:
Database - Migrate your data with Database Migration Service
Migrate your data with Database Migration Service
In the Azure portal, follow these steps to create an instance of Azure Database Migration Service, and then to run it to migrate the data in your databases:
Create an instance of Azure Database Migration Service. Choose the pricing tier based on whether you need an online or offline migration.
Create a new migration project. Choose the type of migration you want to perform, either offline or online.
Specify source and target server details, including the authentication information.
Identify the databases. Map the relevant target database on the target server to the source server.
Run and monitor the migration.
Select the Run migration button to start the migration. The migration activity screen will appear.
Track the progress until the process shows as completed.
After all the required databases are migrated, check them to make sure they're working.
When these steps are complete, your schema and data have been migrated to the Azure SQL Database instance. You can then shut down and decommission your on-premises databases and servers.
VM - Post-migration steps:
After the migration has taken place, review the security settings of the virtual machine after the migration. Restrict network access for unused services by using network security groups. Deploy Azure Disk Encryption to secure the disks from data theft and unauthorized access.
Consider improving the resilience of the migrated machines by:
Adding a backup schedule that uses Azure Backup.
Replicating the machines to a secondary region using Azure Site Recovery.
Complete clean-up tasks for the remaining on-premises servers. Such tasks may include removing the servers from local backups and removing their raw disk files from storage-area network (SAN) storage to free up space. Update documentation related to the migrated servers to reflect their new IP addresses and locations in Azure.

Migrate production "classic" Azure Storage account to ARM

I'm aware I can now do this through the portal in the storage blade however the account I need to migrate is a production account. It's just blobs, tables and queues, no VMs.
I can stomach some downtime (say an hour or 2) but am unsure how long it would take to migrate approx 750GB, does anyone have experience with the migration and an idea on the time it takes based on a similar volume size?
I also assume once migrated all my storage keys will change so I will need to update all the references in my app settings.
For anyone else wondering about this what #4c74356b41 said appears to be true.
Thanks to this post and the PowerShell command, couldn't get the ARM template to dpeloy at least not from VS, I was able to create a classic storage account. Didn't think this was still possible!
I then kicked off a 50k files container copy from another storage account in the Azure Storage Explorer container into this new classic resource and then while that was running ran the full migration including commit and the file copy carried on regardless.
Final step was to move the new resource (file copy is still ongoing at this point) from the migrated resource group back into the same resource group as the original classic storage account.
Once the move was complete the file copy was still going smoothly and all the Keys remained unchanged so this does seem to be truly seamless.

Move SQL VM to CSP Subscription

I am trying to move a VM which has azure back up running on recovery vault. Recovery vault is in a different resource group and my SQL VM is on a different RG. When i try moving to CSP subscription under same tenant i have an validation error.
Error- The move resources request contains resources like ----- that
are being backed up as a part of a azure backup job.
I stopped the backup and tried moving to CSP, still i had the same error.
Stopping the backup will not help. You need to remove any backup job before moving the Resources. Stop the backup job remove it and try moving the resources.

Migrating Azure VM to a different location

I have an Azure VM with a managed disk (which is not located in any storage account).
The VM is located in West US while it's resource group is located in West Europe.
I want to move the VM to West Europe as well.
Is there a way to move this VM to another location without generalizing it?
I saw that there's something called AzCopy, But I don't think that I can use it because my VM's disk is managed and it's not located in a storage account.
I can't use the recovery vaults because the resource group of the VM is located in the region where I want to move my VM to.
It shows the following error when I try to create a recovery vault in the same region:
You cannot protect VMs from the same region as of the vault or vault’s resource group. In the event of a datacenter disruption, the vault or resource group also might not be available. Create (or use) a vault in a different region to protect these VMs.
And even If I could create the Vault, I still wouldn't find my VMs (to replicate) because they are in a different region than it's resource group.
Here is an official tutorial explaining every step you need to take https://learn.microsoft.com/en-us/azure/resource-mover/move-region-within-resource-group.
Alternatively, I would create a new resource group with my desire location and create a new custom virtual network. Then move my VM to the new created resource group. click on the VM and go to networking, click on NIC public IP; disassociate it and associate the new custom VN.
#ps:
you might want to disassociate it first before moving to the new resource group.
You can use Azure Site Recovery
https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-migrate
In addition to using the Azure Site Recovery service to manage and
orchestrate disaster recovery of on-premises machines and Azure VMs
for the purposes of business continuity and disaster recovery (BCDR),
you can also use Site Recovery to manage migration of Azure VMs to a
secondary region. To migrate Azure VMs, you enable replication for
them, and fail them over from the primary region to the secondary
region of your choice.

How to Automate On-Premises to Azure SQL Database Data Export?

I have 5 SQL Servers where there is an average of 200 Databases on each of them, how can I go about exporting all of these databases to azure and create the SQL Databases with the same name in azure as well.
This Can be done using azure automation account feature the DSC Configurations?
Can someone tell me or point me in the right direction for this??
Azure Database Migration Service can really help you in this case. Locate the service on Azure portal and create a "Migration Service" for each database server. It will ask you for subscription, resource group, VNET, location and pricing tier. For the pricing tier choose Basic if you intend to migrate small and medium tier sizes. In your case, use "General Purpose". Take advantage that SKU choices of database migration service are currently in preview.
Once you have created the project you can click on it and the following Migration Wizard will appear. Provide the name of the on-premise database server on step #1. On Step #2 select all 200 databases on the server, On Step #3 select the target. On Step #4 you will have to provide a SMB network share that Migration service will use to take backups of the on-premises database.
Once you finished the wizard you can follow the progress on the migration project as shown below.

Resources