Build the Next-Generation Data Center
6 week online course starting in spring 2017

Combine Physical and Virtual Appliances in a Private Cloud

I was running a fantastic Network Security in a Private Cloud workshop a few months ago (now you see how long blog posts can sit in my to-write queue). The discussions started (predictably) with the mission-impossible task of securing existing underdocumented applications, rigidity of networking team and their firewall rules and similar well-known topics.

The make all firewalls virtual and owned by the application team idea also encountered the expected resistance, but enabled us to start thinking in more generic terms.

Keep the Physical Firewalls

Nobody was willing to get rid of the physical firewalls separating the private cloud from the Internet. The idea of connecting the outside network straight to a set of servers (even though they might be in a separate cluster and running solely VM-based firewall appliances) was simply too radical.

However, we also quickly agreed that it doesn’t make sense to maintain thousands of firewall rules on the Internet-facing physical firewalls. Those firewalls should do the basic traffic scrubbing and potentially some content inspection. They could also be combined with IDS/IPS systems or traffic monitoring systems. Most importantly, these devices wouldn’t do any application-specific filtering. Their ruleset would be kept simple and thus easy to monitor and audit.

If you’re building a perimeter defense for a dedicated private cloud infrastructure that does not rely on external services, you might not need firewalls at all. Simple packet filters are more than good enough to block unwanted incoming traffic; stateful firewalls add value primarily in scenarios where inside clients access outside servers.

The outside perimeter built with trusted physical appliances would thus separate the Internet Wild West from a scrubbed (but still not very trusted) DMZ segment. Proxy servers, shared caching servers and some load balancers could connect straight to that segment.

Add the Applications

Individual application stacks would connect to the scrubbed DMZ segment through application-specific firewalls implemented in virtual machines (an approach known in Roman times as divide et impera).

The application teams could use vShield Edge, F5 BIG-IP VTM or any other VM appliance that offers firewalling and load balancing in the same VM instance, and the simpler single-VM applications might use VM NIC firewalls (available in one form or another in most private cloud ecosystems). Each VM appliance would contain the rules specific to the protected application, making configuration, monitoring and auditing relatively simple.

Most importantly, the security team would generate sample VM images that the application teams could deploy from a central catalog, making sure the application teams start with a well-configured initial state that they could use as-is or modify it for their own needs (obviously taking full responsibility for any deviation from the baseline).

Need More Information?

I can help you design a similar solution through one or more virtual meetings; we could also set up an on-site workshop with your team and your peers. For more technical details, check out my cloud infrastructure resources and register for the Designing Private Cloud Infrastructure webinar.

2 comments:

  1. I've worked with (physical) networks for some time, so please consider the underlying request....

    Why don't we have automated network ACL discovery... a 'pop up' if you will when building/installing a virtual server, requesting permissions for a new app?

    Why don't our Apps (OVA's etc) prompt for access, similar to Android. Fair enough a dev vApp might not have pre knowledge, but couldn't NSX/vswitch look at outgoing traffic? A profiling feature for the virtualisation team/App Owners, the vswitch knows the vserver name and the parent vapp.

    Definitely an ‘enterprise plus’ license feature :)

    ReplyDelete
    Replies
    1. They already do, they open sockets they need and that's it.

      If we could trust this we wouldn't need firewalls.

      Delete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.