intel.com/cloudforall Legal Disclaimer OpenStack is a registered - - PowerPoint PPT Presentation

intel com cloudforall legal disclaimer
SMART_READER_LITE
LIVE PREVIEW

intel.com/cloudforall Legal Disclaimer OpenStack is a registered - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

intel.com/cloudforall

slide-2
SLIDE 2
slide-3
SLIDE 3

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

  • ther countries.

HP, Hewlett-Packard and the HP Logo are registered trademarks that belong to Hewlett-Packard Development Company, L.P.

slide-4
SLIDE 4

intel.com/cloudforall

Turning Pets into Cattle

Yih Leong Sun, PhD Senior Software Cloud Architect Intel Stephen Walli Distinguished Technologist HP

slide-5
SLIDE 5

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

slide-6
SLIDE 6

intel.com/cloudforall

6

Pets vs Cattle

slide-7
SLIDE 7

intel.com/cloudforall

7

Cloud Application Maturity Levels

http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf

slide-8
SLIDE 8

intel.com/cloudforall

8

Once Upon A Time…

slide-9
SLIDE 9

intel.com/cloudforall

VM VM VM

9

From Physical to Virtualization (Pets)

Web App DB

slide-10
SLIDE 10

intel.com/cloudforall

10

From Virtualization to Cloud (Cattle)

VM VM VM Web App DB

?

slide-11
SLIDE 11

intel.com/cloudforall

11

slide-12
SLIDE 12

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

slide-13
SLIDE 13

intel.com/cloudforall

13

Building Apps for the Cloud

http://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf

slide-14
SLIDE 14

intel.com/cloudforall

14

Turning Pets into Cattle – Strategies

Understand your architecture Understand your data

Web Middleware Database Messaging

slide-15
SLIDE 15

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

slide-16
SLIDE 16

intel.com/cloudforall

16

DEMO

slide-17
SLIDE 17

intel.com/cloudforall

17

Demo

VM VM VM Web App DB

slide-18
SLIDE 18

intel.com/cloudforall

18

slide-19
SLIDE 19

intel.com/cloudforall

19

Demo

VM VM VM Web App DB W1 W2 A1 A2 Static Content

Swift*

slide-20
SLIDE 20

intel.com/cloudforall

20

slide-21
SLIDE 21

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
slide-22
SLIDE 22

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
slide-23
SLIDE 23

intel.com/cloudforall

23

Leverage other OpenStack Features

Heat* Orchestration Swift* Object Storage Trove* Database

slide-24
SLIDE 24

intel.com/cloudforall

24

Every technology must create value to the business.

slide-25
SLIDE 25

intel.com/cloudforall

25

Q & A

slide-26
SLIDE 26

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

  • r 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

slide-27
SLIDE 27

intel.com/cloudforall

27

stephen.r.walli@hpe.com yih.leong.sun@intel.com

slide-28
SLIDE 28

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

slide-29
SLIDE 29