Más contenido relacionado La actualidad más candente (20) Similar a Rethinking Application Design for the Cloud (20) Rethinking Application Design for the Cloud3. You ?
Dev? Ops? Java? Cloud?
©2013 CloudBees, Inc. All Rights Reserved
!3
4. Cloud, IaaS, SaaS, PaaS
Infrastructure
as a Service
Platform
as a Service
Linux + storageMe
+ network
“Traditional” admin
App runtime
+ middleware
Managed
©2013 CloudBees, Inc. All Rights Reserved
Software
as a Service
Business App
Managed
!4
5. Agenda
•
Design Patterns for the Cloud
•
Building Applications on the Cloud: Continuous Delivery
•
Conclusion
•
Paradigm Shift: Cloud Services Oriented Architecture
©2013 CloudBees, Inc. All Rights Reserved
!5
7. *aaS Ecosystem
• *aaS is about service, not software
• Integrate services, don’t try to setup your own infrastructure
• Amazon AWS: the place to be for *aaS
©2013 CloudBees, Inc. All Rights Reserved
!7
9. Location and Colocation
ies of
Fallac
ibuted
Distr
puting
Com
• Collocate application and databases
• Some systems can be distant
• Choose your cloud according to the services you require
©2013 CloudBees, Inc. All Rights Reserved
!9
10. We
The Cloud & The Law
sel
f-c
erti
fy c
om
plia
not a
I’ m
yer!!!
law
nce
wit
h
Payment Card Industry Data Security Standard (PCI DSS)
Data Privacy Harbor
US EU Safe
HIPAA
Liability
ISO 27001
Data Portability and
Reversibility
Personally Identifiable Information
Applicable Law
Compliance
SSAE 16
©2013 CloudBees, Inc. All Rights Reserved
!10
11. Pricing Model
•
Beware of unbounded pricing models
•
Prepare a credit card
•
Pay-per-use vs budget
•
Pay-per-use vs. fixed price
©2013 CloudBees, Inc. All Rights Reserved
!11
12. Selection Criteria for a Service Provider
•
Performances
•
Reliability
•
Legal
•
Security
•
Pricing model
•
Location
©2013 CloudBees, Inc. All Rights Reserved
!12
15. Scale Up
•
Not optimal
•
Still possible, but up to a limit
!
Low utilization!
M1 Small
M1 Large
Then ???
M3 2 XLarge
©2013 CloudBees, Inc. All Rights Reserved
!15
16. M1 Extra Large
•
•
•
•
64 bits
15 Gb memory
4 Vcore, 2 cpu unit (~2.5Gh)
1.6 Tb HD
!
!
•
aka « your desktop »
©2013 CloudBees, Inc. All Rights Reserved
!16
17. Scale out
Design for clustering
Scale as you need
Pay as you use
©2013 CloudBees, Inc. All Rights Reserved
!17
19. Fear the File System
•
Shared file system is difficult
•
Best practice for any automated deployment
•
Think multi instance
Local file system: ephemeral near-cache or replica
©2013 CloudBees, Inc. All Rights Reserved
!19
20. Local File System is Everywhere!
Local file system is
everywhere!
app-x
tomcat
©2013 CloudBees, Inc. All Rights Reserved
!20
21. Local File System is Everywhere!
•
Log files
•
Full text search
•
• Media library
Configuration files
app-x
Config
Search
tomcat
Logs
Media Library
©2013 CloudBees, Inc. All Rights Reserved
!21
28. Measure
• Chrome Dev Tools
• Google Pagespeed
• YSlow
©2013 CloudBees, Inc. All Rights Reserved
!28
31. New High Availability Rules
•
Fast disk is “ephemeral”
•
Multiple data centers are
•
SAN is slow & not shareable
everywhere
•
Servers and storage are
infinite
Amazon: regions & availability zones
©2013 CloudBees, Inc. All Rights Reserved
!31
32. Building Software on the Cloud
Continuous Delivery
©2013 CloudBees, Inc. All Rights Reserved
!32
34. Blue Green Deployment
•
Martin Fowler: http://
martinfowler.com/bliki/
BlueGreenDeployment.html
•
Cloud Elasticity → 2x
•
Zero Downtime
number of servers during
deployment
•
NoSQL is your friend
©2013 CloudBees, Inc. All Rights Reserved
!34
36. Conclusion
• Cloud Services Oriented Architecture: big change
• Design patterns for the Cloud: mostly engineering best practices
• Start on the cloud with a green field application
©2013 CloudBees, Inc. All Rights Reserved
!36
37. Ready for the Cloud!
Questions?
©2013 CloudBees, Inc. All Rights Reserved
!37