SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
© 2015 Mesosphere, Inc. All Rights Reserved. 1
Mesosphere DCOS
Jan Repnak
jan.repnak@mesosphere.io
© 2015 Mesosphere, Inc. All Rights Reserved.
Agenda
- Containers
- Apache Mesos
- Marathon
- Datacenter Operating System
(DCOS)
- Hands-On
2
© 2015 Mesosphere, Inc. All Rights Reserved. 3
LINUX CONTAINERS
© 2015 Mesosphere, Inc. All Rights Reserved.
Linux Containers
The why and the what
● Containers are not VMs …
● … they are process groups for app-level dependency
management
● … they are lightweight (startup time, footprint,
average runtime)
● security considerations
● pets vs cattle
4
© 2015 Mesosphere, Inc. All Rights Reserved.
Linux Containers
● namespaces
● Isolate PIDs between processes
● Isolate network resources (stacks, devices, etc.)
● Isolate hostname/NIS (UTS)
● Isolate filesystem mount (chroot)
● Isolate inter process communication (IPC)
● Isolate users/groups
● cgroups
● https //sysadmincasts.com/episodes/14-
introduction-to-linux-control-groups-cgroups
5
© 2015 Mesosphere, Inc. All Rights Reserved.
Docker
6
© 2015 Mesosphere, Inc. All Rights Reserved.
What Is This All About?
Pets vs Cattle
● Pets:
treat machines as individuals that you give
names and when they get ill you nurse them
back to health.
● Cattle:
anonymous, identical to each other you assign
numbers and when they get ill you get rid of it.
http://www.theregister.co.uk/2013/03/18/servers_pets_or_cattle_cern/
7
© 2015 Mesosphere, Inc. All Rights Reserved.
Consequences of going all-in with Cattle approach
Pets vs Cattle
● scale out on commodity hardware
● elasticity
● 'cheap' & 'simple'
● R U on pager duty? Just sleep through!
● social ≫ technology challenge
● new technical challenges such as service
discovery
http://www.theregister.co.uk/2013/03/18/servers_pets_or_cattle_cern/
8
© 2015 Mesosphere, Inc. All Rights Reserved.
Container Life Cycle
9
© 2015 Mesosphere, Inc. All Rights Reserved. 10
Apache Mesos
© 2015 Mesosphere, Inc. All Rights Reserved.
Mesosphere is well funded
$50M by Tier 1 investors
Andreessen Horowitz and Khosla Ventures
2009 2013 2014 2015
First Mesosphere DCOS lighthouse
customers
Tens of thousands of containers launched
Expanded Operations
San Francisco (2013)
Hamburg (2014)
New York (2015)
Mesosphere Founded
Key engineering leaders from Twitter, Airbnb
- companies behind open-source tech
Apache Mesos built at UC Berkeley
● Core technology from AMPlab
● Corporate large-scale production deployments begin
(e.g., Apple, Twitter, Salesforce)
Growing Ecosystem & DCOS
General Availability
Now a breeze to install modern app services
(e.g., Hadoop, Spark, Cassandra)
MESOSPHERE HISTORY
11
© 2015 Mesosphere, Inc. All Rights Reserved.
WORKLOADS*
12
© 2015 Mesosphere, Inc. All Rights Reserved.
MESOS KERNEL APPLIES LESSONS FROM EARLY INNOVATORS
Tupperware/BistroBorg/Omega Apache Mesos
ProprietaryProprietary Open Source (Apache license)
~2007~2001 2010+
Production-proven Web Scale Cluster Managers
● Built at UC Berkeley AMPLab by Ben Hindman (Mesosphere Co-founder)
● Built in collaboration with Google to overcome some Borg Challenges
● Production proven at scale +80K hosts @ Twitter
13
© 2015 Mesosphere, Inc. All Rights Reserved.
MESOS IS THE IDEAL KERNEL FOR POWERING A DCOS
Designed to be flexible
● Aggregates all resources in the datacenter
for modern apps
● Intentionally simple to enable massive
scalability
● Handles different types of tasks - long
running, batch, and real-time
● Two-level scheduler architecture enables
multiple scheduling logics
(a key challenge at Google)
● Extensible to work with new technologies
Downloads
Mesos daily downloads, July 2014 - November 2015
Gaining massive adoption
14
© 2015 Mesosphere, Inc. All Rights Reserved.
What Is This All About?
Pets vs Cattle
● A top-level ASF project
● A cluster resource negotiator
● Scalable to 10,000s of nodes but also useful
for a handful of nodes
● Fault-tolerant, battle-tested
● An SDK for distributed apps
● Native Docker support
15
© 2015 Mesosphere, Inc. All Rights Reserved.
What does a scheduler do?
16
© 2015 Mesosphere, Inc. All Rights Reserved.
Resources
Apache Mesos
● resource == anything a task/executor
consumes in order to do their work
● standard resources: cpu, mem, disk, ports
● at its core: DRF algorithm, for fair sharing
across-resource types
17
© 2015 Mesosphere, Inc. All Rights Reserved. 18
Marathon
© 2015 Mesosphere, Inc. All Rights Reserved.
Marathon
● An init System for datacenters
● starts instances of a long-running service
somewhere in the cluster, for example, as Docker
containers
● restarts the instances if they crash
● provides composition primitives
● supports health checks
● supports rolling upgrades
19
© 2015 Mesosphere, Inc. All Rights Reserved.
Marathon
● Basics
● apps and groups
● health checks
● HTTP API
● curl, http
● DCOS CLI
● Team Player
● Integrates nicely
into the DCOS
ecosystem
● Doesn’t try to solve
everything itself
20
© 2015 Mesosphere, Inc. All Rights Reserved.
Marathon
21
© 2015 Mesosphere, Inc. All Rights Reserved.
Marathon
{
"id": "webserver",
"cmd": "python3 -m http.server 8080",
"cpus": 0.5,
"mem": 32.0,
"container": {
"type": "DOCKER",
"docker": {
"image": "python:3",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 8080, "hostPort": 0 }
]
}
},
"acceptedResourceRoles": [
"slave_public"
],
"constraints": [
[
"hostname",
"UNIQUE"
]
]
} 22
© 2015 Mesosphere, Inc. All Rights Reserved.
Service Discovery
23
© 2015 Mesosphere, Inc. All Rights Reserved. 24
Datacenter
Operating System
(DCOS)
© 2015 Mesosphere, Inc. All Rights Reserved. 25
THE DATACENTER IS THE NEW SERVER
PHYSICAL (x86) VIRTUAL HYPERSCALEMAINFRAME
SERVER VIRTUAL MACHINEPARTITION (LPAR)
UNIT OF
INTERACTION
● ERP, CRM, PRODUCTIVITY,
MAIL & WEB SERVER
● LINUX, WINDOWS
● DATA / TRANSACTION
PROCESSING
● UNIX, IBM OS/360
DEFINITIVE
APPS AND OS
● ERP, CRM, PRODUCTIVITY,
MAIL & WEB SERVER
● HYPERVISOR + GUEST OS
● BIG DATA, INTERNET OF
THINGS, MOBILE APPS
● ???
???DATACENTER
NEW FORM FACTOR FOR
DEVELOPING AND RUNNING APPS
● BIG DATA, INTERNET OF
THINGS, MOBILE APPS
● DATACENTER OPERATING
SYSTEM (DCOS)
© 2015 Mesosphere, Inc. All Rights Reserved.
TRADITIONAL DATACENTER
Docker
App
1
Hadoop
Cluster
Spark Cluster
Cloud
Foundry
App
2
VMware
Cluster
OpenStack
• Many “snowflakes”
• Management nightmare
• Lengthy cycles to
deploy code
• Low utilization
26
© 2015 Mesosphere, Inc. All Rights Reserved.
MODERN DATACENTER
• High performance and resource
isolation
• Easy scalability and multi-tenancy
• Fault-tolerant and highly available
• Highly efficient with highest
utilization
• Complete workload portability
Mesos
Docker
Big Data Analytics
(Hadoop, Spark, etc.)
Cloud Foundry
Stateful Service
(All)
Deploys on-premise in cloud or both
27
© 2015 Mesosphere, Inc. All Rights Reserved.
Meet the Datacenter Operating System
28
© 2015 Mesosphere, Inc. All Rights Reserved.
DCOS is a Distributed Operating System
● kernel == Apache Mesos, scaling to 10,000 of nodes
● fault-tolerant in all components, rolling upgrades
throughout
● containers first class citizens (LXC, Docker)
● local OS per node (container enabled)
● scheduling (long-lived, batch)
● service discovery, monitoring, logging, debugging
29
© 2015 Mesosphere, Inc. All Rights Reserved.
Local OS vs. Distributed OS
http://bitly.com/os-vs-dcos 30
© 2015 Mesosphere, Inc. All Rights Reserved.
Benefits
● Run stateless services such as Web servers, app servers
(via Marathon) and stateful services like Crate, Kafka,
HDFS, Cassandra, ArangoDB etc. together on one cluster
● Dynamic partitioning of your cluster, depending on your
needs (business requirements)
● Increased utilization (10% → 80% and more)
31
32
33
© 2015 Mesosphere, Inc. All Rights Reserved.
DCOS Architecture
34
© 2015 Mesosphere, Inc. All Rights Reserved. 35
MICROSOFT AZURE CONTAINER SERVICE (ACS)
Challenges
● Needed a production grade native container service that
would work on premises and on Azure, at massive scale
● Must easily integrate with Azure CI/CD, app management
and auto scaling infrastructure
● Microsoft- and Linux-friendly technology
Mesosphere Solution
● After independent evaluation, MS team determined
Mesos/Mesosphere was the right fit
● Currently integrating Mesosphere DCOS as the core
technology for Azure Container Service
© 2015 Mesosphere, Inc. All Rights Reserved.
WEBINAR
DCOS ON AZURE WEBINAR
Tomorrow (Jan 26), 10 00 AM
http://bit.ly/dcosonazure
36
© 2015 Mesosphere, Inc. All Rights Reserved.
Resources
● MESOSPHERE
https //mesosphere.com
● DCOS COMMUNITY EDITION
https //mesosphere.com/product/
https //docs.mesosphere.com/getting-started/tutorials/
● MICROSOFT AZURE CONTAINER SERVICE
https //mesosphere.com/blog/2015/09/29/mesosphere-and-mesos-power-the-microsoft-azure-
container-service/
● APACHE MESOS FOR WINDOWS SERVER
https //mesosphere.com/blog/2015/08/20/mesos-everywhere-apache-mesos-for-windows-server/
37
© 2015 Mesosphere, Inc. All Rights Reserved. 38
Demo: Oinker
DCOS Presentation

