Microsegmentation with Azure Stack HCI

Published 04-28-2021 04:24 PM 1,413 Views
Microsoft

Have you deployed multiple applications in your HCI cluster? Do you have application workloads in your cluster that need access to the Internet? Do you have remote users accessing application workloads in your HCI cluster? If the answer to any of these questions is yes, please read on to find out how you can protect your workloads from unauthorized access and cyber-attacks (Internal or External).

 

Problem: Need for network security and issues with traditional approaches

Network security is a top concern for organizations today. We are faced with increasing breaches, threats, and cyber risk. Cyber criminals are targeting high business impact data with sophisticated attacks designed to bypass perimeter controls. Once inside the company network, attackers are free to move from one system to another, in search of sensitive or personally identifiable information. These breaches can go unnoticed for a long time.

Network segmentation has been around for a long time to isolate high value data and systems. In traditional networks, security is set at the edge, where North-south communication takes place (interactions that are travelling in and out of the datacenter). This secures intranet from outside world. But offers little protection in the modern hybrid cloud world, where the perimeter has all but evaporated and a large portion of the traffic flows east-west, or server to server, between applications.

If you look at the topology below, end points can communicate with each other freely within VLANs or subnets behind a firewall. Infections on one of these servers are not contained and can easily spread to other servers.

 

AnirbanPaul_0-1618598928159.png

 

Organizations may use physical firewalls to protect east west traffic. But that has its own drawbacks. Significant network resource utilization bottlenecks are created by sending east-west communication through a physical firewall. If firewall capacity is exhausted, security can be scaled by replacing with larger firewall or adding additional physical firewall, which is cumbersome and expensive.

Moreover, the use of physical firewalls can also create additional latency for certain applications. All traffic must traverse a physical firewall to be segmented, even when residing on the same physical server.

 

Solution: Microsegmentation in Azure Stack HCI

The ideal solution to complete protection is to protect every traffic flow inside the data center with a firewall, allowing only the flows required for applications to function. This is the Zero Trust Model.

 

Microsegmentation is the concept of creating granular network policies between applications and services. This essentially reduces the security perimeter to a fence around each application or virtual machine. The fence can permit only necessary communication between application tiers or other logical boundaries, thus making it exceedingly difficult for cyber threats to spread laterally from one system to another. Logical boundaries can be completely custom. They can be your different environments: Dev, Test, Production. Or different types of applications, or different tiers within an application. This securely isolates networks from each other and reduces the total attack surface of a network security incident.

 

With Azure Stack HCI, you can define granular segmentation for your applications and workloads and protect them from both external and internal attacks. This is achieved through a distributed firewall, enabling administrators to define access control lists to restrict access for workloads attached to traditional VLAN networks and overlay networks. This is a network layer firewall, allowing or restricting access based on source and destination IP addresses, source and destination ports and network protocol. You can read more about this here.

IMPORTANT: The microsegmentation policies can be applied to all Azure Stack HCI workloads attached to traditional VLAN networks.

 

The firewall policies are configured through the management plane. You have multiple options here – standard REST interface, Powershell, Windows Admin Center (WAC) and System Center Virtual Machine Manager (SCVMM). The management plane sends the policies to a centralized control plane, Network Controller. This ships as a Server role in Azure Stack HCI OS. Network Controller pushes the policies to all the applicable Hyper-V hosts, and the policies are plumbed at the vSwitch port of virtual machines. Network Controller also ensures that the policies stay in sync, and any drift is remediated.

 

AnirbanPaul_1-1618598928182.png

 

Configure and manage microsegmentation in Azure Stack HCI

There are two high level steps to configure microsegmentation for HCI. First, you need to setup the Network Controller and then, configure microsegmentation policies.

 

Setup Network Controller

Network Controller can be setup using SDN Express Powershell scripts or the Windows Admin Center (WAC) or through System Center Virtual Machine Manager (SCVMM).

 

Windows Admin Center

If you are deploying HCI for the first time, you can use the Windows Admin Center deployment wizard to setup Network Controller. SDN deployment is Step 5 of the wizard. This deploys the Network Controller component of SDN. Detailed instructions for launching this wizard, setting up the HCI cluster and setting up Network Controller is provided here.  In the default case, you need to provide only two pieces of input:

  1. Path to the Azure Stack HCI OS vhdx file. This is used to deploy the Network Controller VMs.
  2. Credentials to join the Network Controller VMs to the domain and local admin credentials.

