Forecast 2014: Cloud-Aware Applications
-
Upload
open-data-center-alliance -
Category
Technology
-
view
204 -
download
1
description
Transcript of 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
2
AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages
2
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
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
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
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
7
8
AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages
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
10
ADDITIONAL STRUCTURAL PRINCIPLES
Designed for Manageability
Infrastructure Independent Defined Tenancy End user Self-
Service
Bandwidth Aware Cost + Resource Consumption Aware
MediumPriority
LowerPriority
10
11
USING CLOUD-AWARE PRINCIPLES
• Intel IT Example - defining cloud “star” criteria • Will be formally captured as part of application profiling
DRAFT
12
AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages
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
14
CIRCUIT BREAKER PATTERN
Reference: http://techblog.netflix.com/2012/02/fault-tolerance-in-high-volume.html
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
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
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
18
AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages
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
20
AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages
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)
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
23
AGENDA• Overview• Principles of Cloud Application Architecture• Design Patterns• Operational Strategies• Hackathons• Key Messages
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
THANK YOU
25
26
• ©2014 Open Data Center Alliance, Inc. ALL RIGHTS RESERVED.
27