NCSE-Core study materials
NCSE-Core study resources

Flow Segmentation for a Three-Tier Portal with No CMDB

NCSE-Core · Put your knowledge to work in context.

All case studies

Flow Segmentation for a Three-Tier Portal with No CMDB

Northwind Health runs a three-tier patient portal on a 5-node AHV cluster managed by Prism Central: 2 web VMs on VLAN 20, 4 application VMs on VLAN 30 and 2 database VMs on VLAN 40. Inter-VLAN routing and filtering happen on a pair of core switches with any-any rules; a recent pen test found the database reachable from every VLAN. The network team owns the switch ACLs and quotes six weeks for changes, while security wants application-level segmentation in two weeks and has asked the Nutanix team to "just use Flow." VM names are inconsistent (WEB01, app-02, prd-db-a), there is no CMDB, and last year a similar project broke the portal because an undocumented nightly job calls the database directly from a reporting VM sitting on VLAN 30. The compliance target: only the application tier may reach the database on TCP 5432; only the load-balancer subnet may reach web on 443; the DBA jump host on VLAN 10 may reach the database on 22.

1. How do you build and roll out the policies so compliance is met without repeating last year's outage?

Read the worked answer

Scope with categories, not names. Create categories such as AppTier:Web|App|DB|Reporting and Env:Prod in Prism Central and assign them to VMs. Names are unreliable here; categories make the policy survive rebuilds and clones, and they are the unit Flow policies target.

Sequence:

  1. Inventory by traffic, not by spreadsheet. Enable Flow visibility / monitor mode for the VMs and collect flows for at least one full business cycle - including month-end and the nightly batch that broke things last time. Hit counters and flow logs will expose the reporting VM's 5432 connection before enforcement does it for you.
  2. Write application policies as an allow-list: App → DB on 5432, LB subnet → Web on 443, Jump host → DB on 22. Anything not listed is denied for VMs in the secured categories, so every dependency must be found in step 1.
  3. Add an isolation policy for the DB category. Isolation takes precedence over application policies, so it wins on conflicts - useful for pinning the database to only its intended partners.
  4. Enforce tier by tier, DB last, in a change window, with the reporting VM either recategorised and given an explicit rule or moved off VLAN 30.

Keep a quarantine isolation policy ready to cut a VM off instantly during an incident.

2. The network team says Flow makes their switch ACLs redundant. Is that true, and what traffic does Flow not cover?

Read the worked answer

Not true, and saying so is how projects get rolled back. Flow Network Security enforces at the guest vNIC of VMs on clusters registered to Prism Central. It complements the physical network; it does not replace perimeter firewalling or routing.

Outside Flow's enforcement point:

  • Bare-metal servers, SAN-attached appliances, and physical load balancers - including a hardware DB replica or an F5 VIP that never touches a managed vNIC.
  • VMs on hypervisors or clusters not registered to this Prism Central, or clusters where Flow is not enabled; also any workload in the other two clusters this PC manages if you scope the rollout to one cluster.
  • North-south and internet-edge traffic: Flow can restrict it at the vNIC, but it is not a NAT/edge device and should not become the internet firewall.
  • Traffic that never leaves the guest (intra-VM, loopback) and encrypted payload inspection - Flow is L3/L4 allow-listing, not deep packet inspection.

Practical split: keep the core switch ACLs as a coarse perimeter and for the physical estate, use Flow for east-west VM-to-VM control where the network team cannot move quickly, and document that a VM live-migrated to an unregistered cluster falls outside the policy - that is the gap an auditor will find.

3. At 02:00 the on-call engineer suspects the primary DB VM is compromised but cannot power it off. What is the Flow-native response, and what must already be in place?

Read the worked answer

Apply a quarantine isolation policy. Quarantine is a special isolation policy that blocks all traffic to and from VMs in the quarantined category except explicitly permitted flows (typically management/jump-host access and the Flow/PC control path). Because isolation policies take precedence over application policies, the DB stops talking to the app tier and to the reporting VM immediately, while the VM stays powered on for forensic capture.

Preconditions that decide whether this works at 02:00:

  • A Quarantine category exists and the DB VM can be added to it from Prism Central in seconds - this must be designed and rehearsed before the incident, not invented during one.
  • The management path (jump host on VLAN 10) is included as an allowed flow, or responders cannot reach the VM to collect evidence.
  • Someone on the on-call rota has Prism Central rights to change category membership and policy; a read-only account turns this into a 30-minute escalation.
  • Snapshot the VM before any remediation so the evidence is preserved, and note that quarantine does not stop a compromised guest from attacking anything reachable through an allowed flow.

After containment, review Flow traffic logs for lateral movement to the app tier, then rebuild rather than trust an in-place clean-up.