forecast 2014: cloud-aware applications

27
THE OPEN DATA CENTER ALLIANCE: CLOUD-AWARE APPLICATIONS Catherine Spence Chair, Technical Coordination Committee, ODCA IT principal Engineer, Intel Dave Casper Chair, Infrastructure Work Group, ODCA CTO, North America, Moogsoft

Upload: open-data-center-alliance

Post on 20-Jun-2015

204 views

Category:

Technology


1 download

DESCRIPTION

Leveraging the unique benefits of the cloud requires a specialized approach to application architecture. The right design enables business agility, massive scaling, ability to burst, and high resiliency. Plus, it promotes resource efficiency and can minimize costs. If you are involved in providing applications or services in the cloud, attend this session to learn the principles of cloud-aware application design and to explore emerging architectural patterns which maximize cloud advantages.

TRANSCRIPT

Page 1: Forecast 2014: Cloud-Aware Applications

THE OPEN DATA CENTER ALLIANCE: CLOUD-AWARE APPLICATIONS

Catherine SpenceChair, Technical Coordination Committee, ODCAIT principal Engineer, IntelDave CasperChair, Infrastructure Work Group, ODCACTO, North America, Moogsoft

Page 2: Forecast 2014: Cloud-Aware Applications

2

AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages

2

Page 3: Forecast 2014: Cloud-Aware Applications

3

OVERVIEWWhy is it important to design for cloud?

• Cloud is latest evolutionary force that’s transformational

• The right design enables business agility, massive scaling, ability to burst, and high resiliency.

• Cloud promotes resource efficiency and can minimize costs.

• The lack of cloud-aware applications hinders innovative hybrid cloud usages.

3

Page 4: Forecast 2014: Cloud-Aware Applications

4

DEVELOPER OPPORTUNITY• Gain an understanding of the new paradigm and the fundamental differences that apply to the cloud

• Recognize and apply key software design patterns that characterize well-designed cloud-aware applications

• Continuously develop the skills required to take full benefits of transformational paradigms such as cloud computing

Page 5: Forecast 2014: Cloud-Aware Applications

5

ODCA ENTERPRISE ADOPTION ROADMAP

Stage 1 Stage 2 Stage 3 Stage 4 Stage 5

End User

App Dev

App Owner

IT Ops

Federated, Interoperable,

and Open Cloud

Simple SaaS

Enterprise Legacy Apps

Compute, Storage, and

Network

Simple Compute IaaS

Simple SaaS

Enterprise Legacy Apps

Cloud Aware Apps

Complex Compute IaaS

Simple Compute IaaS

Compute, Storage, and

Network

Complex SaaS Hybrid SaaS

Full Private IaaS Hybrid IaaS

Cloud Aware Apps

Legacy Apps

Private PaaS Hybrid PaaS

Cloud Aware Apps

Legacy Apps

Consumers

Lega

cy A

pplic

atio

ns o

n de

dica

ted

Infr

astr

uctu

reSta

rt

Page 6: Forecast 2014: Cloud-Aware Applications

EVOLUTION OF APP ARCHITECTURE

Multi-Tier App Architecture

Virtualized Multi-Tier

Cloud App Architecture

• Evolution concurrent with advances in computer hardware, virtualization, networking, personal computing, and mobility

• Transformational but not revolutionary

6

Page 7: Forecast 2014: Cloud-Aware Applications

7

Page 8: Forecast 2014: Cloud-Aware Applications

8

AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages

Page 9: Forecast 2014: Cloud-Aware Applications

9

HIGH PRIORITY STRUCTURAL PRINCIPLES

Resilient to Failure

Resilient to Latency Secure

SOA/Compose-ability

Elastically Scalable

Location Independent

Internal construction -> coding your app for cloud

Page 10: Forecast 2014: Cloud-Aware Applications

10

ADDITIONAL STRUCTURAL PRINCIPLES

Designed for Manageability

Infrastructure Independent Defined Tenancy End user Self-

Service

Bandwidth Aware Cost + Resource Consumption Aware

MediumPriority

LowerPriority

10

Page 11: Forecast 2014: Cloud-Aware Applications

11

USING CLOUD-AWARE PRINCIPLES

