Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I see you have two requirements here.
- One is to set up ExpressRoute
- And the second is to access c:\MyApp\Files in the VMs from the OnPrem
Please note that ExpressRoute does not work in terms of Virtual Machines.
Rather, it provides connectivity in terms of "Virtual Network".
If all the above mentioned VMs are in the same Virtual Network, then a single ExpressRoute Connection is sufficient.
However, if the VMs are in different VNETs,
A. And these VNETs can be peered together:
- You must consider using Hub Spoke Architecture with Transit connectivity enabled
- Reference : https://video2.skills-academy.com/en-us/azure/developer/terraform/hub-spoke-introduction#2-understand-hub-and-spoke-topology-architecture
-
B. And these VNETs cannot be peered together.
- Then you must connect these different Virtual Networks to the ExpressRoute circuit individually
- Refer : https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-howto-linkvnet-portal-resource-manager
- Please make sure you go through the Circuit and Gateway SKUs max allowed connections/limitations and bandwidth specifications.
Some points to consider are
- A single virtual network can be linked to up to 16 ExpressRoute circuits
- You can link up to 10 virtual networks to a standard ExpressRoute circuit. All virtual networks must be in the same geopolitical region when using a standard ExpressRoute circuit.
- If you enable the ExpressRoute premium add-on, you can link virtual networks outside of the geopolitical region of the ExpressRoute circuit. The premium add-on also allows you to connect more than 10 virtual networks to your ExpressRoute circuit depending on the bandwidth chosen
FAQ : https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-faqs
- What is an ExR Circuit?
- https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-circuit-peerings#circuits
- What is an ExpressRoute virtual network gateways?
- https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways#gwsku
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.