Weitere ähnliche Inhalte

Was ist angesagt?

Growing the Mesos Ecosystem
Growing the Mesos EcosystemGrowing the Mesos Ecosystem
Growing the Mesos Ecosystem
Mesosphere Inc.
 
Dockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices WorldDockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices World
{code}
 
Cloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions ComparedCloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions Compared
Work-Bench
 

Was ist angesagt? (20)

Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management System
 
IoT on DCOS - Scala By the Bay 2015
IoT on DCOS - Scala By the Bay 2015IoT on DCOS - Scala By the Bay 2015
IoT on DCOS - Scala By the Bay 2015
 
Doing Big Data for Real with Docker
Doing Big Data for Real with Docker  Doing Big Data for Real with Docker
Doing Big Data for Real with Docker
 
Mesosphere & Magnetic: Take the pain out of running complex and critical serv...
Mesosphere & Magnetic: Take the pain out of running complex and critical serv...Mesosphere & Magnetic: Take the pain out of running complex and critical serv...
Mesosphere & Magnetic: Take the pain out of running complex and critical serv...
 
Discover the all new Mesosphere DC/OS 1.10
Discover the all new Mesosphere DC/OS 1.10Discover the all new Mesosphere DC/OS 1.10
Discover the all new Mesosphere DC/OS 1.10
 
