Top Banner
Avoiding Cloud Lock-in Sebastien Goasguen Geek Speak Local October 23rd Paris, France
45
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Avoiding cloud lock-in

Avoiding Cloud Lock-in

Sebastien GoasguenGeek Speak Local October 23rd

Paris, France

Page 2: Avoiding cloud lock-in

Disclaimer

• I work for Citrix as a Cloud Computing Evangelist,

focused on Apache CloudStack

• Quite a few slides are from Mark Hinkle

• The Slides are in English because I would have

made too many grammatical mistakes in French

That’s what 14 years in the US do to you.

Page 3: Avoiding cloud lock-in

User concerns about moving to the cloud (from Rightscale, 2009)

3

Sou

rce: http

://blog

.rightsca

le.co

m/2

00

9/02

/19

/the

-skinny-o

n-clo

ud

-lock-in

/

Page 4: Avoiding cloud lock-in

Outline

•Cloud Computing Definition

•Open Source, Open Standards Open APIs

•Cloud Standards

•Best practices for avoid cloud lock-in

4

Page 5: Avoiding cloud lock-in

Google trends

•Cloud computing trending down, while “Big Data” is booming. Virtualization remains “constant”.

Start of “Clouds”

Page 6: Avoiding cloud lock-in

BigData on the Trigger

•Cloud Computing Going down to the “through of Disillusionment”

• “Big Data” on the Technology Trigger

Page 7: Avoiding cloud lock-in
Page 8: Avoiding cloud lock-in

NIST Definition of Cloud

•"cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.“ – NIST

Page 9: Avoiding cloud lock-in

NIST Service/Deployment Models

•Service Models:• IaaS (e.g EC2, rackspace)• PaaS (e.g GAE, Azure)• SaaS (e.g Gapps)

•Deployment model:• Private cloud• Public cloud• Hybrid cloud (Private than can use Public)

Page 10: Avoiding cloud lock-in

Deployment Models

10

Page 11: Avoiding cloud lock-in

NIST Key Characteristics of Cloud•Elasticity

• Expands and Shrinks as needed• E.g Elastic Load Balancing, Elastic Map Reduce

•Measured Service• Utility Pricing. You pay for what you use• E.g $0.08 for one hour of small instance

•On-demand• You get it when you ask for it• E.g One api call and you get your machine, ~no

queue

Page 12: Avoiding cloud lock-in

•What ? Lock-In – Costs to switch cloud providers/vendors are

prohibitive

•How ?• Ability to build own private clouds (*aaS) with Open Source

Software• Ability to import/export data on-demand in non-proprietary

format• Availability of multiple providers with interoperable interfaces

• Open Source, Open Data, Open APIs

12

Page 13: Avoiding cloud lock-in

Even vendors know that party is ending…

13

CCA –NC : -M

icrosoft htt

p://ww

w.m

icrosoft.com

/global/en-us/news/publishingim

ages/images/features/2010/02-01Interop_lg_Page.jpgCC-byA

Page 14: Avoiding cloud lock-in

Outline

•Cloud Computing Ontology

•Open Source, Open Standards Open APIs

•Cloud Standards

•Best practices for avoid cloud lock-in

14

Page 15: Avoiding cloud lock-in

Open source•Consume on your terms, not

your vendors

•Transparency into features,

code, and process

•Vibrant user communities

•Multi-vendor Ecosystems

Page 16: Avoiding cloud lock-in

Apache Process•100% community driven•New ideas, decisions only taken on mailing lists.•Votes taken by community•Project led by Project Management Committee (PMC):

•http://www.apache.org/dev/pmc.html•http://incubator.apache.org/guides/committer.html

•Non committers get invited as committers:•http://community.apache.org/newcommitter.html

Page 17: Avoiding cloud lock-in

Apache Processes

Page 18: Avoiding cloud lock-in

Open data

•Utilize open formats

• Google’s Data Liberation Front -

http://www.dataliberation.org/

•Understand cost to (re)move data

•Test network between providers (transfer rates)• Or do you really want to Fedex your drives ?

•Look for Multi-Vendor Ecosystems

18

Page 19: Avoiding cloud lock-in

Open APIs•Every cloud has an API but is it

copyrightable?

-- Oracle says so, Google says No!

•Defacto standard for IaaS is the Amazon API

•Cloud Abstractions can provide a “common

API”

•Abstractions keep your options open

19

Page 20: Avoiding cloud lock-in

Why now ? Evolution of the Mashup Revolution

thanks to an API “explosion”

Page 21: Avoiding cloud lock-in

Software as a Service

Page 22: Avoiding cloud lock-in

API issues

Page 23: Avoiding cloud lock-in

CloudStack very extensive API

Open API, but really its own

Mapping from EC2 API to CloudStack API (but…not complete)

Similar situation with Opennebula and Openstack

Page 24: Avoiding cloud lock-in

API adapters to the rescue

Page 25: Avoiding cloud lock-in

