the new distributed application infrastructure
TRANSCRIPT
The New Distributed Application Infrastructure
Gordon Haff @ghaffTechnology EvangelistRed Hat
Santa Clara, CA USADecember 2015 1
This is all very new
Santa Clara, CA USADecember 2015 2
2007
2011
2013
2014
Computing as puntuated equilibria
Rapidly changing environment
Open source innovation and recombinations
Intersecting trends Hard to predict
Santa Clara, CA USADecember 2015 3
Traditional infrastructure & apps
Santa Clara, CA USADecember 2015 4
Server, storage, & networking hardware
Operating system
Application& dependencies
Application& dependencies
Application& dependencies
Vertical scaling
Santa Clara, CA USADecember 2015 5
Server, storage, & networking hardware
Operating system
Application& dependencies Application
& dependenciesApplication
& dependencies
(One of) the problems
Santa Clara, CA USADecember 2015 6
Server, storage, & networking hardware
Operating system
Application& dependencies
Enter hardware virtualization
Santa Clara, CA USADecember 2015 7
Server, storage, & networking hardware
Hypervisor (or other partitioning methods)
Application& dependencies
Application& dependencies
Application& dependencies
Operating system
Operating system
Operating system
Tweaking hardware virtualization
Santa Clara, CA USADecember 2015 8
Server, storage, & networking hardwarewith CPU, memory, I/O virtualization assists
Hypervisor (or other partitioning methods)
Application& dependencies
Application& dependencies
Application& dependencies
Operating system
Operating system
Operating system
What’s changed really?
Application components still installed within OS
Applications still long-lived & stateful
Applications still “pets”
Santa Clara, CA USADecember 2015 9
Which was sort of the point
Server consolidation reduced CAPEX
Without (at least initially) much impact on operational model
Santa Clara, CA USADecember 2015 10
2006
Well, that worked
Santa Clara, CA USADecember 2015 11
The discontinuity hits
“Software is eating the world” Mobile DevOps Reimagined componentized
architectures Scale
Santa Clara, CA USADecember 2015 12
Adopting an “ant” model for apps
Stateless (often) “Small” components Single function Expose an API Replacable cogs Portable across hybrid
infrastructures
Santa Clara, CA USADecember 2015 13
What does an infrastructure for ants look like?
Santa Clara, CA USADecember 2015 14
From servers to resource pools
Software-defined “everything”
Dynamic resource pool
May be provided by public cloud
Santa Clara, CA USADecember 2015 15
Virtualized pool of IaaS resources
“Commodity” server
“Commodity” server
“Commodity” server
Operating system
Operating system
Operating system
Operating system
Software-defined storageSoftware-defined networking/NFV
OpenStack: Software-defined infrastructure
Santa Clara, CA USADecember 2015 16
Linux
Containers: Isolation within OS
OS-level virtualization Originally BSD jails Then Solaris zones OS kernel manages
isolation, resource use, and security
Namespaces, SELinux, Cgroups in Linux
Santa Clara, CA USADecember 2015 17
Operating system instance
Application& dependencies
Application& dependencies
Resource pool
Making containers useful
Standard packaging format
Ecosystem App composition specification
Optimized operating system foundation
Santa Clara, CA USADecember 2015 18
Lightweight, immutable OSfor running containers
Application& dependencies
Application& dependencies
Resource pool
Container packaging forimage-based deployment
Key areas of container consistency
Container host• Isolate and secure apps on the host operating system
Container image• Package apps to include information on what's needed to run
in a container with digital signatures and encryption for security
Registry and discovery• Find and consume trusted application container images from
federated sourcesSanta Clara, CA USADecember 2015 19
Managing at scale as a single entity
Santa Clara, CA USADecember 2015 20
Lightweight, immutable OSfor running containers
Application& dependencies
Application& dependencies
Resource pool
Container packaging/API forimage-based deployment
Resource management
Orchestration
Everyone is scaling
Not just unicorns and mammoths Three main use cases:
• Large scale workloads • Diverse workloads • Complex resource management
Grid computing reimagined?
Santa Clara, CA USADecember 2015 21
What does scale mean?
How many systems? A big cluster or many small ones? Throughput? Scheduling frequency? How much availability required?
Santa Clara, CA USADecember 2015 22
Handling diverse workloads
Conventional or cloud native? What type of workloads?
• CI/CD (e.g. Jenkins) • Data analytics (e.g. Spark, Storm) • Batch (e.g. Chronos) • Workflows
Single or multiple clusters?
Santa Clara, CA USADecember 2015 23
What policies are needed?
Compliance Multi-tenancy Dependency management Avoiding repeated failures Persistent volume services Dynamic reservations
Santa Clara, CA USADecember 2015 24
Needs for integrating with existing IT
96% see open source as an enabler of cloud native integration and conventional app modernization.
Source: Red Hat Modernization Strategies SurveyIDC September 2015
Santa Clara, CA USADecember 2015 25
Structured & unstructured data integrationBusiness process automationModel-driven process managementEnterprise service bus & APIs
Open questions
Role of hardware virtualization On-premise vs. public cloud trends Microservices Resource management/orchestration layer(s) The post-NIST service model Favored approaches for consumption
Santa Clara, CA USADecember 2015 26
How evenly distributed will the future be?
The future is already here—it's just not very evenly distributed.
William Gibson
Santa Clara, CA USADecember 2015 27
Credits
Santa Clara, CA USADecember 2015 28
Fractal: https://www.flickr.com/photos/fractal_ken/3996156539/ Flickr Creative Commons license
Punctuated equilibrium: University of California at Berkeley
Mainframe: "IBM 704 mainframe" by Lawrence Livermore National Laboratory. Licensed under Attribution via Commons - https://commons.wikimedia.org/wiki/File:IBM_704_mainframe.gif#/media/File:IBM_704_mainframe.gif
Ants: https://www.flickr.com/photos/pondapple/6502194585 Flickr Creative Commons license
Meteor, galaxy: NASA
Datacenter: Google
Dogs: https://www.flickr.com/photos/ulster/3250246355 Flickr Creative Commons license