Part 1: By Luca Relandini
When the world moved from bare metal servers to Virtual Machines (VMs), virtual networks were also created and added great value (plus some need for management). Of course virtual networks make the life of developers and servers managers easier, but they also add complexity for network managers: now there are two distinct networks that need to be managed and integrated. A physical and a virtual one.
With the advent of containers, their virtual networking layered on top of the VM virtual network (the majority of containers run inside VM for a number of reasons), though there are good examples of container runtime on physical hosts. So now you have 3 network layers stacked on top of each other, and the need to manage the network end-to-end makes it even more complex.
This increased abstraction creates some issues when you try to leverage the value of resources in the physical environment:
Do not despair: we will see that a solution exists for this mess.
Generally it is based on a pluggable architecture, so that you can use a plugin that is delegated by the container engine to manage the container’s traffic. You can choose among a number of good solutions from the open source community, including the default implementation from Docker.
Contiv unifies containers, VMs and bare-metal servers with a single networking fabric, allowing container networks to be addressable from VM and bare-metal network endpoints. Contiv combines strong network performance, support for industry-leading hardware, and an application-oriented policy that can move across networks together with the application.
Contiv’s goal is to manage the “operational intent” of your deployment in a declarative way, as you generally do for the “application intent” of your microservices. This allows for a true infrastructure as code management and easy implementation of DevOps practices.
Contiv provides an IP address per container and eliminates the need for host-based port NAT. It works with different kinds of networks like pure layer 3 networks, overlay networks, and layer 2 networks, and provides the same virtual network view to containers regardless of the underlying technology.
It works with all major schedulers like Kubernetes, Docker Swarm, Mesos and Nomad. These schedulers provide compute resources to your containers and Contiv provides networking to them. Contiv supports both CNM (Docker networking Architecture) and CNI (CoreOS and Kubernetes networking architecture).
Contiv has L2, L3 (BGP), Overlay (VXLAN) and ACI modes. It has built in east-west service load balancing. Contiv also provides traffic isolation through control and data traffic. It can also manage global resources: IPAM, VLAN/VXLAN pools.
Features that make Contiv the best solution for Microservices networking
I encourage you to have a look and test it yourself using the tutorial. It’s easy and not envisage at all, seeing is believing! In the next post we will take a deeper dive at the architecture with some examples.
[continued on next page]
Download the slides
Note: This is a cut-down blog, in order to read the full article, check out this link