If you do not have DHCP configured on your management network, you will need to provide static IP addresses for the Network Controller VMs. A demo of the SDN setup is provided below:

 

 

SDN Express Scripts

If you already have an existing HCI cluster, you cannot deploy SDN through Windows Admin Center today. This support is coming soon.

In this case, you can deploy Network Controller (NC) component of SDN using SDN Express scripts. The scripts are available in the official Microsoft SDN github repository. The scripts need to be downloaded and executed on a machine which has access to the HCI cluster management network. Detailed instructions for executing the script are provided here.

 

The script takes a configuration file as input. Template file can be found in the github repository here. You will need the provide/change the following parameters to setup Network Controller for microsegmentation on traditional HCI VLAN networks:

  1. VHDPath: VHDX file path used by NC VMs. Script must have access to this file path.
  2. VHDFile: VHDX file name used by NC VMs.
  3. JoinDomain: domain to which NC VMs are joined.
  4. Management network details (ManagementSubnet, ManagementGateway, ManagementDNS, ManagementVLANID): This is the management network of the HCI cluster.
  5. DomainJoinUsername: Username to join NC VMs to the domain
  6. LocalAdminDomainUser: Domain user for NC VMs who is also local admin on the NC VMs
  7. RestName: DNS name used by management clients (such as Windows Admin Center) to communicate with NC
  8. Details of NC VMs (ComputerName, HostName, ManagementIP, MACAddress): Name of NC VMs, Host name of Server where NC VMs are located, management network IP Address of NC VMs, MAC address of NC VMs
  9. HyperVhosts: Host server names in the HCI cluster
  10. NCUserName: NC Administrator account. Should have permission to do everything needed by someone administering the NC (primarily configuration and remoting). Usually, this can be same as LocalAdminDomainUser account.

Some other important points:

  1. The parameters VMLocation, SDNMacPoolStart, SDNMacPoolEnd can use default values.
  2. The following sections should be blank: Muxes, Gateways (Muxes = @())
  3. If you are deploying microsegmentation for VLAN networks, you should keep the PA network details section blank. Otherwise, if you are deploying overlay networks, please fill in that section.
  4. Rest of the parameters below the PA network section can be commented out.

A sample file is shown below:

 

AnirbanPaul_4-1618599020855.png

 

Configure Microsegmentation Policies

Once Network Controller is setup, you can go ahead and deploy your microsegmentation policies.

  1. The first step is to create a logical network for your workloads hosted on VLAN networks. This is documented here.
  2. Next, you need to create the security ACL rules that you want to apply to your workloads. This is documented here.
  3. Once the ACL rules have been created, you can apply them to the network or a network interface.
    1. For applying ACLs to a traditional VLAN network, see instructions here.
    2. For applying ACLs to a virtual network, see instructions here.
    3. For applying ACLs to a network interface, see instructions here.

After the ACL rules have been applied to the network, all virtual machines in that network will get the policies and will have restricted access based on the rules. If the ACL rule has been applied to a network interface, the network interface will get the policies and will have restricted access based on the rules.

 

So, as you can see, with microsegmentation, you can protect every traffic flow in your HCI cluster, allowing only the flows required for your applications to function. Please try this out and give us feedback at sdn_feedback@microsoft.com. Feel free to reach out for any questions as well.

1 Comment

Thank you @AnirbanPaul for Sharing this with the Community :cool:

