stratos : a network-aware orchestration layer for middleboxes in the cloud

19
Stratos: A Network-Aware Orchestration Layer for Middleboxes in the Cloud Aditya Akella, Aaron Gember, Anand Krishnamurthy, Saul St. John University of Wisconsin-Madison 1

Upload: leora

Post on 25-Feb-2016

67 views

Category:

Documents


1 download

DESCRIPTION

Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud. Aditya Akella , Aaron Gember , Anand Krishnamurthy, Saul St. John University of Wisconsin-Madison. Today’s cloud offerings. Compute and storage are first-class entities Rich management interfaces Easy elasticity - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

1

Stratos: A Network-Aware Orchestration Layer for

Middleboxes in the CloudAditya Akella, Aaron Gember,

Anand Krishnamurthy, Saul St. JohnUniversity of Wisconsin-Madison

Page 2: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

2

Today’s cloud offerings• Compute and storage are first-class entities– Rich management interfaces– Easy elasticity

• What about network services (middleboxes)?

[Sherry et al., SIGCOMM 2012]

Limited cloud-provided middleboxesThird party virtual middlebox images

Page 3: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

3

VM

• Difficult to deploy complex functionality• Difficult to manage• Difficult to cost-effectively scale

Insufficient support for middleboxes

VM VM

VM

VMAppB

AppB

AppA

VM

Page 4: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

4

Stratos

Network-aware orchestration layer for middleboxes in clouds

• Elevates network services to a first-class entity• Exports a logical view (middlebox chains) to tenants• Performs application-specific, network-aware scaling• Minimizes network effects => ↑ utilization and ↓ cost• Requires no knowledge of/changes to middleboxes• Driven completely by software (leverages SDN)

Key to Stratos: network awareness

Page 5: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

5

Rack A Rack B

Why network awareness – I• Scale based on resource consumption

App

Low CPU Usage

Congestedlink

Requestbacklog

• Ignoring the network insufficient scaling

Page 6: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

6

Why network awareness – II

App

Scaling doesn’t help

Requestbacklog

• Place VMs without regard to the network

• Ignoring the network ineffective scaling

Page 7: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

7

Rack A

Rack B

• Equally divide traffic among middleboxes

Why network awareness – III

1/2 of traffictraverses

inter-rack link

• Ignoring network over-utilized network• Network bottlenecks spurious scaling

Page 8: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

8

Stratos Controller

Stratos architecture

VM Manager

Placement

Flow Distribution

A

B

SoftwareSDN Switches

100

250470

360 680730

Scaling

Page 9: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

9

Stratos scaling• Based on end-to-end application performance– Implicitly compute- and network- aware

• Occurs at the granularity of chains

• Triggers– Scale up: ↑ chain-traversal latency

OR existence of unserved demand– Scale down: ↓ request throughput

AND ≈ constant chain-traversal latency

Page 10: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

• Scaling trials on a chainIf ↓ Latency OR ↓ demand backlog:

Keep and try anotherElse: Discard and move on

• Fallback: scale all• Also supports scale down and multiple chains

App Server

Stratos scaling (single chain)

10

500 ms400 ms395 ms

Page 11: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

11

Stratos Controller

Stratos architecture

VM Manager

Flow Distribution

A

B

SoftwareSDN Switches

100

250470

360 680730

Scaling

Placement

Page 12: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

13

Scaled instance placement

A

B

B

A

If space with input/output VMs: Co-locate in same rackElse Foreach rack i bwci = b/w consumed if use rack i Pick rack with min bwci

Page 13: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

14

Stratos Controller

Stratos architecture

VM Manager

A

B

SoftwareSDN Switches

100

250470

360 680730

Scaling

Placement

Flow Distribution

Page 14: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

15

• Goal: minimize network effects

• Triggers– Scaling (tenant-specific)– Periodically (all tenants)

Network-aware flow distribution

Rack A

Rack B

1/6 of traffic

(instead of 1/2)

Linear ProgramInput: tenant chain, incoming traffic

volume, traffic ratios, placementMinimize: overall “cost” (aggregate

traffic traversing inter-rack links)Subject to: ≈ equal load; coverage

Page 15: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

16

Floodlight

Xen

Implementation

dom0

domU

Open vSwitch

eth0Stratos

Controller

Page 16: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

17

Implementation – tagging• Controller assigns tags to each flow– Tag identifies path through specific instances– Weighted round-robin assignment of tags to flows

• Packets tagged (use DSCP bits) at ingress switch• “Interior” switches forward based on tag

Open vSwitch Open vSwitch Open vSwitch Open vSwitch

App

Tag Packets Forward based on tag

Page 17: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

18

Evaluation: Placement & Distribution

Spurious scalingUnmet demand

Spurious scaling(not pronounced)Unmet demand

Page 18: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

Evaluation: Scaling

19

Scaling/Placement/Distribution

Aware – oursThresh - CPU

Aware – oursRand - random

Aware – oursUni - uniform

A

2X fewer

Unmet demand

Page 19: Stratos : A Network-Aware Orchestration Layer for Middleboxes in the Cloud

20

Stratos Summary

Network-aware orchestration layer for middleboxes in clouds

• Makes middleboxes first-class citizens• Minimizes network interactions• Maximizes efficiency for tenants and providers• Driven by software-defined networking