infrastructure-as-a-service cloud computing for …...infrastructure-as-a-service cloud computing...

27
Infrastructure-as-a-Service Infrastructure as a Service Cloud Computing for Science April 2010 April 2010 Salishan Conference Kate Keahey [email protected] Nimbus project lead Argonne National Laboratory Computation Institute, University of Chicago Computation Institute, University of Chicago

Upload: others

Post on 26-May-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Infrastructure-as-a-Service Infrastructure as a Service Cloud Computing for Science

April 2010April 2010

Salishan Conference

Kate Keahey y

[email protected]

Nimbus project leadp j

Argonne National Laboratory

Computation Institute, University of ChicagoComputation Institute, University of Chicago

Page 2: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Cloud Computing for Science

Environment control

Resource control

Page 3: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

“Workspaces”

Dynamically provisioned environmentsDynamically provisioned environments Environment control

Resource control

Implementations Via leasing hardware platforms: reimaging, Via leasing hardware platforms: reimaging,

configuration management, dynamic accounts… Isolation

Via virtualization: VM deployment

Page 4: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

The Nimbus Workspace Service

Poolnode

Poolnode

Poolnode

Pool Pool Pool

VWSService

Poolnode

Poolnode

Poolnode

Poold

Poold

Pooldnode node node

Poolnode

Poolnode

Poolnode

Page 5: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

The Nimbus Workspace Service

The workspace service publishesPoolnode

Poolnode

Poolnode

Pool Pool Pool

information about each workspace

VWSService

Poolnode

Poolnode

Poolnode

Poold

Poold

Poold