%3CLINGO-SUB%20id%3D%22lingo-sub-2276339%22%20slang%3D%22en-US%22%3EMicrosegmentation%20with%20Azure%20Stack%20HCI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2276339%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId--471578410%22%20id%3D%22toc-hId--471578410%22%20id%3D%22toc-hId--471578410%22%20id%3D%22toc-hId--493687174%22%3E%3CFONT%20size%3D%223%22%3E%3CEM%3EHave%20you%20deployed%20multiple%20applications%20in%20your%20HCI%20cluster%3F%20Do%20you%20have%20application%20workloads%20in%20your%20cluster%20that%20need%20access%20to%20the%20Internet%3F%20Do%20you%20have%20remote%20users%20accessing%20application%20workloads%20in%20your%20HCI%20cluster%3F%20If%20the%20answer%20to%20any%20of%20these%20questions%20is%20yes%2C%20please%20read%20on%20to%20find%20out%20how%20you%20can%20protect%20your%20workloads%20from%20unauthorized%20access%20and%20cyber-attacks%20(Internal%20or%20External).%3C%2FEM%3E%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2015934423%22%20id%3D%22toc-hId-2015934423%22%20id%3D%22toc-hId-2015934423%22%20id%3D%22toc-hId-1993825659%22%3E%3CSTRONG%3EProblem%3A%20Need%20for%20network%20security%20and%20issues%20with%20traditional%20approaches%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3ENetwork%20security%20is%20a%20top%20concern%20for%20organizations%20today.%20We%20are%20faced%20with%20increasing%20breaches%2C%20threats%2C%20and%20cyber%20risk.%20Cyber%20criminals%20are%20targeting%20high%20business%20impact%20data%20with%20sophisticated%20attacks%20designed%20to%20bypass%20perimeter%20controls.%20Once%20inside%20the%20company%20network%2C%20attackers%20are%20free%20to%20move%20from%20one%20system%20to%20another%2C%20in%20search%20of%20sensitive%20or%20personally%20identifiable%20information.%20These%20breaches%20can%20go%20unnoticed%20for%20a%20long%20time.%3C%2FP%3E%0A%3CP%3ENetwork%20segmentation%20has%20been%20around%20for%20a%20long%20time%20to%20isolate%20high%20value%20data%20and%20systems.%20In%20traditional%20networks%2C%20security%20is%20set%20at%20the%20edge%2C%20where%20North-south%20communication%20takes%20place%20(interactions%20that%20are%20travelling%20in%20and%20out%20of%20the%20datacenter).%20This%20secures%20intranet%20from%20outside%20world.%20But%20offers%20little%20protection%20in%20the%20modern%20hybrid%20cloud%20world%2C%20where%20the%20perimeter%20has%20all%20but%20evaporated%20and%20a%20large%20portion%20of%20the%20traffic%20flows%20east-west%2C%20or%20server%20to%20server%2C%20between%20applications.%3C%2FP%3E%0A%3CP%3EIf%20you%20look%20at%20the%20topology%20below%2C%20end%20points%20can%20communicate%20with%20each%20other%20freely%20within%20VLANs%20or%20subnets%20behind%20a%20firewall.%20Infections%20on%20one%20of%20these%20servers%20are%20not%20contained%20and%20can%20easily%20spread%20to%20other%20servers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AnirbanPaul_0-1618598928159.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273415i759037E8346B8FA8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AnirbanPaul_0-1618598928159.png%22%20alt%3D%22AnirbanPaul_0-1618598928159.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOrganizations%20may%20use%20physical%20firewalls%20to%20protect%20east%20west%20traffic.%20But%20that%20has%20its%20own%20drawbacks.%20Significant%20network%20resource%20utilization%20bottlenecks%20are%20created%20by%20sending%20east-west%20communication%20through%20a%20physical%20firewall.%20If%20firewall%20capacity%20is%20exhausted%2C%20security%20can%20be%20scaled%20by%20replacing%20with%20larger%20firewall%20or%20adding%20additional%20physical%20firewall%2C%20which%20is%20cumbersome%20and%20expensive.%3C%2FP%3E%0A%3CP%3EMoreover%2C%20the%20use%20of%20physical%20firewalls%20can%20also%20create%20additional%20latency%20for%20certain%20applications.%20All%20traffic%20must%20traverse%20a%20physical%20firewall%20to%20be%20segmented%2C%20even%20when%20residing%20on%20the%20same%20physical%20server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-208479960%22%20id%3D%22toc-hId-208479960%22%20id%3D%22toc-hId-208479960%22%20id%3D%22toc-hId-186371196%22%3E%3CSTRONG%3ESolution%3A%20Microsegmentation%20in%20Azure%20Stack%20HCI%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EThe%20ideal%20solution%20to%20complete%20protection%20is%20to%20protect%20every%20traffic%20flow%20inside%20the%20data%20center%20with%20a%20firewall%2C%20allowing%20only%20the%20flows%20required%20for%20applications%20to%20function.%20This%20is%20the%20Zero%20Trust%20Model.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMicrosegmentation%20is%20the%20concept%20of%20creating%20granular%20network%20policies%20between%20applications%20and%20services.%20This%20essentially%20reduces%20the%20security%20perimeter%20to%20a%20fence%20around%20each%20application%20or%20virtual%20machine.%20The%20fence%20can%20permit%20only%20necessary%20communication%20between%20application%20tiers%20or%20other%20logical%20boundaries%2C%20thus%20making%20it%20exceedingly%20difficult%20for%20cyber%20threats%20to%20spread%20laterally%20from%20one%20system%20to%20another.%20Logical%20boundaries%20can%20be%20completely%20custom.%20They%20can%20be%20your%20different%20environments%3A%20Dev%2C%20Test%2C%20Production.%20Or%20different%20types%20of%20applications%2C%20or%20different%20tiers%20within%20an%20application.%20This%20securely%20isolates%20networks%20from%20each%20other%20and%20reduces%20the%20total%20attack%20surface%20of%20a%20network%20security%20incident.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20Azure%20Stack%20HCI%2C%20you%20can%20define%20granular%20segmentation%20for%20your%20applications%20and%20workloads%20and%20protect%20them%20from%20both%20external%20and%20internal%20attacks.%20This%20is%20achieved%20through%20a%20distributed%20firewall%2C%20enabling%20administrators%20to%20define%20access%20control%20lists%20to%20restrict%20access%20for%20workloads%20attached%20to%20traditional%20VLAN%20networks%20and%20overlay%20networks.%20This%20is%20a%20network%20layer%20firewall%2C%20allowing%20or%20restricting%20access%20based%20on%20source%20and%20destination%20IP%20addresses%2C%20source%20and%20destination%20ports%20and%20network%20protocol.%20You%20can%20read%20more%20about%20this%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fconcepts%2Fdatacenter-firewall-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EIMPORTANT%3C%2FSTRONG%3E%3A%20The%20microsegmentation%20policies%20can%20be%20applied%20to%20all%20Azure%20Stack%20HCI%20workloads%20attached%20to%20traditional%20VLAN%20networks.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20firewall%20policies%20are%20configured%20through%20the%20management%20plane.%20You%20have%20multiple%20options%20here%20%E2%80%93%20standard%20REST%20interface%2C%20Powershell%2C%20Windows%20Admin%20Center%20(WAC)%20and%20System%20Center%20Virtual%20Machine%20Manager%20(SCVMM).%20The%20management%20plane%20sends%20the%20policies%20to%20a%20centralized%20control%20plane%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fconcepts%2Fnetwork-controller-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENetwork%20Controller%3C%2FA%3E.%20This%20ships%20as%20a%20Server%20role%20in%20Azure%20Stack%20HCI%20OS.%20Network%20Controller%20pushes%20the%20policies%20to%20all%20the%20applicable%20Hyper-V%20hosts%2C%20and%20the%20policies%20are%20plumbed%20at%20the%20vSwitch%20port%20of%20virtual%20machines.%20Network%20Controller%20also%20ensures%20that%20the%20policies%20stay%20in%20sync%2C%20and%20any%20drift%20is%20remediated.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AnirbanPaul_1-1618598928182.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273416iB988633142028A4D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AnirbanPaul_1-1618598928182.png%22%20alt%3D%22AnirbanPaul_1-1618598928182.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1598974503%22%20id%3D%22toc-hId--1598974503%22%20id%3D%22toc-hId--1598974503%22%20id%3D%22toc-hId--1621083267%22%3E%3CSTRONG%3EConfigure%20and%20manage%20microsegmentation%20in%20Azure%20Stack%20HCI%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EThere%20are%20two%20high%20level%20steps%20to%20configure%20microsegmentation%20for%20HCI.%20First%2C%20you%20need%20to%20setup%20the%20Network%20Controller%20and%20then%2C%20configure%20microsegmentation%20policies.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--908413029%22%20id%3D%22toc-hId--908413029%22%20id%3D%22toc-hId--908413029%22%20id%3D%22toc-hId--930521793%22%3E%3CSTRONG%3ESetup%20Network%20Controller%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3ENetwork%20Controller%20can%20be%20setup%20using%20SDN%20Express%20Powershell%20scripts%20or%20the%20Windows%20Admin%20Center%20(WAC)%20or%20through%20System%20Center%20Virtual%20Machine%20Manager%20(SCVMM).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId--217851555%22%20id%3D%22toc-hId--217851555%22%20id%3D%22toc-hId--217851555%22%20id%3D%22toc-hId--239960319%22%3E%3CEM%3EWindows%20Admin%20Center%3C%2FEM%3E%3C%2FH4%3E%0A%3CP%3EIf%20you%20are%20deploying%20HCI%20for%20the%20first%20time%2C%20you%20can%20use%20the%20Windows%20Admin%20Center%20deployment%20wizard%20to%20setup%20Network%20Controller.%26nbsp%3BSDN%20deployment%20is%20Step%205%20of%20the%20wizard.%20This%20deploys%20the%20Network%20Controller%20component%20of%20SDN.%20Detailed%20instructions%20for%20launching%20this%20wizard%2C%20setting%20up%20the%20HCI%20cluster%20and%20setting%20up%20Network%20Controller%20is%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fdeploy%2Fcreate-cluster%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%26nbsp%3B%26nbsp%3BIn%20the%20default%20case%2C%20you%20need%20to%20provide%20only%20two%20pieces%20of%20input%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EPath%20to%20the%20Azure%20Stack%20HCI%20OS%20vhdx%20file.%20This%20is%20used%20to%20deploy%20the%20Network%20Controller%20VMs.%3C%2FLI%3E%0A%3CLI%3ECredentials%20to%20join%20the%20Network%20Controller%20VMs%20to%20the%20domain%20and%20local%20admin%20credentials.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EIf%20you%20do%20not%20have%20DHCP%20configured%20on%20your%20management%20network%2C%20you%20will%20need%20to%20provide%20static%20IP%20addresses%20for%20the%20Network%20Controller%20VMs.%20A%20demo%20of%20the%20SDN%20setup%20is%20provided%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FaCC3TAHAzb0%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DaCC3TAHAzb0%26amp%3Bimage%3Dhttp%253A%252F%252Fi.ytimg.com%252Fvi%252FaCC3TAHAzb0%252Fhqdefault.jpg%26amp%3Bkey%3Dfad07bfa4bd747d3bdea27e17b533c0e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22200%22%20height%3D%22112%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId--2025306018%22%20id%3D%22toc-hId--2025306018%22%20id%3D%22toc-hId--2025306018%22%20id%3D%22toc-hId--2047414782%22%3E%3CEM%3ESDN%20Express%20Scripts%3C%2FEM%3E%3C%2FH4%3E%0A%3CP%3EIf%20you%20already%20have%20an%20existing%20HCI%20cluster%2C%20you%20cannot%20deploy%20SDN%20through%20Windows%20Admin%20Center%20today.%20This%20support%20is%20coming%20soon.%3C%2FP%3E%0A%3CP%3EIn%20this%20case%2C%20you%20can%20deploy%20Network%20Controller%20(NC)%20component%20of%20SDN%20using%20SDN%20Express%20scripts.%20The%20scripts%20are%20available%20in%20the%20official%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FSDN%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20SDN%20github%20repository%3C%2FA%3E.%20The%20scripts%20need%20to%20be%20downloaded%20and%20executed%20on%20a%20machine%20which%20has%20access%20to%20the%20HCI%20cluster%20management%20network.%20Detailed%20instructions%20for%20executing%20the%20script%20are%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fmanage%2Fsdn-express%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20script%20takes%20a%20configuration%20file%20as%20input.%20Template%20file%20can%20be%20found%20in%20the%20github%20repository%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FSDN%2Ftree%2Fmaster%2FSDNExpress%2Fscripts%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20You%20will%20need%20the%20provide%2Fchange%20the%20following%20parameters%20to%20setup%20Network%20Controller%20for%20microsegmentation%20on%20traditional%20HCI%20VLAN%20networks%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CEM%3EVHDPath%3C%2FEM%3E%3A%20VHDX%20file%20path%20used%20by%20NC%20VMs.%20Script%20must%20have%20access%20to%20this%20file%20path.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EVHDFile%3C%2FEM%3E%3A%20VHDX%20file%20name%20used%20by%20NC%20VMs.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EJoinDomain%3C%2FEM%3E%3A%20domain%20to%20which%20NC%20VMs%20are%20joined.%3C%2FLI%3E%0A%3CLI%3EManagement%20network%20details%20(%3CEM%3EManagementSubnet%2C%20ManagementGateway%2C%20ManagementDNS%2C%20ManagementVLANID)%3A%3C%2FEM%3E%20This%20is%20the%20management%20network%20of%20the%20HCI%20cluster.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EDomainJoinUsername%3C%2FEM%3E%3A%20Username%20to%20join%20NC%20VMs%20to%20the%20domain%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ELocalAdminDomainUser%3C%2FEM%3E%3A%20Domain%20user%20for%20NC%20VMs%20who%20is%20also%20local%20admin%20on%20the%20NC%20VMs%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ERestName%3C%2FEM%3E%3A%20DNS%20name%20used%20by%20management%20clients%20(such%20as%20Windows%20Admin%20Center)%20to%20communicate%20with%20NC%3C%2FLI%3E%0A%3CLI%3EDetails%20of%20NC%20VMs%20(%3CEM%3EComputerName%2C%20HostName%2C%20ManagementIP%2C%20MACAddress)%3A%3C%2FEM%3E%20Name%20of%20NC%20VMs%2C%20Host%20name%20of%20Server%20where%20NC%20VMs%20are%20located%2C%20management%20network%20IP%20Address%20of%20NC%20VMs%2C%20MAC%20address%20of%20NC%20VMs%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EHyperVhosts%3C%2FEM%3E%3A%20Host%20server%20names%20in%20the%20HCI%20cluster%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ENCUserName%3A%20%3C%2FEM%3ENC%20Administrator%20account.%20Should%20have%20permission%20to%20do%20everything%20needed%20by%20someone%20administering%20the%20NC%20(primarily%20configuration%20and%20remoting).%20Usually%2C%20this%20can%20be%20same%20as%20LocalAdminDomainUser%20account.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3ESome%20other%20important%20points%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EThe%20parameters%20%3CEM%3EVMLocation%2C%20SDNMacPoolStart%2C%20SDNMacPoolEnd%3C%2FEM%3E%20can%20use%20default%20values.%3C%2FLI%3E%0A%3CLI%3EThe%20following%20sections%20should%20be%20blank%3A%20%3CEM%3EMuxes%2C%20Gateways%3C%2FEM%3E%20(Muxes%20%3D%20%40())%3C%2FLI%3E%0A%3CLI%3EIf%20you%20are%20deploying%20microsegmentation%20for%20VLAN%20networks%2C%20you%20should%20keep%20the%20PA%20network%20details%20section%20blank.%20Otherwise%2C%20if%20you%20are%20deploying%20overlay%20networks%2C%20please%20fill%20in%20that%20section.%3C%2FLI%3E%0A%3CLI%3ERest%20of%20the%20parameters%20below%20the%20PA%20network%20section%20can%20be%20commented%20out.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EA%20sample%20file%20is%20shown%20below%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorAnirbanPaul_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AnirbanPaul_4-1618599020855.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273418i456F289C131A553D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AnirbanPaul_4-1618599020855.png%22%20alt%3D%22AnirbanPaul_4-1618599020855.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--2035809122%22%20id%3D%22toc-hId--2035809122%22%20id%3D%22toc-hId--2035809122%22%20id%3D%22toc-hId--2057917886%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId-451703711%22%20id%3D%22toc-hId-451703711%22%20id%3D%22toc-hId-451703711%22%20id%3D%22toc-hId-429594947%22%3E%3CSTRONG%3EConfigure%20Microsegmentation%20Policies%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EOnce%20Network%20Controller%20is%20setup%2C%20you%20can%20go%20ahead%20and%20deploy%20your%20microsegmentation%20policies.%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EThe%20first%20step%20is%20to%20create%20a%20logical%20network%20for%20your%20workloads%20hosted%20on%20VLAN%20networks.%20This%20is%20documented%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fmanage%2Ftenant-logical-networks%23create-a-logical-network%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ENext%2C%20you%20need%20to%20create%20the%20security%20ACL%20rules%20that%20you%20want%20to%20apply%20to%20your%20workloads.%20This%20is%20documented%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fmanage%2Fuse-datacenter-firewall-windows-admin-center%23create-an-acl%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EOnce%20the%20ACL%20rules%20have%20been%20created%2C%20you%20can%20apply%20them%20to%20the%20network%20or%20a%20network%20interface.%3COL%20class%3D%22lia-list-style-type-lower-alpha%22%3E%0A%3CLI%3EFor%20applying%20ACLs%20to%20a%20traditional%20VLAN%20network%2C%20see%20instructions%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fmanage%2Fuse-datacenter-firewall-windows-admin-center%23apply-an-acl-to-a-logical-network%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EFor%20applying%20ACLs%20to%20a%20virtual%20network%2C%20see%20instructions%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fmanage%2Fuse-datacenter-firewall-windows-admin-center%23apply-an-acl-to-a-virtual-network%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EFor%20applying%20ACLs%20to%20a%20network%20interface%2C%20see%20instructions%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-stack%2Fhci%2Fmanage%2Fuse-datacenter-firewall-windows-admin-center%23apply-an-acl-to-a-network-interface%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EAfter%20the%20ACL%20rules%20have%20been%20applied%20to%20the%20network%2C%20all%20virtual%20machines%20in%20that%20network%20will%20get%20the%20policies%20and%20will%20have%20restricted%20access%20based%20on%20the%20rules.%20If%20the%20ACL%20rule%20has%20been%20applied%20to%20a%20network%20interface%2C%20the%20network%20interface%20will%20get%20the%20policies%20and%20will%20have%20restricted%20access%20based%20on%20the%20rules.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20as%20you%20can%20see%2C%20with%20microsegmentation%2C%20you%20can%20protect%20every%20traffic%20flow%20in%20your%20HCI%20cluster%2C%20allowing%20only%20the%20flows%20required%20for%20your%20applications%20to%20function.%20Please%20try%20this%20out%20and%20give%20us%20feedback%20at%20%3CA%20href%3D%22mailto%3Asdn_feedback%40microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Esdn_feedback%40microsoft.com%3C%2FA%3E.%20Feel%20free%20to%20reach%20out%20for%20any%20questions%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2276339%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId--493687174%22%20id%3D%22toc-hId-441200607%22%20id%3D%22toc-hId-441200607%22%20id%3D%22toc-hId-419091843%22%3E%3CFONT%20size%3D%223%22%3E%3CEM%3EHave%20you%20deployed%20multiple%20applications%20in%20your%20HCI%20cluster%3F%20Do%20you%20have%20application%20workloads%20in%20your%20cluster%20that%20need%20access%20to%20the%20Internet%3F%20Do%20you%20have%20remote%20users%20accessing%20application%20workloads%20in%20your%20HCI%20cluster%3F%20If%20the%20answer%20to%20any%20of%20these%20questions%20is%20yes%2C%20please%20read%20on%20to%20find%20out%20how%20you%20can%20protect%20your%20workloads%20from%20unauthorized%20access%20and%20cyber-attacks%20(Internal%20or%20External).%3C%2FEM%3E%3C%2FFONT%3E%3C%2FH2%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2276339%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Stack%20HCI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2305661%22%20slang%3D%22en-US%22%3ERe%3A%20Microsegmentation%20with%20Azure%20Stack%20HCI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305661%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F268646%22%20target%3D%22_blank%22%3E%40AnirbanPaul%3C%2FA%3E%26nbsp%3Bfor%20Sharing%20this%20with%20the%20Community%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2F%40B71AFCCE02F5853FE57A20BD4B04EADD%2Fimages%2Femoticons%2Fcool_40x40.gif%22%20alt%3D%22%3Acool%3A%22%20title%3D%22%3Acool%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎May 05 2021 09:42 AM
Updated by: