intel.com/cloudforall
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 intel.com/cloudforall
Turning Pets into Cattle Stephen Walli Distinguished Technologist HP Yih Leong Sun, PhD Senior Software Cloud Architect Intel intel.com/cloudforall
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 intel.com/cloudforall
Pets vs Cattle 6 intel.com/cloudforall
Cloud Application Maturity Levels http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf 7 intel.com/cloudforall
Once Upon A Time… 8 intel.com/cloudforall
From Physical to Virtualization (Pets) VM Web DB App VM VM 9 intel.com/cloudforall
From Virtualization to Cloud (Cattle) Web VM ? App VM DB VM 10 intel.com/cloudforall
11 intel.com/cloudforall
Architecture Design Conventional App Cloud-aware App ● Monolithic ● Distributed, Microservices ● Centralised state vs ● Asynchronous ● Tightly coupled ● Multi tenancy ● Synchronous ● Failure-resilience ● Single tenancy ● Share-nothing ● Eventually consistent 12 intel.com/cloudforall
Building Apps for the Cloud http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf 13 intel.com/cloudforall
Turning Pets into Cattle – Strategies Understand your architecture Understand your data Middleware Web Database Messaging 14 intel.com/cloudforall
Shift of Focus Reliability = MTBF + MTTR + Availability Traditional OpenStack Cloud Buy expensive hardware to Maximise automation to SHIFT increase MTBF reduce MTTR Hardware-based redundancy Software-based redundancy 15 intel.com/cloudforall
DEMO 16 intel.com/cloudforall
Demo Web VM App VM DB VM 17 intel.com/cloudforall
18 intel.com/cloudforall
Demo W1 Web VM W2 A1 Static Content App VM Swift* A2 DB VM 19 intel.com/cloudforall
20 intel.com/cloudforall
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 intel.com/cloudforall
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 intel.com/cloudforall
Leverage other OpenStack Features Heat* Orchestration Swift* Object Storage Trove* Database 23 intel.com/cloudforall
Every technology must create value to the business. 24 intel.com/cloudforall
Q & A 25 intel.com/cloudforall
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 intel.com/cloudforall
stephen.r.walli@hpe.com yih.leong.sun@intel.com 27 intel.com/cloudforall
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 28 intel.com/cloudforall
Recommend
More recommend