What is microsegmentation?

Copy URL

Microsegmentation is a software-defined security technique that divides a datacenter and application environment into small segments to protect individual workloads, such as a single application on a virtual machine (VM) or in a container. In traditional network segmentation, security is often concentrated where the internal network meets the internet. Microsegmentation shifts that focus inward, applying granular security policies to the traffic moving inside the network.

Through isolation, microsegmentation helps stop attackers from moving between systems if they get past the initial point of entry. This approach is a core component of zero trust security, which operates on the principle that communication within the datacenter should be untrusted by default. Instead, every request must be verified based on strict, automated policies. 

VMware admins: Explore Red Hat OpenShift

Microsegmentation improves network security by protecting individual workloads rather than relying on 1 central point. In a modern datacenter—where a workload can be a VM, a container, or serverless—this approach complements your existing perimeter defenses. It ensures that even if the main network barrier is cleared, every internal component is still protected by its own specific, software-defined boundary.

Traditional network segmentation vs. microsegmentation

Traditionally, networks were segmented using hardware-based tools like firewalls and virtual local area networks (VLANs). This approach focuses on “north-south” security: traffic entering or leaving the datacenter through a main gateway. 

The problem with this model is that it treats everything inside a specific segment as “trusted.” If an application and a database are on the same VLAN, they can usually talk to each other without restriction. If one is compromised, the other is at risk because the security at the network’s entry point has already been cleared.

Microsegmentation addresses “east-west” traffic, which is the communication that happens internally between servers and applications. By applying security policies at the individual workload level, enforcement is independent of the underlying physical network layout or VLAN a server sits on. Instead, software defines security based on the identity of the workload itself. 

The mechanics

Microsegmentation uses 3 core principles to secure a network:

  • Isolation: Workloads are kept separate unless a rule lets them communicate, contributing to a sovereign digital environment. For example, a development environment can be isolated from a production environment, even if they run on the same physical hardware.
  • Granular control: Security teams can write very specific rules. For example, instead of saying, “Server A can talk to Server B,” a rule might say, “The web server can talk to the database only via a specific port and only for specific types of data.”
  • Principle of least privilege: This means giving a workload only the minimum access it needs to do its job. If a service doesn’t need to connect to other systems, microsegmentation ensures it can’t. 

Software-based and policy-driven implementation

Because modern infrastructure is always shifting, you can’t secure it using manual hardware settings. VMs and containers spin up and down too fast for manual work.

Microsegmentation is software based and policy driven. Security policies exist as code. When a new VM or container starts, the system recognizes it and applies the relevant security tags and rules automatically. The security moves with the workload, no matter what physical server or cloud it uses.

Learn more about software-defined networking 

Red Hat OpenShift Virtualization learning hub

Microsegmentation offers a level of control and visibility that’s difficult, if not impossible, to achieve with traditional hardware-based networking. Here are microsegmentation’s primary benefits for modern IT environments:

Stronger security and limited lateral movement 

The most significant benefit of microsegmentation is containing breaches. In a flat network, an attacker that gains access to 1 low-priority system can often move freely to high-value targets, such as databases containing customer information.

By creating “segments of 1,” microsegmentation ensures that even if a single workload is compromised, the threat is isolated. The attacker is essentially trapped in a digital “room” with no door to the rest of the house.

Improved compliance and auditability

For industries governed by strict regulations, like healthcare or finance, microsegmentation simplifies the compliance process. It allows organizations to isolate systems that handle sensitive data from the rest of the network.

Because security policies are defined by software, auditors can easily see exactly which users are allowed to access which systems. This level of granular reporting makes it much simpler to prove that sensitive information is protected according to regulatory standards. 

Greater visibility and control over network traffic

You can’t protect what you can’t see. Microsegmentation tools provide deep visibility into “east-west” traffic patterns. Security teams can see exactly how different applications and services interact in real time. This visibility helps identify unusual behavior that might indicate a security threat or performance bottleneck.

Adaptability to modern IT environments

Traditional security rules are often tied to physical locations, like an IP address or a specific hardware port. In a cloud-native world, those locations change constantly as containers spin up and down. 

Microsegmentation is environment neutral. Because the security policy is attached to the workload—not the network hardware—the protection remains consistent whether the workload is running in an on-premise datacenter, a private cloud, or a public cloud environment.

Simplified management through automation

In a modern, microsegmented environment, security policies are automated. When a new application is deployed, it can automatically inherit the security policies it needs based on its role. This reduces the need for manual configuration by human administrators, which reduces the risk of human error.

Learn to configure network access with microsegmentation

