Policy-preserving Middlebox Placement in SDN-Enabled Data Centers - - PowerPoint PPT Presentation

policy preserving middlebox placement in sdn enabled data
SMART_READER_LITE
LIVE PREVIEW

Policy-preserving Middlebox Placement in SDN-Enabled Data Centers - - PowerPoint PPT Presentation

Policy-preserving Middlebox Placement in SDN-Enabled Data Centers Bin Tang Computer Science Department California State University Dominguez Hills Some slides are from www.cs.berkeley.edu/~randy/Courses/CS268.F08/lectures/22-


slide-1
SLIDE 1

Policy-preserving Middlebox Placement in SDN-Enabled Data Centers

Bin Tang Computer Science Department

California State University Dominguez Hills

Some slides are from www.cs.berkeley.edu/~randy/Courses/CS268.F08/lectures/22- policy_switching.ppt, and www.cs.yale.edu/homes/yu-minlan/talk/sigcomm13.pptx

slide-2
SLIDE 2

Overview

  • What is middlebox?
  • What is SDN (Software Defined Network) and

NFV (Network Function Virtulization)?

  • Policy-preserving middlebox placement problem

in data centers

– Problems and preliminary solutions

  • Conclusions

2

slide-3
SLIDE 3

Middleboxes

  • A middlebox, or network appliance, is a

computer networking device that transforms, inspects, filters, or otherwise manipulates traffic for purposes other than packet forwarding.

– Intermediaries in-between the communica9ng hosts – O;en without knowledge of one or both par9es

  • Examples

– Network address translators – Firewalls – Load balancers – Intrusion detec9on systems – Transparent Web proxy caches

3

slide-4
SLIDE 4

Problem: Middleboxes are hard to deploy

  • Place on network path

pkt

network path

  • On path placement fails to achieve

Correctness Guaranteed middlebox traversal Flexibility (Re)configurable network topology Efficiency No middlebox resource wastage

Load Balancer Firewall

slide-5
SLIDE 5

Common data center topology

Internet

Servers Layer-2 switch

Access

Data Center

Layer-2/3 switch

Aggregation

Layer-3 router

Core

Firewall Load Balancer

slide-6
SLIDE 6

Inflexible topology

Internet

Intrusion Prevention Box Firewall Load Balancer

slide-7
SLIDE 7

Inefficient - middlebox resource wastage

Internet Process unnecessary traffic Unutilized

Backup path

slide-8
SLIDE 8

Policy-Preserving of MBs

S1 S2

8

Firewall Proxy IDS

Firewall IDS Proxy

*

Policy Chain:

Dst

slide-9
SLIDE 9

The Internet: A Remarkable Story

  • Tremendous success

– From research experiment to global infrastructure

  • Brilliance of under-specifying

– Network: best-effort packet delivery – Hosts: arbitrary applica9ons

  • Enables innova9on in applica9ons

– Web, P2P, VoIP, social networks, virtual worlds

  • But, change is easy only at the edge… L
slide-10
SLIDE 10

Inside the ‘Net: A Different Story…

  • Closed equipment

– So;ware bundled with hardware – Vendor-specific interfaces

  • Over specified

– Slow protocol standardiza9on

  • Few people can innovate

– Equipment vendors write the code – Long delays to introduce new features

Impacts performance, security, reliability, cost…

slide-11
SLIDE 11

Networks are Hard to Manage

  • Opera9ng a network is expensive

– More than half the cost of a network – Yet, operator error causes most outages

  • Buggy so;ware in the equipment

– Routers with 20+ million lines of code – Cascading failures, vulnerabili9es, etc.

  • The network is “in the way”

– Especially a problem in data centers – … and home networks

slide-12
SLIDE 12

Tradi9onal Computer Networks

Data plane: Packet streaming

Forward, filter, buffer, mark, rate-limit, and measure packets

slide-13
SLIDE 13

Tradi9onal Computer Networks

Track topology changes, compute routes, install forwarding rules

Control plane: Distributed algorithms

slide-14
SLIDE 14

So;ware Defined Networking (SDN)

API to the data plane (e.g., OpenFlow) Logically-centralized control Switches Smart Dumb, fast

slide-15
SLIDE 15

Open Innovation Network Functions Virtualisation Software Defined Networks

Creates operational flexibility Reduces Reduces CapEx, OpEx, space & power delivery time consumption Creates control abstractions to foster innovation. Creates competitive supply of innovative applications by third parties

3 Complementary but Independent Networking Developments

slide-16
SLIDE 16

Network Functions Virtualisation: Vision

Geneva, Switzerland, 4 June 2013 16

Classical Network Appliance Approach