Users can find outinformation about theirworkspace (e.g. what IP node node node

Poolnode

Poolnode

Poolnode

workspace (e.g. what IPthe workspace was

bound to)

Users can interact directly with their

workspaces the same th ld ith way the would with a

physical machine.

Page 6: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Nimbus: Cloud Computing for ScienceScience

Allow providers to build clouds Workspace Service: a service providing EC2-like functionality Workspace Service: a service providing EC2 like functionality WSRF and WS (EC2) interfaces

Allow users to use cloud computing Do whatever it takes to enable scientists to use IaaS Do whatever it takes to enable scientists to use IaaS Context Broker: turnkey virtual clusters, Also: protocol adapters, account managers and scaling tools

All d l t i t ith Ni b Allow developers to experiment with Nimbus For research or usability/performance improvements Open source, extensible software Community extensions and contributions: UVIC

(monitoring), IU (EBS, research), Technical University of Vienna (privacy, research)

Ni b i b j

5/11/2010 The Nimbus Toolkit: http//workspace.globus.org

Nimbus: www.nimbusproject.org

Page 7: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Clouds for Science: a Personal Perspectivea Personal Perspective

OOIFirst STAR productionrun on EC2

E i t l

OOIstarts

Xen released

EC2 released

Science Cloudsavailable

ExperimentalClouds forScience

2010200820062004

“A Case for Grid Computing on VMs”

In-Vigo, VIOLIN, DVEs,

Nimbus Context Broker

release

First Nimbusrelease

Dynamic accountsPolicy-driven negotiation

release

Page 8: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

STAR experiment p

Work by Jerome Lauret, Leve Hajdu, Lidia Didenko (BNL), Doug Olson (LBNL)

STAR: a nuclear physics experiment at Brookhaven National LaboratoryNational Laboratory

Studies fundamental properties of nuclear p pmatter

Problems: Complexity

Consistency

Availability Availability

Page 9: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

STAR Virtual Clusters

Virtual resourcesA i t l OSG STAR l t OSG h d d ( id fil A virtual OSG STAR cluster: OSG headnode (gridmapfiles, host certificates, NFS, Torque), worker nodes: SL4 + STAR

One-click virtual cluster deployment via Nimbus Context B kBroker

From Science Clouds to EC2 runs

Running production codes since 2007

The Quark Matter run: producing just-in-time results for a conference: http://www.isgtw.org/?pid=1001735

Page 10: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Priceless?

Compute costs: $ 5,630.30 300+ nodes over ~10 days 300+ nodes over ~10 days, Instances, 32-bit, 1.7 GB memory:

EC2 default: 1 EC2 CPU unit High CPU Medium Instances: 5 EC2 CPU units (2 cores) High-CPU Medium Instances: 5 EC2 CPU units (2 cores)

~36,000 compute hours total

Data transfer costs: $ 136.38 Small I/O needs : moved <1TB of data over duration

Storage costs: $ 4.69 Images only, all data transferred at run-time Images only, all data transferred at run time

Producing the result before the deadline…

…$ 5,771.37

Page 11: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Cloud BurstingALICE: Elastically Extend a Grid Elastically Extend a cluster

React to EmergencyOOI: Provide a Highly Available Service

Page 12: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Hadoop in the Science Clouds

U of FloridaU of Chicago

Hadoop cloud

Papers:

Purdue

“CloudBLAST: Combining MapReduce and Virtualization on Distributed Resources for Bioinformatics Applications” by A. Matsunaga, M. Tsugawa and J. Fortes. eScience 2008.

“Sky Computing” by K Keahey A Matsunaga M Tsugawa J

5/11/2010 The Nimbus Toolkit: http//workspace.globus.org

Sky Computing , by K. Keahey, A. Matsunaga, M. Tsugawa, J. Fortes, to appear in IEEE Internet Computing, September 2009

Page 13: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Genomics: Dramatic Growth in the Need for Processingg

• moving from big science (at centers) to many players• democratization of sequencing

tl h d t th h dl

$240,000$300,000

$600,000$900,000

$300,000

$• we currently have more data than we can handle

$120,000

$30,000 $30,000 $30,000

$45,000

$30 000

Bioinformatics

Sequencing

$3 500

$7,000

$15,000 $15,000 $15,000

$30,000 Sequencing

$3,500

$3,000

0.5 1 30 60 98 196 294

454 Solexa Next gen Solexa

GB

From Folker Meyer, “The M5 Platform”

Page 14: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Ocean Observatory Initiative

CI: Linking the marine infrastructure to science and

users

Page 15: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Benefits and Concerns Now Benefits

Environment per user (group)

On-demand access

“We don’t want to run datacenters!”

Capital expense -> operational expense

Growth and cost management

Concerns Performance: “Cloud computing offerings are

good, but they do not cater to scientific needs”

Price and stability

P i Privacy

Page 16: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Performance (Hardware)

Challengesg Big I/O degradation

Small CPU degradation

Ethernet vs Infiniband No OS bypass drivers,

no infiniband

From Walker, ;login: 2008

no infiniband

New development OS bypass drivers

Page 17: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Performance (Configuration)

Trade-off: CPU vs I/O Trade off: CPU vs. I/O

VMM configuration Sharing between VMsg

“VMM latency”

Performance instability

Multi-core opportunity

A price performance trade-off From Santos et al Xen Summit 2007off From Santos et al., Xen Summit 2007

Ultimately a change in mindset: “performance matters”!Ultimately a change in mindset: performance matters !

Page 18: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

From Performance……to Price-Performance…to Price Performance

“Instance” definitions for science I/O oriented, well-described

Co-location of instances

To stack or not to stack

Availability @ price point CPU: on-demand, reserved, spot pricing

Data: high/low availability?

Data access performance and availability

Pricing Finer and coarser grained

Page 19: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Availability, Utilization, and Cost/PriceAvailability, Utilization, and Cost/Price

Most of science today is ydone in batch

The cost of on-demand

Overprovisioning or request failure?

Clouds + HTC = marriage made in heaven?

Spot pricing Spot pricingcourtesy of Rob Simmonds,example of WestGrid utilization

Page 20: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Data in the Cloud Storage clouds and SANs

AWS Simple Storage Service (S3)

AWS Elastic Block Store (EBS)

Challenges Bandwidth performance and sharing

Sharing data between users

Sharing storage between instances

Availability

Data Privacy (the really hard issue)Descher et al., Retaining Data Control in Infrastructure Clouds ARES (the International Dependability Clouds, ARES (the International Dependability Conference), 2009.

Page 21: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Cloud Markets

Is computing fungible? What if my IaaS provider Is computing fungible?

Can it be fungible?Di di

What if my IaaS providerdouble their prices

tomorrow?

Diverse paradigms: IaaS, PaaS, SaaS, and other aaS..other aaS..

Interoperability

Comparison basisp

Page 22: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

IaaS Cloud Interoperability

Cloud standardsOCCI (OGF) OVF (DMTF) d OCCI (OGF), OVF (DMTF), and many more…

Cloud-standards.org

Cl d b t ti Cloud abstractions Deltacloud, jcloud, libcloud, and many

moremore…

Appliances, not images rBuilder BCFG2 rBuilder, BCFG2,

CohesiveFT, Puppet, and many more…

Page 23: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Can you give us a better deal?

In terms of… Performance, deployment, data access, price

Based on relevant scientific benchmarks

Comprehensive, current, and public

The Bitsource: CloudServers vs EC2 LKC Cost by Instance

Page 24: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Science Cloud Ecosystem

Goal: time to science in clouds -> zero

Scientific appliances Scientific appliances

New tools “t nke cl ste s” clo d b sting etc “turnkey clusters”, cloud bursting, etc.

Open source important

Change in the mindset Change in the mindset

Education and adaptation “Profiles” “Profiles”

New paradigm requires new approaches

Teach old dogs some new tricks Teach old dogs some new tricks

Page 25: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

The Magellan Project

Joint project: ALCF and NERSC Funded by DOE/ASCR ARRA

QD

R

File Servers (8) (/home) 160TB

ESNeESNeCompute

504 Compute Nodes Infin

iBan

d

Login Nodes (4)

ESNe

s

ESNet

10Gb/s

Ag

gre

gat

50 o pu odNehalem Dual quad-core 2.66GHz24GB RAM, 500GB DiskQDR IB link

Totals4032 Cores, 40TF Peak12TB RAM, 250TB Disk Apply at:

http://magellan.alcf.anl.govd S

witch

ion

Sw

itch

Ro

ute

http://magellan.alcf.anl.gov

ANI100 Gb/s

Gateway Nodes (~20)

h er

Page 26: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

The FutureGrid Project NSF-funded experimental testbed (incl. clouds) ~6000 total cores connected by private network

Apply at:f dwww.futuregrid.org

Page 27: Infrastructure-as-a-Service Cloud Computing for …...Infrastructure-as-a-Service Cloud Computing for Science April 2010 Salishan Conference Kate Keahey keahey@mcs.anl.gov Nimbus ppjroject

Parting Thoughts Opinions split into extremes:

“Cloud computing is done!”p g

“Infrastructure for toy problems”

The truth is in the middle We know that IaaS represents a viable

paradigm for a set of scientific applications…

…it will take more work to enlarge that set

Experimentation and open source are a catalyst

Challenge: let’s make it work for science! Challenge: let’s make it work for science!