For years, virtualization was the main source of datacenter efficiency, allowing multiple VMs to run on a single physical server. However, the move to virtualized environments created new vulnerabilities. Traditional hardware firewalls often can’t see the traffic moving between 2 VMs sitting on the same physical host. 

Without this internal visibility, security teams can’t always identify or block malicious lateral movement. And as organizations move toward cloud-native architectures and use both VMs and containers, this challenge grows. 

The limits of traditional segmentation in virtualized environments

Traditional segmentation relies on routing traffic out of the virtual host, through a physical firewall, and back into the virtual host to inspect it. This process creates massive performance bottlenecks and latency. It’s an inefficient way to secure a scalable environment. And in a dynamic virtualized environment, IP addresses and locations change frequently. Hardware-based rules are too rigid to keep up with VMs that constantly migrate or scale.

How microsegmentation supports scalable infrastructure

Microsegmentation solves these inefficiencies by decoupling security from the underlying physical hardware. Instead of forcing traffic to a central firewall, the security policy lives at the virtual network interface of each VM or container. 

This allows for: 

  • Performance at scale: Because security checks happen locally within the virtualized layer, there’s no need to send internal traffic on a long loop to external devices.
  • Consistency across environments: Whether a workload is a traditional VM or a modern container, microsegmentation provides a single way to manage security policies across the entire stack.
  • Mobility: When a VM moves from 1 physical host to another, its security perimeter moves with it automatically.

By integrating security directly into the virtualization layer, microsegmentation lets you scale your infrastructure rapidly without exposing internal systems.

Microsegmentation is most effective when applied to specific organizational goals. Common scenarios include: 

  • Securing hybrid cloud environments: Protects applications that span on-premise datacenters and multiple cloud providers with 1 consistent security policy.
  • Regulatory compliance: Isolates systems that handle sensitive financial or healthcare data (like credit card numbers or patient records) to meet strict audit requirements without having to wall off an entire network.
  • Protecting development and production: Ensures that a bug or a security gap in a testing environment can’t leak into the live production environment where customer data lives. 

While microsegmentation offers superior security, moving from a traditional network model to a microsegmented one requires careful planning.

Common challenges

  • Initial complexity: In a large organization, thousands of connections are happening at any given moment. Mapping these connections to understand what should talk to what can be daunting.
  • Policy management: As you create more segments, you create more policies. Without the right tools, managing thousands of individual security rules can be hard for human administrators.
  • Integration with existing tools: Microsegmentation must work alongside your existing security stack and infrastructure without causing performance issues or hidden risks.

Best practices for success

To overcome common microsegmentation challenges and ensure a smooth rollout, consider these industry best practices:

  • Start small: Don’t try to microsegment your entire datacenter overnight. Start with a well-defined application or a particular environment. Use these early projects to refine your policy-writing process.
  • Prioritize high-value assets: Focus your initial efforts on applications that handle sensitive customer data or are critical to business operations.
  • Automate where possible: Manual rulemaking is the enemy of scale. Use tools that can automatically discover traffic patterns and suggest security policies. Automation ensures that as your environment grows, your security grows with it.
  • Implement continuous monitoring: You should constantly monitor your network traffic to identify new communication patterns and adjust your policies as your applications evolve. 

Red Hat’s modern, modular approach to microsegmentation avoids the complexity and shelfware often associated with bloated, proprietary subscriptions. With Red Hat® OpenShift® Virtualization, you can manage VMs and containers on a single platform with consistent security policies. This lets you scale your infrastructure without being locked in to paying for capabilities you don’t need. 

Built on open source standards, Red Hat OpenShift is a modern application platform that supports a zero trust architecture by letting you enforce granular network policies at the workload level. This means every VM and container is isolated by default, protecting against internal threats. 

With Red Hat, you gain a flexible, future-ready security solution that integrates easily with your existing environment—without the overhead of a traditional, vendor-locked suite. 

Learn how to migrate VMs from VMware to Red Hat

Product

Red Hat OpenShift Virtualization

A feature of Red Hat OpenShift that seamlessly integrates virtual machines into a modern hybrid cloud infrastructure platform.

Training and certification for Red Hat OpenShift Virtualization

Explore courses from Red Hat Training and Certification to learn how to migrate, deploy, and manage virtual machines with Red Hat OpenShift® Virtualization.

Keep reading

How to create a virtual machine with an instance type

Find out how to create a virtual machine with an instance type in Red Hat OpenShift Virtualization using the Red Hat OpenShift console graphical user interface.

What is a virtual machine (VM)?

A virtual machine (VM) is an isolated computing environment created from a pool of hardware resources.

What is virtualization?

Virtualization is a technology that allows you to create virtual, simulated environments from a single, physical machine.

Virtualization resources

Related articles