• Intel IT Example - defining cloud “star” criteria • Will be formally captured as part of application profiling

DRAFT

Page 12: Forecast 2014: Cloud-Aware Applications

12

AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages

Page 13: Forecast 2014: Cloud-Aware Applications

13

NINE KEY DESIGN PATTERNS

1. Circuit Breaker2. Request Queuing3. Request Collapsing4. Object Change

Notification5. Service Discovery6. Micro Services7. Stateless Services8. Configuration Service9. Authorization

Today’s discussion13

Page 14: Forecast 2014: Cloud-Aware Applications

14

CIRCUIT BREAKER PATTERN

Reference: http://techblog.netflix.com/2012/02/fault-tolerance-in-high-volume.html

Page 15: Forecast 2014: Cloud-Aware Applications

15

STATELESS SERVICES PATTERN

Client 2Client 1

Load Balancer

#1 #2 #3VM VMVM

• Small instances scale out• RESTful calls• Pass everything you need in

to execute the call

Request Request

References: http://en.wikipedia.org/wiki/Service_statelessness_principle

Page 16: Forecast 2014: Cloud-Aware Applications

16

AUTHORIZATION PATTERN

References: http://tools.ietf.org/html/rfc6749http://www.safecode.org/publications/SAFECode_CSA_Cloud_Final1213.pdf

Token-based access control using APIs -OAuth

Page 17: Forecast 2014: Cloud-Aware Applications

Level 0: Virtualized

Level 1: Loosely Coupled

Level 2: Abstracted

Level 3: Adaptive

▪ Application runs on virtualized infrastructure▪ Application can be instantiated from an image or

script

▪ Application is composed of loosely coupled services▪ Application services are discoverable by name▪ Application compute and storage are separated▪ Application consumes one or more cloud services:

compute, storage, network

▪ Services are stateless▪ Application is unaware and unaffected by failure of

dependent services▪ Application is infrastructure agnostic, and can run

anywhere

▪ Application can dynamically migrate across infrastructure providers without interruption of service

▪ Application can elastically scale out/in appropriately based on stimuli

Cloud Application Maturity Model

17

Page 18: Forecast 2014: Cloud-Aware Applications

18

AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages

Page 19: Forecast 2014: Cloud-Aware Applications

19

OPERATIONAL STRATEGIES

Ensure Redundancy Utilize Caching Stage Deployments Plan for Zone/Region Failures

Minimize Inter-Zone/Region Latency Secure Access to APIs Abstract Dependencies Locate High-Bandwidth

Consumers Externally

Software system -> deploying your app in a cloud

Page 20: Forecast 2014: Cloud-Aware Applications

20

AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages

Page 21: Forecast 2014: Cloud-Aware Applications

21

INTEL CLOUD-AWARE CODE-A-THONS

Enterprise training event• Code and land apps in

Intel’s cloud• Compete for prizes• One day session format

Results Held 8 codeathons globally Trained over 100 developers Delivered over 60 apps Created key learnings &

demand for PaaS

Sample Apps Created

Conference Room Waitlist

Find a Parking Spot

Enterprise Fund Starter

IT Issue Logging with Pictures

Café Fruit Status (Banana Finder)

Page 22: Forecast 2014: Cloud-Aware Applications

ODCA HACKATHON

September 22-24 San Francisco

Build a real cloud app for non-profitsCompete to win best cloud-aware app

Deliver open source code for reuse

Theme: Create an app for non-profits to request volunteer assistance

Sponsored by HP & Intel

22

Page 23: Forecast 2014: Cloud-Aware Applications

23

AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages

Page 24: Forecast 2014: Cloud-Aware Applications

24

KEY MESSAGES• Cloud-aware apps are more flexible,

interoperable and resource efficient

• Evolutionary set of structural principles and operational strategies

• Design patterns provide useful examples of how to implement cloud principles

• Hackathons allow developers to practice and learn more

Page 25: Forecast 2014: Cloud-Aware Applications

THANK YOU

25

Page 26: Forecast 2014: Cloud-Aware Applications

26

Page 27: Forecast 2014: Cloud-Aware Applications

• ©2014 Open Data Center Alliance, Inc. ALL RIGHTS RESERVED.

27