If you have 2 different virtual network in each resource group, you need to use VNET Peering feature:
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
how to establish connection between vm present in two diffrent regions and resource group on azure
suppose I have two vm which are present in two different resource groups and those resource groups are present in different regions i want to ssh from 1 vm to 2 vm
2 answers
Sort by: Most helpful
-
rafalzak 3,221 Reputation points
2022-09-20T06:56:16.497+00:00 -
Limitless Technology 44,206 Reputation points
2022-09-21T09:33:56.577+00:00 Hi,
Thank you for your question and reaching out.
I understand that you' want to connect 2 VMs present in two different resource groups. First, you have to make sure to add connection between private clouds
- In your Azure VMware Solution private cloud, under Manage, select Connectivity.
- Select the AVS Interconnect tab and then Add.
- Select the information and Azure VMware Solution private cloud for the new connection.
Note: You can only connect to private clouds in the same region. To connect to private clouds that are in different regions, use ExpressRoute Global Reach to connect your private clouds in the same way you connect your private cloud to your on-premises circuit.
- Select the I confirm checkbox acknowledging that there are no overlapping routed IP spaces in the two private clouds.
- Select Create. You can check the status of the connection creation.
You'll see all of your connections under AVS Private Cloud.
Once you have connected multiple private clouds in the same region, you may want to learn about:
https://learn.microsoft.com/EN-us/azure/azure-vmware/move-azure-vmware-solution-across-regions
https://learn.microsoft.com/EN-us/azure/azure-vmware/move-ea-csp-subscriptions--------------------------------------------------------------------------------------------------------------------------------------------------
If the reply was helpful, please don’t forget to Upvote or Accept as answer. Thank you!