21
Network Virtualization with MidoNet in CloudStack YOSHI TAMURA Midokura Jun 23, 2013

Network Virtualization with MidoNet in CloudStack

Embed Size (px)

DESCRIPTION

Network Virtualization with MidoNet in CloudStack Presented at CloudStack Collaboration Conference, June 2013 in Santa Clara, by Yoshi Tamura and Dave Cahill

Citation preview

Page 1: Network Virtualization with MidoNet in CloudStack

Network Virtualization with MidoNet in

CloudStack

YOSHI TAMURAMidokura

Jun 23, 2013

Page 2: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

Hello CloudStack community!

2

YOSHI TAMURAProduct Manager, Midokura

Page 3: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

Agenda

3

Midokura’s focus Challenges in IaaS Cloud Network Introduction to MidoNet MidoNet and CloudStack (Dave

Cahill)

Page 4: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

IaaS Cloud – Elasticity and Automation

4

Photo Credit: skarpi - www.skarpi.is via Compfight cc

Page 5: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

Midokura’s Focus

5

Photo Credit: dampoint via Compfight cc

Page 6: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

Let’s build a network for IaaS Cloud !

6

Flat L2 network!It’s simple!

Page 8: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

Let’s build a network for IaaS Cloud !

8

How aboutVLAN then!?

Page 10: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved 10

Actually, we want L3 too…

Firewall andLoad Balancer

please!

Let’s build a network for IaaS Cloud !

Page 12: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

Requirements for IaaS Cloud Network

12

Page 13: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved 13

Isolated tenant network (virtual data center)

L3 isolation (similar to VPC and VRF)

Isolated L2 networks

Redundant, optimized and fault-tolerant paths to the

Internet (e.g. via BGP)

Fault-tolerant devices and links

NAT, LB, Filtering NAT, LB, and

Firewalls L3 (and L2)

VPNs

Minimize ARP broadcasts by exploiting CMS config

RESTful API for CMS

Solid integration with leading open CMS

DHCP, DNS and other services

Requirements for IaaS Cloud Network

Page 15: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved

VLAN

15

4096 limit on number of unique tagsLarge spanning trees terminating on many hostsHigh churn in switch control planes due to MAC

learningNeed MLAG for L2 multi-path (vendor specific)

VLAN1

VLAN2

Page 16: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved 16

Mostly used by Carriers/Telco but too much for IaaS

Network gear could be very expensive

MPLS VPN

tag

tag

Page 17: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved 17

Not scalable to cloud scaleExpensive hardwareNot fault tolerant (HSRP?)L2 and L3 isolation. What about NAT, LB, FW?

c.f. : http://infrastructureadventures.com/tag/vrf-lite/

CoreVLAN 10VLAN11VLAN12

ProductVLAN 20VLAN21VLAN22

Sales

VLAN 99

VRF VRF VRF

VRF

Page 18: Network Virtualization with MidoNet in CloudStack

18

Can we do this better?

Page 19: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved 19

VM

VMEdge

EdgeEdge

Edge Edge

Edge

Virtual network changes don't

affect underlay state

Use scalable IGP to build multi-path underlay with cheap HW

IP encapsulation provides isolation without using

VLAN

Decoupled from physical network.

Wired once

Edge-to-Edge Overlays

Page 20: Network Virtualization with MidoNet in CloudStack

Overlays are the best approach!

But not sufficient...

We still need a scalable control plane.

20

Page 21: Network Virtualization with MidoNet in CloudStack

Copyright ©2012 Midokura All rights reserved 21

VM

VM

DB

DB

DB

Internet

EdgeMN EdgeMN

EdgeMN

Edge

MN

Edge

MN

Edge

MN

Our solution ➡ MidoNet

Stores Virtual

NW configs

Transmits the packets

through the tunnel

Emulates the whole NW

topology at ingress