BRAS Firewall DPI CDN Tester/QoE monitor WAN Accelera9on Message Router Radio/Fixed Access Network Nodes Carrier Grade NAT Session Border Controller PE Router SGSN/GGSN

  • Fragmented, purpose-built hardware.
  • Physical install per appliance per site.
  • Hardware development large barrier to entry for

new vendors, constraining innovation & competition.

Network Func9ons Virtualisa9on Approach

High volume Ethernet switches High volume standard servers High volume standard storage

Orchestrated, automatic & remote install.

Competitive & Innovative Open Ecosystem

Independent Software Vendors

slide-17
SLIDE 17

Policy-Preserving MB Placement Problem in Data Centers

slide-18
SLIDE 18

Core Switches Aggrega9on Switches Edge Switches : PM : VM

1 2 5 3 4 7 8 9 10 11 12 6 15 16 13 14 v2

v1

v2 v1

slide-19
SLIDE 19

MB Placement Problems

§ Many communica9on pairs in the network § Single MB Type

§ One MB type, say firewall, but mul9ple instances

§ Mul9ple MBs Type

§ each has one instance § Ordered Service Chaining § Unordered Server Chaining

§ Goal: Minimize total communica9on cost § Constraint: Capacity of MB (each can only process limited number of pairs)

19

slide-20
SLIDE 20

Single MB Case

§ Given a data center graph G(V,E) § There are m instances of a MB, placed at different node in V § A set of p communica9ng node pairs P, each pair (s,t) in P needs to traverse to an instance of a MB § Each middlebox can only be traversed by at most k pairs § When p = (s,t) traverses an MB instance m, its cost c(p,m) = d(s,sw(m) ) + d(sw(m),t) § Goal: assign all the pairs in P, each traverses one MB instance, s.t. the total cost is minimized, subject to that each MB instance takes at most k pairs.

20

slide-21
SLIDE 21

Solu9on – minimum cost flow

21

slide-22
SLIDE 22

p Communication Pairs s' t' (s1, t1) 1 m m MB instances Sink (1, 0) (1, 0) (1, 0) (k, 0) (k, 0) 2 3 (k, 0) (k, 0) (1, c(1,sw(1))) (1, c(p, m)) (1, c(1,sw(2))) Source (s2, t2) (sp, tp) (1, c(p, 1))

slide-23
SLIDE 23

Ordered Mul9ple MBs Case

§ Given a data center graph G(V,E) § There are m MBs M={mb1, mb2, …, mbm} to be placed inside the data center § A set of p communica9ng node pairs P, each pair (s,t) in P needs to traverse mb1, mb2, …, mbm in that order § The cost for p = (s,t) is c(p) = d(s, mb1) + d(mb1, mb2) + … + d(mbm-1, mbm) + d(mbm, t) § Goal: where to place the m MBs, s.t. the total cost of all p pairs is minimized

23

slide-24
SLIDE 24

Ordered Mul9ple MBs Case: Solu9on

§ NP-hard § Random: randomly place the m MBs inside the data center § Greedy: takes place in m rounds § In round i, it places mbi at a node that minimizes the total communica9on cost so far § Load Balancing: each switch can only accommodate limited number of communica9on pairs

24

slide-25
SLIDE 25

Un-Ordered Mul9ple MBs Case

§ Given a data center graph G(V,E) § There are m MBs M={mb1, mb2, …, mbm} to to be placed inside the data center § A set of p communica9ng node pairs P, each pair (s,t) in P needs to traverse mb1, mb2, …, mbm , but not necessarily in that order § The cost for p = (s,t) is c(p) = d(s, mbi,1) + d(mbi,1, mbi,

2) + … + d(mbi,m-1, mbi, m) + d(mbi, m, t)

§ Goal: where to place the m MBs, s.t. the total cost of all p pairs is minimized

25

slide-26
SLIDE 26

Un-Ordered Mul9ple MBs Case: Solu9on

§ Even more complicated that Ordered Mul9ple MB case

26

slide-27
SLIDE 27

MB Migra9on Problems

§ Many communica9on pairs in the network § Move MBs from their ini9al loca9on to other loca9ons § Goal: Minimize total communica9on cost § Constraint: Capacity of MB (each can only process limited number of pairs)

27

slide-28
SLIDE 28

MB Replica9on Problems

§ Many communica9on pairs in the network § Mul9ple MB types, each has one instance § Goal: How to replicate the MBs, in order to minimize total communica9on cost § Constraint: Capacity of switch (each can only store limited number of MB instances)

28

slide-29
SLIDE 29

Conclusions

  • Deploying middleboxes is hard, but SDN and

NFV makes it easier

  • Middleboxes management in SDN-enabled data

center is a new and exciting research fields

  • Many new algorithmic problems that have not

been solved

  • Need your participation!
slide-30
SLIDE 30

Questions?