Lightening_talk

Load Balancing as a
Service in CERN Cloud
&
Container Networking
18/08/2016
Vipin Rathi
Supervisor: Ricardo Racho
openlab summer
student 2016
IT-CM-RPS
Introduction
›
›
›
›
18/08/2016
In openstack environment load balancing can take
place either by agent or octavia.
LBaaS has two implementations available: v1 and v2.
LBaaS v1 has a limitation of one port per load balancer.
Whereas LBaaS v2 allows multiple ports (called
listeners) per load balancer.
LBaaS v1 was deprecated during the Liberty release.
Vipin Rathi
2
The Project Challenge
›
›
No Floating IPs in Neutron @ CERN
LBaaS in OpenStack
18/08/2016
LBaaS in CERN
Vipin Rathi
3
The Project Challenge
›
18/08/2016
Ease the deployment of Load Balancer
services, offering a web dashboard and a
set of well defined APIs.
Vipin Rathi
4
Octavia
›
›
›
›
18/08/2016
Octavia is a service-vm based LBaaS implementation
which uses haproxy on Nova.
Deploy Load balancer in virtual Machine.
The component of octavia that does load balancing is
known as Amphora.
The component of octavia that provides command and
control of the Amphora is the octavia controller.
Vipin Rathi
5
Octavia Controller
18/08/2016
Vipin Rathi
6
Results
18/08/2016
Vipin Rathi
7
Results
18/08/2016
Vipin Rathi
8
Results
18/08/2016
Vipin Rathi
9
Results
18/08/2016
Vipin Rathi
10
Proposed Solution Advantages
›
›
›
18/08/2016
Improved scalability and ease of use of the Load Balancer
solution at CERN.
Cost saving by reducing the total number of HAProxy
instances (shared between projects).
Improved usability as the load balancers can be managed
via the OpenStack Horizon dashboard or via APIs.
Vipin Rathi
11
The Project Impact
›
›
18/08/2016
Additional option to the existing DNS based load balancing
at CERN, reusing existing authentication, authorization and
the rest of the infrastructure.
Reduction of the number of resources to provide High
Availability as the existing haproxy services used by several
projects get replaced with a centralized solution.
Vipin Rathi
12
Current Status
›
18/08/2016
The service has been initially tested in
a development environment mimicking
the CERN infrastructure, and is now
deployed along the rest of the CERN
OpenStack cloud, ready to be tested in
a beta phase.
Vipin Rathi
13
Suggestions & Future Work
›
Further integration with the existing DNS load balancing solution.
18/08/2016
Vipin Rathi
14
Container Network Overlay VM’s
18/08/2016
Vipin Rathi
15
Container Networking Results
In Magnum
Driver
Kubernetes
In General
Swarm
Mesos
Flannel
supported
supported
unsupported
Docker
Overlay
Network
unsupported
supported
supported
18/08/2016
Vipin Rathi
16