Growing the Mesos Ecosystem
Growing the Mesos EcosystemGrowing the Mesos Ecosystem
Growing the Mesos Ecosystem
 
Mesos: A State-of-the-art Container Orchestrator
Mesos: A State-of-the-art Container OrchestratorMesos: A State-of-the-art Container Orchestrator
Mesos: A State-of-the-art Container Orchestrator
 
Re-Platforming All the Things
Re-Platforming All the ThingsRe-Platforming All the Things
Re-Platforming All the Things
 
Scaling Like Twitter with Apache Mesos
Scaling Like Twitter with Apache MesosScaling Like Twitter with Apache Mesos
Scaling Like Twitter with Apache Mesos
 
Dockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices WorldDockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices World
 
Elastic jenkins with mesos and dcos (2016 01-20)
Elastic jenkins with mesos and dcos (2016 01-20)Elastic jenkins with mesos and dcos (2016 01-20)
Elastic jenkins with mesos and dcos (2016 01-20)
 
Big Data on DC/OS
Big Data on DC/OSBig Data on DC/OS
Big Data on DC/OS
 
Cloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions ComparedCloud Native Infrastructure Management Solutions Compared
Cloud Native Infrastructure Management Solutions Compared
 
Openstack components as containerized microservices
Openstack components as containerized microservicesOpenstack components as containerized microservices
Openstack components as containerized microservices
 
