EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
-
Upload
code-by-dell-emc -
Category
Technology
-
view
308 -
download
1
Transcript of EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
1© Copyright 2016 EMC Corporation. All rights reserved. 1© Copyright 2016 EMC Corporation. All rights reserved.
UNSTRUCTURED AND STRUCTURED PAAS DEMYSTIFIEDJONAS ROSLAND, EMC {CODE}@JONASROSLAND
4© Copyright 2016 EMC Corporation. All rights reserved.
PAAS = CLOUD + MAGIC?
5© Copyright 2016 EMC Corporation. All rights reserved.
• Clustered servers• Manual deployments• Redundancy, not necessarily high availability
BACK IN THE OLD DAYS
6© Copyright 2016 EMC Corporation. All rights reserved.
• Infrastructure as a Service• Deploy virtual machines• Manual/half-automated way of deploying apps• Almost efficient
THEN SOME TIME AGO
7© Copyright 2016 EMC Corporation. All rights reserved.
• Collection of compute resources• Spread out horizontally• Brings scale to your deployments
NOW - PLATFORM AS A SERVICE
8© Copyright 2016 EMC Corporation. All rights reserved.
• Multiple masters• Can span across datacenters and locations• Aggregates resources and roles• Enables use of standardized frameworks
PAAS ARE ALWAYS DISTRIBUTED SYSTEMS
9© Copyright 2016 EMC Corporation. All rights reserved.
• Not just server-side clustering tools• Many layers• Schedulers, service discovery, logging, monitoring
and much more
MANAGING THIS INFRASTRUCTURE
10© Copyright 2016 EMC Corporation. All rights reserved.
• Easy, standardized ways of deploying apps• Platforms made for integration, not silos• Enhanced functionality for managing both modern
and traditional apps
Brings order out of chaos
THE END RESULT
11© Copyright 2016 EMC Corporation. All rights reserved.
Standard definitions
12© Copyright 2016 EMC Corporation. All rights reserved.
PAAS SITS ON TOP OF SCHEDULERS
13© Copyright 2016 EMC Corporation. All rights reserved.
• Manages all physical/virtualresources• Deploys and schedules apps• Handles hardware failures
RESOURCE MANAGERS AND SCHEDULERS
14© Copyright 2016 EMC Corporation. All rights reserved.
SCHEDULING
15© Copyright 2016 EMC Corporation. All rights reserved.
• Enables apps and infrato automatically findparts of each other• Keeps track of how to
connect and use theapplication services
SERVICE DISCOVERY
16© Copyright 2016 EMC Corporation. All rights reserved.
SERVICE DISCOVERY
Java App
2.3.4.5:8080 Where isJava App?2.3.4.5:8080
17© Copyright 2016 EMC Corporation. All rights reserved.
APPLICATIONS RUN IN CONTAINERS
Code Code andrequirements Container
18© Copyright 2016 EMC Corporation. All rights reserved.
• Storing data (state) is a critical component of any application• Where they store this state defines their class
– Connected database– In memory– Local disk
APPLICATION STATE DIFFERENCES
19© Copyright 2016 EMC Corporation. All rights reserved.
• Store no critical data locally• Can be scaled as needed• Recovers quickly
STATELESS APPLICATIONS
20© Copyright 2016 EMC Corporation. All rights reserved.
• Services that store state• Have usually been treated as HA apps• Can be scale-out or scale-up
STATEFUL SERVICES
21© Copyright 2016 EMC Corporation. All rights reserved. 21© Copyright 2016 EMC Corporation. All rights reserved.
APPLICATIONS BUILT FROM SERVICESFront End or Non-Persistent
Data Services (Persistent)
Scal
e-Up
Scale-Out
CassandraPostgresRedis CouchDB
Elastic SearchHadoop
MariaDB
Mysql
Nginx
HAProxy
MongoDB
RabbitMQTomcat
Memcached
ScaleIO ECS
ApacheRails
Language Specific HTTP
22© Copyright 2016 EMC Corporation. All rights reserved.
OPERATING AN APPLICATION PLATFORM
Custom Container Platform
Container Platforms
Cloud-Native Platform
BUILD YOUR OWN PACKAGED BUT COMPOSEABLE PACKAGED
23© Copyright 2016 EMC Corporation. All rights reserved.
PLATFORMS ENABLING SIMILAR FEATURES
• Supports microservices and loosely coupled services• Scales out quickly• Abstracts away virtual and physical resources• Infrastructure as Code friendly
24© Copyright 2016 EMC Corporation. All rights reserved.
DIFFERENCES IN PLATFORMS
• Run cloud native applications• Structured/Packaged• Pre-determined architecture and
capabilities• Focused and opinionated• Operated by major releases
• Run any application• Unstructured/Composable• Build it yourself• Move as fast as you want• Readily adopt new features
Container Platforms Cloud Native Platforms
25© Copyright 2016 EMC Corporation. All rights reserved.
• Cloud Native platforms looks at your code, downloads the requirements and builds a new container to run your apps• Container Platforms takes already bundled containers
and runs them• This changes the way you would handle a CI/CD
scenario depending on the type of platform you use
DIFFERENCES IN CONTAINERS
26© Copyright 2016 EMC Corporation. All rights reserved.
CLOUD NATIVE PLATFORM
Write codePush it
Platform gathersrequirements
Builds container
Container is deployed
27© Copyright 2016 EMC Corporation. All rights reserved.
CONTAINER PLATFORM – METHOD ONE
Write codePush it
Container is deployed
Gather requirementsBuild container
28© Copyright 2016 EMC Corporation. All rights reserved.
CONTAINER PLATFORM – METHOD TWO
Downloadcontainer
Containerregistry
Request torun app
Container is deployed
29© Copyright 2016 EMC Corporation. All rights reserved.
CLOUD FOUNDRY - PACKAGED
}Packaged
30© Copyright 2016 EMC Corporation. All rights reserved.
MESOS - COMPOSED
31© Copyright 2016 EMC Corporation. All rights reserved.
COMPOSED AND PACKAGED
Mesos
Marathon Deis Cloud Foundry Chronos
32© Copyright 2016 EMC Corporation. All rights reserved.
• Completely depends on your needs• Both methods are valid for different purposes• You can run multiple environments, at the same
time, no need to lock yourself into just one
SO WHICH ONE SHOULD YOU CHOOSE?
33© Copyright 2016 EMC Corporation. All rights reserved.
• When the platform will be your differentiator• When you have highly skilled developers and
operations• When you want to participate in building the tools,
skills and software to run it• When you have enthusiastic employees eager to
learn and support new systems
CHOOSE UNSTRUCTURED/COMPOSABLE
34© Copyright 2016 EMC Corporation. All rights reserved.
• When your applications are the differentiators• When you have highly skilled developers• When you want to provide a stable and proven
platform
CHOOSE STRUCTURED/PACKAGED
35© Copyright 2016 EMC Corporation. All rights reserved.
• PaaS is not magic• Container technology is the central theme• Unstructured/structured can be better described as
composed/packaged• Using both is absolutely valid!
SUMMARY
36© Copyright 2016 EMC Corporation. All rights reserved.
Before opening up for questions
38© Copyright 2016 EMC Corporation. All rights reserved.
Data Persistence in the New Container WorldWednesday 3PM
Joshua BernsteinVP of Technology for ETD
Tobi Knaup CTO & Co-Founder of Mesosphere
Guru Session
39© Copyright 2016 EMC Corporation. All rights reserved.
@EMCcode@jonasrosland
emccode.comcommunity.emccode.com
Come visit us at Booth #1044 or in the vLab!
Questions?
40© Copyright 2016 EMC Corporation. All rights reserved. 40© Copyright 2016 EMC Corporation. All rights reserved.