Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
intel.com/cloudforall
intel.com/cloudforall 3
Legal Disclaimer
OpenStack is a registered trademark of the OpenStack Foundation in the
United Sta...
intel.com/cloudforall
Turning Pets into Cattle
Yih Leong Sun, PhD
Senior Software Cloud Architect
Intel
Stephen Walli
Dist...
intel.com/cloudforall 5
What this talk is NOT about…
• Continuous Integration and Continuous Deployment
• Automation techn...
intel.com/cloudforall 6
Pets vs Cattle
intel.com/cloudforall 7
Cloud Application Maturity Levels
http://www.opendatacenteralliance.org/docs/architecting_cloud_aw...
intel.com/cloudforall 8
Once Upon A Time…
intel.com/cloudforall
VM
VM
VM
9
From Physical to Virtualization (Pets)
Web App DB
intel.com/cloudforall 10
From Virtualization to Cloud (Cattle)
VM
VM
VM
Web
App
DB
?
intel.com/cloudforall 11
intel.com/cloudforall 12
Architecture Design
Conventional App
● Monolithic
● Centralised state
● Tightly coupled
● Synchro...
intel.com/cloudforall 13
Building Apps for the Cloud
http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_a...
intel.com/cloudforall 14
Turning Pets into Cattle – Strategies
Understand your architecture
Understand your data
Web
Middl...
intel.com/cloudforall 15
Shift of Focus
Reliability = MTBF + MTTR + Availability
SHIFT
Traditional
Buy expensive hardware ...
intel.com/cloudforall 16
DEMO
intel.com/cloudforall 17
Demo
VM
VM
VM
Web
App
DB
intel.com/cloudforall 18
intel.com/cloudforall 19
Demo
VM
VM
VM
Web
App
DB
W1
W2
A1
A2
Static Content
Swift*
intel.com/cloudforall 20
intel.com/cloudforall 21
12-Factor App
 Codebase: One codebase tracked in version control
 Dependencies: Explicitly decl...
intel.com/cloudforall 22
WordPress as a 12-Factor App
 Codebase: One codebase tracked in version control
 Dependencies: ...
intel.com/cloudforall 23
Leverage other OpenStack Features
Heat* Orchestration Swift* Object Storage Trove* Database
intel.com/cloudforall 24
Everytechnology
must
createvaluetothebusiness.
intel.com/cloudforall 25
Q&A
intel.com/cloudforall 26
OpenStack Enterprise Working Group
• Cattle and Pets
• Focused on identifying today's barriers fo...
intel.com/cloudforall 27
stephen.r.walli@hpe.com
yih.leong.sun@intel.com
intel.com/cloudforall 28
Participating in the Intel Passport Program?
Are you playing? Be sure to get your Passport
Stamp ...
Turning Pets into Cattle: A Demonstration to Provoke Discussion
Turning Pets into Cattle: A Demonstration to Provoke Discussion
Vous avez terminé ce document.
Télécharger et lire hors ligne.
Prochain SlideShare
Monumento nacional a la bandera
Suivant
Prochain SlideShare
Monumento nacional a la bandera
Suivant
Télécharger pour lire hors ligne et voir en mode plein écran

Partager

Turning Pets into Cattle: A Demonstration to Provoke Discussion

Télécharger pour lire hors ligne

There have been lots of discussions in the cloud world about traditional 3-tier application workloads that are highly managed (i.e. Pets) and their modern web-counterpart workloads that are scalable, resilient, and fault tolerant (i.e. Cattle). But how does one migrate business critical applications from a "simple" virtualized world into a hybrid-cloud based on OpenStack?

This talk walks through moving a running web application from one such virtualized 3-tier world into an OpenStack-based cloud world and the sorts of changes that need to be considered for re-architecting the app and re-deploying it into the cloud. The steps are meant to provoke conversations and should not be considered a recipe book.

Video is here: https://www.openstack.org/summit/tokyo-2015/videos/presentation/turning-pets-into-cattle-a-demonstration-to-provoke-discussion

Livres associés

Gratuit avec un essai de 30 jours de Scribd

Tout voir
  • Soyez le premier à aimer ceci