A First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon PlatformA First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon Platform
 
Puppet + Windows Nano Server
Puppet + Windows Nano ServerPuppet + Windows Nano Server
Puppet + Windows Nano Server
 
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
 
OpenShift on OpenStack
OpenShift on OpenStackOpenShift on OpenStack
OpenShift on OpenStack
 
A complete Open Source cloud: Storage, Virt, IaaS, PaaS
A complete Open Source cloud: Storage, Virt, IaaS, PaaSA complete Open Source cloud: Storage, Virt, IaaS, PaaS
A complete Open Source cloud: Storage, Virt, IaaS, PaaS
 
OpenShift on OpenStack: Deploying With Heat
OpenShift on OpenStack: Deploying With HeatOpenShift on OpenStack: Deploying With Heat
OpenShift on OpenStack: Deploying With Heat
 

Ähnlich wie DCOS Presentation

OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemOSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
NETWAYS
 

Ähnlich wie DCOS Presentation (20)

Doing Dropbox the Native Cloud Native Way
Doing Dropbox the Native Cloud Native WayDoing Dropbox the Native Cloud Native Way
Doing Dropbox the Native Cloud Native Way
 
Hyperscale Computing, Enterprise Agility with Mesosphere
Hyperscale Computing, Enterprise Agility with MesosphereHyperscale Computing, Enterprise Agility with Mesosphere
Hyperscale Computing, Enterprise Agility with Mesosphere
 
Operating Flink on Mesos at Scale
Operating Flink on Mesos at ScaleOperating Flink on Mesos at Scale
Operating Flink on Mesos at Scale
 
Apache Mesos Overview and Integration
Apache Mesos Overview and IntegrationApache Mesos Overview and Integration
Apache Mesos Overview and Integration
 
OSDC 2016 - Mesos and the Architecture of the New Datacenter by Jörg Schad
OSDC 2016 - Mesos and the Architecture of the New Datacenter by Jörg SchadOSDC 2016 - Mesos and the Architecture of the New Datacenter by Jörg Schad
OSDC 2016 - Mesos and the Architecture of the New Datacenter by Jörg Schad
 
Modern Elastic Datacenter Architecture
Modern Elastic Datacenter ArchitectureModern Elastic Datacenter Architecture
Modern Elastic Datacenter Architecture
 
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
 
EMC World 2016 - Introduction to Mesos and Mesosphere
EMC World 2016 - Introduction to Mesos and MesosphereEMC World 2016 - Introduction to Mesos and Mesosphere
EMC World 2016 - Introduction to Mesos and Mesosphere
 
Kubernetes on Top of Mesos on Top of DCOS
Kubernetes on Top of Mesos on Top of DCOSKubernetes on Top of Mesos on Top of DCOS
Kubernetes on Top of Mesos on Top of DCOS
 
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
EMC World 2016 - code.08 Introduction to Mesos and MesosphereEMC World 2016 - code.08 Introduction to Mesos and Mesosphere
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
 
