Rethinking Application Design for the Cloud

1,130 views

Published on

Let’s discover the new application design guidelines to succeed on the Cloud. We will not only cover the glamorous new concepts for scalability, high availability and new keys to productivity but also the new security constraints, legal challenges, costs models or reversibility rules.
Session explanation
Cloud is everywhere: It is no longer used exclusively by famous startups or elite teams such as DropBox or NetFlix. Brick and mortars businesses such as newspapers and even banks now use Cloud Computing! However, these success stories did not happen by chance. Having infinite resources, servers, memory or storage is not a silver bullet. Let's discover the new application design guidelines to succeed on the Cloud. We will not only cover the glamorous new concepts for scalability, high availability and new keys to productivity but also the new security constraints, legal challenges, costs models or reversibility rules.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,130
On SlideShare
0
From Embeds
0
Number of Embeds
35
Actions
Shares
0
Downloads
25
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Rethinking Application Design for the Cloud

  1. 1. Rethinking application design for the Cloud Cyrille Le Clerc ©2013 CloudBees, Inc. All Rights Reserved
  2. 2. Speaker @cyrilleleclerc CTO Solution Architect Cyrille Le Clerc DevOps, Infra as Code Continuous Delivery Open Source Cloud ©2013 CloudBees, Inc. All Rights Reserved !2
  3. 3. You ? Dev? Ops? Java? Cloud? ©2013 CloudBees, Inc. All Rights Reserved !3
  4. 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. 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
  6. 6. Paradigm Shift Cloud Services Oriented Architecture ©2013 CloudBees, Inc. All Rights Reserved !6
  7. 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
  8. 8. *aaS Ecosystem ©2013 CloudBees, Inc. All Rights Reserved !8
  9. 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. 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. 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. 12. Selection Criteria for a Service Provider • Performances • Reliability • Legal • Security • Pricing model • Location ©2013 CloudBees, Inc. All Rights Reserved !12
  13. 13. Design Patterns for the Cloud ©2013 CloudBees, Inc. All Rights Reserved !13
  14. 14. Evolution Revolution Scale Out ©2013 CloudBees, Inc. All Rights Reserved !14
  15. 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. 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. 17. Scale out Design for clustering Scale as you need Pay as you use ©2013 CloudBees, Inc. All Rights Reserved !17
  18. 18. Evolution Revolution Fear the File System ©2013 CloudBees, Inc. All Rights Reserved !18
  19. 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. 20. Local File System is Everywhere! Local file system is everywhere! app-x tomcat ©2013 CloudBees, Inc. All Rights Reserved !20
  21. 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
  22. 22. Configuration file System properties app-x tomcat Config Amazon S3 ©2013 CloudBees, Inc. All Rights Reserved !22
  23. 23. Log files LOG app-x tomcat Logs ©2013 CloudBees, Inc. All Rights Reserved !23
  24. 24. Full Text Search app-x Search tomcat ©2013 CloudBees, Inc. All Rights Reserved !24
  25. 25. Media Library Amazon S3 ! ! app-x • tomcat Media Library Direct access from end user • Amazon S3 Security tokens ©2013 CloudBees, Inc. All Rights Reserved !25
  26. 26. Evolution Revolution Latency matters! ©2013 CloudBees, Inc. All Rights Reserved !26
  27. 27. Latency Matters app-x tomcat 120ms • Inter Continental is common • EU to us-east-1 latency: 120ms ©2013 CloudBees, Inc. All Rights Reserved !27
  28. 28. Measure • Chrome Dev Tools • Google Pagespeed • YSlow ©2013 CloudBees, Inc. All Rights Reserved !28
  29. 29. Improve • Content Delivery Network: AWS • HTTP Headers: Expires & Cache Control CloudFront, CloudFlare … ecommerce tomcat ©2013 CloudBees, Inc. All Rights Reserved !29
  30. 30. Evolution Revolution New High Availability Rules ©2013 CloudBees, Inc. All Rights Reserved !30
  31. 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. 32. Building Software on the Cloud Continuous Delivery ©2013 CloudBees, Inc. All Rights Reserved !32
  33. 33. Continuous Delivery Integration Deployment Delivery • • • • • • • • • Git push • Build • Test • Ready for production • Production Git push Build Test Git push Build Test Deploy Production ©2013 CloudBees, Inc. All Rights Reserved !33
  34. 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
  35. 35. Conclusion ©2013 CloudBees, Inc. All Rights Reserved !35
  36. 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. 37. Ready for the Cloud! Questions? ©2013 CloudBees, Inc. All Rights Reserved !37

×