Turning Pets into Cattle: A Demonstration to Provoke Discussion

  1. 1. intel.com/cloudforall
  2. 2. intel.com/cloudforall 3 Legal Disclaimer OpenStack is a registered trademark of the OpenStack Foundation in the United States, other countries or both. Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries. HP, Hewlett-Packard and the HP Logo are registered trademarks that belong to Hewlett-Packard Development Company, L.P.
  3. 3. intel.com/cloudforall Turning Pets into Cattle Yih Leong Sun, PhD Senior Software Cloud Architect Intel Stephen Walli Distinguished Technologist HP
  4. 4. intel.com/cloudforall 5 What this talk is NOT about… • Continuous Integration and Continuous Deployment • Automation techniques for Infrastructure, Deployment, and Operations • Agile Development Practices It’s an application architecture discussion
  5. 5. intel.com/cloudforall 6 Pets vs Cattle
  6. 6. intel.com/cloudforall 7 Cloud Application Maturity Levels http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf
  7. 7. intel.com/cloudforall 8 Once Upon A Time…
  8. 8. intel.com/cloudforall VM VM VM 9 From Physical to Virtualization (Pets) Web App DB
  9. 9. intel.com/cloudforall 10 From Virtualization to Cloud (Cattle) VM VM VM Web App DB ?
  10. 10. intel.com/cloudforall 11
  11. 11. intel.com/cloudforall 12 Architecture Design Conventional App ● Monolithic ● Centralised state ● Tightly coupled ● Synchronous ● Single tenancy Cloud-aware App ● Distributed, Microservices ● Asynchronous ● Multi tenancy ● Failure-resilience ● Share-nothing ● Eventually consistent vs
  12. 12. intel.com/cloudforall 13 Building Apps for the Cloud http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf
  13. 13. intel.com/cloudforall 14 Turning Pets into Cattle – Strategies Understand your architecture Understand your data Web Middleware Database Messaging
  14. 14. intel.com/cloudforall 15 Shift of Focus Reliability = MTBF + MTTR + Availability SHIFT Traditional Buy expensive hardware to increase MTBF Hardware-based redundancy OpenStack Cloud Maximise automation to reduce MTTR Software-based redundancy
  15. 15. intel.com/cloudforall 16 DEMO
  16. 16. intel.com/cloudforall 17 Demo VM VM VM Web App DB
  17. 17. intel.com/cloudforall 18
  18. 18. intel.com/cloudforall 19 Demo VM VM VM Web App DB W1 W2 A1 A2 Static Content Swift*
  19. 19. intel.com/cloudforall 20
  20. 20. intel.com/cloudforall 21 12-Factor App  Codebase: One codebase tracked in version control  Dependencies: Explicitly declare and isolate dependencies  Configuration: All configuration is stored in the environment  Backing Services: Treat all backing services as attached services  Build, Release, Run: Strictly separate build and run stages  Processes: Execute the application as one or more stateless processes  Port Binding: Export services via port binding  Concurrency: Scale out via the process model  Disposability: Maximize robustness with fast start-up and graceful shutdown  Dev/Prod Parity: Keep development, staging, and production as similar as possible  Logs: Treat logs as event streams  Admin Processes: Run admin/management tasks as one-off processes
  21. 21. intel.com/cloudforall 22 WordPress as a 12-Factor App  Codebase: One codebase tracked in version control  Dependencies: Composer and plug-ins listed in composer.json  Configuration: Configuration needs consideration! What goes to the env and how?  Backing Services: DBs, Queues, LB, SMTP, New Relic, API-services  Build, Release, Run: Excellent stage to apply automation tools  Processes: Stateless Processes means considering Sessions & Uploaded Files  Port Binding: Port binding will require nginx+PHP-FPM, and some config work  Concurrency: Consideration needed to avoid long-running PHP-FHM “daemon”  Disposability: Mostly handled by PHP-FHM  Dev/Prod Parity: Automate with VirtualBox/Vagrant & Puppet/Chef/Ansible  Logs: Log files versus stdout … not quite  Admin Processes: Even one-off processes are scripts and under version control
  22. 22. intel.com/cloudforall 23 Leverage other OpenStack Features Heat* Orchestration Swift* Object Storage Trove* Database
  23. 23. intel.com/cloudforall 24 Everytechnology must createvaluetothebusiness.
  24. 24. intel.com/cloudforall 25 Q&A
  25. 25. intel.com/cloudforall 26 OpenStack Enterprise Working Group • Cattle and Pets • Focused on identifying today's barriers for on-boarding traditional Enterprise IT workloads into OpenStack Cloud deployments and works to create solutions and define and advance required new OpenStack features or capabilities. • Mailing List: http://lists.openstack.org/cgi-bin/mailman/listinfo/enterprise-wg • Meeting Logistics: Tuesday 2000 UTC; Access: (888) 875-9370, Bridge: 3; Passcode: 1278598
  26. 26. intel.com/cloudforall 27 stephen.r.walli@hpe.com yih.leong.sun@intel.com
  27. 27. intel.com/cloudforall 28 Participating in the Intel Passport Program? Are you playing? Be sure to get your Passport Stamp for attending this session! See me or my helper in the back at the end! Not Playing yet? What are you waiting for? See me or my helper in the back at the end and we can get you started! Don’t forget to return your stamped passport to the Intel Booth #H3 to enter our raffle drawing! 3 Stamps = 1 Raffle Ticket

There have been lots of discussions in the cloud world about traditional 3-tier application workloads that are highly managed (i.e. Pets) and their modern web-counterpart workloads that are scalable, resilient, and fault tolerant (i.e. Cattle). But how does one migrate business critical applications from a "simple" virtualized world into a hybrid-cloud based on OpenStack? This talk walks through moving a running web application from one such virtualized 3-tier world into an OpenStack-based cloud world and the sorts of changes that need to be considered for re-architecting the app and re-deploying it into the cloud. The steps are meant to provoke conversations and should not be considered a recipe book. Video is here: https://www.openstack.org/summit/tokyo-2015/videos/presentation/turning-pets-into-cattle-a-demonstration-to-provoke-discussion

Vues

Nombre de vues

867

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

23

Actions

Téléchargements

4

Partages

0

Commentaires

0

Mentions J'aime

0

×