EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

38
1 © Copyright 2016 EMC Corporation. All rights reserved. 1 © Copyright 2016 EMC Corporation. All rights reserved. UNSTRUCTURED AND STRUCTURED PAAS DEMYSTIFIED JONAS ROSLAND, EMC {CODE} @JONASROSLAND

Transcript of EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

Page 1: 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

Page 2: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

4© Copyright 2016 EMC Corporation. All rights reserved.

PAAS = CLOUD + MAGIC?

Page 3: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

5© Copyright 2016 EMC Corporation. All rights reserved.

• Clustered servers• Manual deployments• Redundancy, not necessarily high availability

BACK IN THE OLD DAYS

Page 4: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 5: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 6: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 7: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 8: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 9: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

11© Copyright 2016 EMC Corporation. All rights reserved.

Standard definitions

Page 10: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

12© Copyright 2016 EMC Corporation. All rights reserved.

PAAS SITS ON TOP OF SCHEDULERS

Page 11: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

13© Copyright 2016 EMC Corporation. All rights reserved.

• Manages all physical/virtualresources• Deploys and schedules apps• Handles hardware failures

RESOURCE MANAGERS AND SCHEDULERS

Page 12: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

14© Copyright 2016 EMC Corporation. All rights reserved.

SCHEDULING

Page 13: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 14: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 15: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

17© Copyright 2016 EMC Corporation. All rights reserved.

APPLICATIONS RUN IN CONTAINERS

Code Code andrequirements Container

Page 16: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 17: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

19© Copyright 2016 EMC Corporation. All rights reserved.

• Store no critical data locally• Can be scaled as needed• Recovers quickly

STATELESS APPLICATIONS

Page 18: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 19: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 20: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 21: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 22: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 23: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 24: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

26© Copyright 2016 EMC Corporation. All rights reserved.

CLOUD NATIVE PLATFORM

Write codePush it

Platform gathersrequirements

Builds container

Container is deployed

Page 25: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

27© Copyright 2016 EMC Corporation. All rights reserved.

CONTAINER PLATFORM – METHOD ONE

Write codePush it

Container is deployed

Gather requirementsBuild container

Page 26: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

28© Copyright 2016 EMC Corporation. All rights reserved.

CONTAINER PLATFORM – METHOD TWO

Downloadcontainer

Containerregistry

Request torun app

Container is deployed

Page 27: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

29© Copyright 2016 EMC Corporation. All rights reserved.

CLOUD FOUNDRY - PACKAGED

}Packaged

Page 28: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

30© Copyright 2016 EMC Corporation. All rights reserved.

MESOS - COMPOSED

Page 29: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

31© Copyright 2016 EMC Corporation. All rights reserved.

COMPOSED AND PACKAGED

Mesos

Marathon Deis Cloud Foundry Chronos

Page 30: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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?

Page 31: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 32: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 33: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 34: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

36© Copyright 2016 EMC Corporation. All rights reserved.

Before opening up for questions

Page 35: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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

Page 36: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

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?

Page 37: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified

40© Copyright 2016 EMC Corporation. All rights reserved. 40© Copyright 2016 EMC Corporation. All rights reserved.

Page 38: EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified