How to assign/access the public IP for the VM's created on Azure HCI stack

Satheesh Kumar S 1 Reputation point
2021-10-18T16:26:11.85+00:00

We have created one linux(rhel) and one windows VM in Azure HCI stack. How to access the VM from outside the outside WAC?

Can someone please share the steps, how to assign the IP's for those machine and how to access from outside?

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
264 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Trent Helms - MSFT 2,381 Reputation points Microsoft Employee
    2021-10-18T17:03:44.307+00:00

    Hi @Satheesh Kumar S ,

    To get a better understanding of your environment, are these VMs hosted on a physical HCI cluster or a virtualized HCI cluster (such as on another Hyper-V environment or even in Azure)? The reason for asking is because there would be different requirements for each environment.

    If these are VMs on a physical HCI cluster, the requirements to access the VM are pretty much the same as any other Hyper-V VM. The VMs must be connected to an external virtual switch on the host and be assigned an IP address on a subnet/VLAN that is routable. These can be statically or DHCP assigned. If the VMs are domain-joined, then the 'Domain' firewall profile would likely be active so these rules are usually sufficient to allow access. If not, the firewall rules may need to be adjusted to allow the specific traffic you need. If you are attempting to access RDP or shares, you would need to ensure you have the appropriate permissions to do so.

    If these VMs are in a nested virtualization environment, then besides the standard requirements above, you may also need to enable MAC address spoofing on each of the virtual NICs for communication to work to the nested VMs.

    If these VMs are in Azure, then you would additionally need to be sure you have connectivity to the Azure VNET itself. This could be either via ExpressRoute or a VPN if you are trying to simply access the VM from an on-prem resource.

    Hope this helps!
    Trent

    0 comments No comments

  2. Satheesh Kumar S 1 Reputation point
    2021-10-18T17:42:01.57+00:00

    VM hosted on virtualized HCI cluster ie) Hyper-V environment.