Downtime is not an option - day 2 operations - Jörg Schad
Downtime is not an option - day 2 operations -  Jörg SchadDowntime is not an option - day 2 operations -  Jörg Schad
Downtime is not an option - day 2 operations - Jörg Schad
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 
Deploying Containers in Production and at Scale
Deploying Containers in Production and at ScaleDeploying Containers in Production and at Scale
Deploying Containers in Production and at Scale
 
Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...
Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...
Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...
 
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
Introducing Cloud Development with Project Shipped and Mantl: a deep diveIntroducing Cloud Development with Project Shipped and Mantl: a deep dive
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
 
Introducing Cloud Development with Mantl
Introducing Cloud Development with MantlIntroducing Cloud Development with Mantl
Introducing Cloud Development with Mantl
 
Using DC/OS for Continuous Delivery - DevPulseCon 2017
Using DC/OS for Continuous Delivery - DevPulseCon 2017Using DC/OS for Continuous Delivery - DevPulseCon 2017
Using DC/OS for Continuous Delivery - DevPulseCon 2017
 
Openstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformOpenstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platform
 
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemOSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
 
Introduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OSIntroduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OS
 

Kürzlich hochgeladen

一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
F
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
F
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Monica Sydney
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
ydyuyu
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 

Kürzlich hochgeladen (20)

2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime BalliaBallia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 

