21
The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science Technion — Israel Institute of Technology HotCloud 2012 Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 1/18

The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

The Resource-as-a-Service (RaaS) Cloud

Orna Agmon Ben-Yehuda Muli Ben-YehudaAssaf Schuster Dan Tsafrir

Department of Computer ScienceTechnion — Israel Institute of Technology

HotCloud 2012

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 1/18

Page 2: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

What will be the New Thing After IaaS?

Recent IaaS Trends:

The shrinking duration of rental periods

The increasingly fine-grained resources offered for sale

The provisioning of useful service level agreements (SLAs)

These trends and the economy will drive IaaS to turning intoRaaS.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 2/18

Page 3: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Trend: Granularity of Duration of Rent

3 years on average: buying hardware

Months: web hosting

Hours: EC2 on-demand (pay-as-you-go)

5 minutes: CloudSigma, EC2 Spot Instances(pay-as-you-go)

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 3/18

Page 4: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Extrapolation: Granularity of Duration of Rent

Clients want to pay for resources only when they needthem.

Clients need extra resources to be allocated withinseconds (e.g., when slashdotted)

Phone charges are advancing from minutes to singleseconds.

Phone companies were driven by consumer pressure andcourt orders.

We extrapolate that cloud resources will be rented by thesecond.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 4/18

Page 5: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Trend: Resource Granularity

Most cloud providers sell fixed bundles, called “instancetypes” or “server sizes”.

Amazon allows adding and removing of “networkinstances” and “block instances”, thus dynamicallychanging I/O resources.CloudSigma offers clients to compose a flexible bundle.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 5/18

Page 6: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Extrapolation: Resource Granularity

As physical servers increase, an entire server may be toomuch for a single client.

Renting a fixed bundle may waste client resources, even ifits requirements stay the same over time. For example, ifthe client can only use 7 cores, why should it rent 8?

We extrapolate that clients will rent a basic bundle, anddynamically supplement it with resources in fine granularity.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 6/18

Page 7: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

A job half done

If only the first two trends culminate as described, then clientscan finally optimize their resource use.However, this is not enough to guarantee a green, efficientcloud. Would they really optimize? Will they optimize the righttarget function for a green cloud?

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 7/18

Page 8: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Trend: Service Level Agreements

Most cloud providers account for rigid availability only (“themachine is accessible”).

GoGrid and CloudSigma provide guarantees in terms ofminimal actual delivered capacity (latency, packet loss andjitter).

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 8/18

Page 9: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Economy of Service Level Agreements

Benchmarks show great variance in the performance ofsupposedly similar cloud instances.Different clients need different guarantees: a bank will payfor 100% availability. A small business may settle for a 95%guarantee.Client valuations of performance and resources differ andare private information.Some researchers (Padala’09, Heo’09, Nathuji’10) arguefor selling client performance and measuring it. Thisconcept is impossible for a real commercial IaaS black boxclient.

IaaS Providers cannot sell performance. They must keepselling resources.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 9/18

Page 10: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Extrapolation: Service Level Agreements

We extrapolate that:

Client pressure for efficiency will drive providers to supplylevels of quality service: “For 90% of the time” or just “for80% of the time”.

Low-QoS clients will be willing to pay less than high-QoSclients.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 10/18

Page 11: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Economic Forces Acting on the Provider

Economic mechanisms will be required inside a machine.

The provider must keep spare resources for high-QoSclients.

The provider can let low-QoS clients use the spareresources, subject to availability.

The provider must mix low QoS clients with high QoSclients.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 11/18

Page 12: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Economic Forces Acting on the Client

Clients aim to buy exactly what they need, to save onexpenses.

And since providers aim to sell clients what they want tobuy, to gain and retain clients...

CPU is rented by cycles, memory is rented by the page,I/O is rented by bandwidth.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 12/18

Page 13: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Economic Forces Leading to the RaaS Cloud: Result

Both clients and providers must continuously decide whatto buy and when to buy it.The fine rent time granularity and bundle flexibility makesdecision making a core function.Both providers and clients will use economic agentsoftware to handle decision making and economicinteraction.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 13/18

Page 14: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

The RaaS Cloud

Application

Resource

Perf(resource)

Value(perf)

Strategy Adviser

Strategic Agent

Resource Controller

Host Guest

Host Agent

Communicator

Decision Maker

Communicator

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 14/18

Page 15: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

The Guest Agent

Changes the desired amount of resources on asecond-by-second basis.

Negotiates

Trades in the futures market.

Sublets.

Is not mandatory: dumb clients are still supported, with thesame inefficiency of today’s IaaS clouds.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 15/18

Page 16: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

The Host Agent: Market Driven Resource Allocation

Has a view of the global picture (total system resources,change predictions)

Dictates economic mechanisms and protocols.

Allocates resources according to agreements.

Uses the resources to verify that high-QoS clients aresatisfied, possibly at the expense of low-QoS clients on thesame machine, and given the specific current needs ofeach client.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 16/18

Page 17: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Implications, Challenges, Opportunities

A client software stack (applications, libraries, OS) thatutilizes resources for short durations and trades them off.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 17/18

Page 18: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Implications, Challenges, Opportunities

Economic (game theoretic) mechanisms for multi-resourceallocation with different QoS levels.

RealisticIncentive compatibleCollusion-resistantComputationally efficient at large scaleOptimizes the provider’s revenue or a social welfarefunctionMinimizes the price of anarchy

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 17/18

Page 19: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Implications, Challenges, Opportunities

Technical mechanisms for handling resource (re)allocation,metering and charging:

efficient,reliable,and resistant to side channel attacks.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 17/18

Page 20: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Implications, Challenges, Opportunities

Balancing guests across a data-center to createheterogeneous mixes of QoS levels on each machine.

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 17/18

Page 21: The Resource-as-a-Service (RaaS) Cloud - USENIX · The Resource-as-a-Service (RaaS) Cloud Orna Agmon Ben-Yehuda Muli Ben-Yehuda Assaf Schuster Dan Tsafrir Department of Computer Science

Questions?

Contact us at:{ladypine, muli, assaf, dan } at cs.technion.ac.ilThank You!

Agmon Ben-Yehuda, Ben-Yehuda, Schuster, Tsafrir Resource-as-a-Service (RaaS) 18/18