Outline

•Cloud Computing Ontology

•Open Source, Open Standards Open APIs

•Cloud Standards

•Best practices for avoid cloud lock-in

25

Page 26: Avoiding cloud lock-in

There’s nothing standard, about cloud standards.

Mark Hinkle –a.k.a The Boss -

26

Page 27: Avoiding cloud lock-in

DMTF – OVF and CIMI

• OVF first official Cloud Standard

• Open Virtualization Appliance (OVA) single

file alternative, Virtual Box appliance.

• CIMI (Standard for Infrastructure

provisioning and configuration)

• Orange Labs has a CIMI implementation

called SIROCCO as well as a native CIMI

API in Java.

27

Page 28: Avoiding cloud lock-in

OASIS TOSCA

• Topology and Orchestration Specification for

Cloud Applications (TOSCA)

• Portable deployment to any compliant cloud

• Smoother migration of existing applications

to the cloud

• Flexible bursting (consumer choice)

• Dynamic, multi-cloud provider applications

Page 29: Avoiding cloud lock-in

Storage Networking Industry Association (SNIA)

• Cloud Data Management

Interface (CDMI)

• Tag your data with special meta

data

• Indicates to cloud storage

provider (backup, archive,

encryption, etc.)

29

Page 30: Avoiding cloud lock-in

Official Cloud Standards•OVF (packaging of virtual appliances)

now an ANSI standard. Developed by DMTF

•OCCI (~EC2 spec), from OGF •Definition of Cloud from NIST now

accepted widely•cloud-standards.org brings together

main SDOs.

Page 31: Avoiding cloud lock-in

OCCI

Page 32: Avoiding cloud lock-in

OCCI implementation

Page 33: Avoiding cloud lock-in

How About the IETF ?

•IETF survey to identify “work items” in cloud standards (July 2012): • “This draft presents a survey of the industry work

items related to cloud activities. By conducting a comprehensive survey, work items in cloud standards can be determined. This will allow us to determine the IETF work that would be required to address the work items. Once these IETF work have been completed, seamless interoperability of cloud services can be realized.”

Page 34: Avoiding cloud lock-in

Related standards•HTTP(s)•JSON, It is based on a subset of the

JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999

•OAuth and OPenID (for authentication and authorization)

•REST is not a standard, it’s an architectural sytle that gives guidelines on managing web resources

Page 35: Avoiding cloud lock-in

Open “Alliances”•Not standard organizations•Open Networking Foundation (Software

Defined Networking, maintains Openflow specification)

•Open Compute project (Former Facebook project, shares designs/guidelines for efficient data center)

•Open Data Center Alliance (User advocate)

Page 36: Avoiding cloud lock-in

Networking standards: OpenFlow

•Leading SDN protocol•Decouples control and data plane by giving a controller the ability to install flow rules on switches.•Hardware or software switches can use OpenFlow•Spec driven by ONF

•Google achieved 95% utilization of WAN backbone by using SDN

Page 37: Avoiding cloud lock-in
Page 38: Avoiding cloud lock-in

Outline

•Cloud Computing Ontology

•Open Source, Open Standards Open APIs

•Cloud Standards

•Best practices for avoiding cloud lock-in

38

Page 39: Avoiding cloud lock-in

We have a long way to go to avoid cloud lock-in

• Nascent industry

• Lack of standards

• Evolving technologies

• Follow best practices

39

Page 40: Avoiding cloud lock-in

Key tenants for avoiding cloud lock-in

•Easily replicable infrastructure

•Avoid proprietary cloud features

when possible

•Abstract APIs as much as practical

•Look for multiple vendor ecosystems

•Use open source software

Page 41: Avoiding cloud lock-in

Avoid SaaS Lock-In

•Know the consequences, SaaS has the most potential

for lock-in

•Unique apps will lock you in, no proxy for those

services

•Data should be free, export and back-up regularly

•Test to see if that data is transferrable to new services41

Page 42: Avoiding cloud lock-in

Avoiding PaaS lock-in

•Make sure programming models based on open standards

•Are there a variety of tools—IDEs, analytics, management,

etc.—available

•Do multiple vendors provide support and/or equivalent

hosted services

•Large, capable talent pool for the domain technology

42

Page 43: Avoiding cloud lock-in

Avoid IaaS Lock-In

•Use API abstractions when possible

•Consider virtualization choices carefully

•Understand network considerations to migrate between

clouds

• Include other cloud providers in your cloud design plans

43

Page 44: Avoiding cloud lock-in

Conclusions•Every type of infrastructure migration has some cost (time,

capital, usage)

•Interoperability/portability standards are evolving and

market-driven

•Good planning can mitigate lock-in risks

•Look at automation practices to keep pace with your

cloud. Look into Agile culture to build able to build and

deploy anywhere, anytime

Page 45: Avoiding cloud lock-in

Info

@sebgoa sebgoa on IRC [email protected]://slideshare.net/sebastiengoasguen