DCOS Presentation

  • 1. © 2015 Mesosphere, Inc. All Rights Reserved. 1 Mesosphere DCOS Jan Repnak jan.repnak@mesosphere.io
  • 2. © 2015 Mesosphere, Inc. All Rights Reserved. Agenda - Containers - Apache Mesos - Marathon - Datacenter Operating System (DCOS) - Hands-On 2
  • 3. © 2015 Mesosphere, Inc. All Rights Reserved. 3 LINUX CONTAINERS
  • 4. © 2015 Mesosphere, Inc. All Rights Reserved. Linux Containers The why and the what ● Containers are not VMs … ● … they are process groups for app-level dependency management ● … they are lightweight (startup time, footprint, average runtime) ● security considerations ● pets vs cattle 4
  • 5. © 2015 Mesosphere, Inc. All Rights Reserved. Linux Containers ● namespaces ● Isolate PIDs between processes ● Isolate network resources (stacks, devices, etc.) ● Isolate hostname/NIS (UTS) ● Isolate filesystem mount (chroot) ● Isolate inter process communication (IPC) ● Isolate users/groups ● cgroups ● https //sysadmincasts.com/episodes/14- introduction-to-linux-control-groups-cgroups 5
  • 6. © 2015 Mesosphere, Inc. All Rights Reserved. Docker 6
  • 7. © 2015 Mesosphere, Inc. All Rights Reserved. What Is This All About? Pets vs Cattle ● Pets: treat machines as individuals that you give names and when they get ill you nurse them back to health. ● Cattle: anonymous, identical to each other you assign numbers and when they get ill you get rid of it. http://www.theregister.co.uk/2013/03/18/servers_pets_or_cattle_cern/ 7
  • 8. © 2015 Mesosphere, Inc. All Rights Reserved. Consequences of going all-in with Cattle approach Pets vs Cattle ● scale out on commodity hardware ● elasticity ● 'cheap' & 'simple' ● R U on pager duty? Just sleep through! ● social ≫ technology challenge ● new technical challenges such as service discovery http://www.theregister.co.uk/2013/03/18/servers_pets_or_cattle_cern/ 8
  • 9. © 2015 Mesosphere, Inc. All Rights Reserved. Container Life Cycle 9
  • 10. © 2015 Mesosphere, Inc. All Rights Reserved. 10 Apache Mesos
  • 11. © 2015 Mesosphere, Inc. All Rights Reserved. Mesosphere is well funded $50M by Tier 1 investors Andreessen Horowitz and Khosla Ventures 2009 2013 2014 2015 First Mesosphere DCOS lighthouse customers Tens of thousands of containers launched Expanded Operations San Francisco (2013) Hamburg (2014) New York (2015) Mesosphere Founded Key engineering leaders from Twitter, Airbnb - companies behind open-source tech Apache Mesos built at UC Berkeley ● Core technology from AMPlab ● Corporate large-scale production deployments begin (e.g., Apple, Twitter, Salesforce) Growing Ecosystem & DCOS General Availability Now a breeze to install modern app services (e.g., Hadoop, Spark, Cassandra) MESOSPHERE HISTORY 11
  • 12. © 2015 Mesosphere, Inc. All Rights Reserved. WORKLOADS* 12
  • 13. © 2015 Mesosphere, Inc. All Rights Reserved. MESOS KERNEL APPLIES LESSONS FROM EARLY INNOVATORS Tupperware/BistroBorg/Omega Apache Mesos ProprietaryProprietary Open Source (Apache license) ~2007~2001 2010+ Production-proven Web Scale Cluster Managers ● Built at UC Berkeley AMPLab by Ben Hindman (Mesosphere Co-founder) ● Built in collaboration with Google to overcome some Borg Challenges ● Production proven at scale +80K hosts @ Twitter 13
  • 14. © 2015 Mesosphere, Inc. All Rights Reserved. MESOS IS THE IDEAL KERNEL FOR POWERING A DCOS Designed to be flexible ● Aggregates all resources in the datacenter for modern apps ● Intentionally simple to enable massive scalability ● Handles different types of tasks - long running, batch, and real-time ● Two-level scheduler architecture enables multiple scheduling logics (a key challenge at Google) ● Extensible to work with new technologies Downloads Mesos daily downloads, July 2014 - November 2015 Gaining massive adoption 14
  • 15. © 2015 Mesosphere, Inc. All Rights Reserved. What Is This All About? Pets vs Cattle ● A top-level ASF project ● A cluster resource negotiator ● Scalable to 10,000s of nodes but also useful for a handful of nodes ● Fault-tolerant, battle-tested ● An SDK for distributed apps ● Native Docker support 15
  • 16. © 2015 Mesosphere, Inc. All Rights Reserved. What does a scheduler do? 16
  • 17. © 2015 Mesosphere, Inc. All Rights Reserved. Resources Apache Mesos ● resource == anything a task/executor consumes in order to do their work ● standard resources: cpu, mem, disk, ports ● at its core: DRF algorithm, for fair sharing across-resource types 17
  • 18. © 2015 Mesosphere, Inc. All Rights Reserved. 18 Marathon
  • 19. © 2015 Mesosphere, Inc. All Rights Reserved. Marathon ● An init System for datacenters ● starts instances of a long-running service somewhere in the cluster, for example, as Docker containers ● restarts the instances if they crash ● provides composition primitives ● supports health checks ● supports rolling upgrades 19
  • 20. © 2015 Mesosphere, Inc. All Rights Reserved. Marathon ● Basics ● apps and groups ● health checks ● HTTP API ● curl, http ● DCOS CLI ● Team Player ● Integrates nicely into the DCOS ecosystem ● Doesn’t try to solve everything itself 20
  • 21. © 2015 Mesosphere, Inc. All Rights Reserved. Marathon 21
  • 22. © 2015 Mesosphere, Inc. All Rights Reserved. Marathon { "id": "webserver", "cmd": "python3 -m http.server 8080", "cpus": 0.5, "mem": 32.0, "container": { "type": "DOCKER", "docker": { "image": "python:3", "network": "BRIDGE", "portMappings": [ { "containerPort": 8080, "hostPort": 0 } ] } }, "acceptedResourceRoles": [ "slave_public" ], "constraints": [ [ "hostname", "UNIQUE" ] ] } 22
  • 23. © 2015 Mesosphere, Inc. All Rights Reserved. Service Discovery 23
  • 24. © 2015 Mesosphere, Inc. All Rights Reserved. 24 Datacenter Operating System (DCOS)
  • 25. © 2015 Mesosphere, Inc. All Rights Reserved. 25 THE DATACENTER IS THE NEW SERVER PHYSICAL (x86) VIRTUAL HYPERSCALEMAINFRAME SERVER VIRTUAL MACHINEPARTITION (LPAR) UNIT OF INTERACTION ● ERP, CRM, PRODUCTIVITY, MAIL & WEB SERVER ● LINUX, WINDOWS ● DATA / TRANSACTION PROCESSING ● UNIX, IBM OS/360 DEFINITIVE APPS AND OS ● ERP, CRM, PRODUCTIVITY, MAIL & WEB SERVER ● HYPERVISOR + GUEST OS ● BIG DATA, INTERNET OF THINGS, MOBILE APPS ● ??? ???DATACENTER NEW FORM FACTOR FOR DEVELOPING AND RUNNING APPS ● BIG DATA, INTERNET OF THINGS, MOBILE APPS ● DATACENTER OPERATING SYSTEM (DCOS)
  • 26. © 2015 Mesosphere, Inc. All Rights Reserved. TRADITIONAL DATACENTER Docker App 1 Hadoop Cluster Spark Cluster Cloud Foundry App 2 VMware Cluster OpenStack • Many “snowflakes” • Management nightmare • Lengthy cycles to deploy code • Low utilization 26
  • 27. © 2015 Mesosphere, Inc. All Rights Reserved. MODERN DATACENTER • High performance and resource isolation • Easy scalability and multi-tenancy • Fault-tolerant and highly available • Highly efficient with highest utilization • Complete workload portability Mesos Docker Big Data Analytics (Hadoop, Spark, etc.) Cloud Foundry Stateful Service (All) Deploys on-premise in cloud or both 27
  • 28. © 2015 Mesosphere, Inc. All Rights Reserved. Meet the Datacenter Operating System 28
  • 29. © 2015 Mesosphere, Inc. All Rights Reserved. DCOS is a Distributed Operating System ● kernel == Apache Mesos, scaling to 10,000 of nodes ● fault-tolerant in all components, rolling upgrades throughout ● containers first class citizens (LXC, Docker) ● local OS per node (container enabled) ● scheduling (long-lived, batch) ● service discovery, monitoring, logging, debugging 29
  • 30. © 2015 Mesosphere, Inc. All Rights Reserved. Local OS vs. Distributed OS http://bitly.com/os-vs-dcos 30
  • 31. © 2015 Mesosphere, Inc. All Rights Reserved. Benefits ● Run stateless services such as Web servers, app servers (via Marathon) and stateful services like Crate, Kafka, HDFS, Cassandra, ArangoDB etc. together on one cluster ● Dynamic partitioning of your cluster, depending on your needs (business requirements) ● Increased utilization (10% → 80% and more) 31
  • 32. 32
  • 33. 33
  • 34. © 2015 Mesosphere, Inc. All Rights Reserved. DCOS Architecture 34
  • 35. © 2015 Mesosphere, Inc. All Rights Reserved. 35 MICROSOFT AZURE CONTAINER SERVICE (ACS) Challenges ● Needed a production grade native container service that would work on premises and on Azure, at massive scale ● Must easily integrate with Azure CI/CD, app management and auto scaling infrastructure ● Microsoft- and Linux-friendly technology Mesosphere Solution ● After independent evaluation, MS team determined Mesos/Mesosphere was the right fit ● Currently integrating Mesosphere DCOS as the core technology for Azure Container Service
  • 36. © 2015 Mesosphere, Inc. All Rights Reserved. WEBINAR DCOS ON AZURE WEBINAR Tomorrow (Jan 26), 10 00 AM http://bit.ly/dcosonazure 36
  • 37. © 2015 Mesosphere, Inc. All Rights Reserved. Resources ● MESOSPHERE https //mesosphere.com ● DCOS COMMUNITY EDITION https //mesosphere.com/product/ https //docs.mesosphere.com/getting-started/tutorials/ ● MICROSOFT AZURE CONTAINER SERVICE https //mesosphere.com/blog/2015/09/29/mesosphere-and-mesos-power-the-microsoft-azure- container-service/ ● APACHE MESOS FOR WINDOWS SERVER https //mesosphere.com/blog/2015/08/20/mesos-everywhere-apache-mesos-for-windows-server/ 37
  • 38. © 2015 Mesosphere, Inc. All Rights Reserved. 38 Demo: Oinker