SlideShare a Scribd company logo
© 2017 Mesosphere, Inc. All Rights Reserved. 1
Leeds DevOps
Introduction to DC/OS
Matt Jarvis
@mattj_io
© 2017 Mesosphere, Inc. All Rights Reserved.
❏ Head of Community and Evangelism at Mesosphere
❏ Building stuff with open source software for 15+ years
❏ Ops, Dev and Dev/Ops
Matt Jarvis, Head of Community and Evangelism
@mattj_io
© 2017 Mesosphere, Inc. All Rights Reserved. 3
In the beginning there was ….
© 2017 Mesosphere, Inc. All Rights Reserved. 4
Things get smaller
© 2017 Mesosphere, Inc. All Rights Reserved. 5
Connect some smaller computers to the big one ...
© 2017 Mesosphere, Inc. All Rights Reserved. 6
Scaling ...
© 2017 Mesosphere, Inc. All Rights Reserved. 7
MapReduce is crunching data ..
© 2017 Mesosphere, Inc. All Rights Reserved. 8
First generation creates processing silos
© 2017 Mesosphere, Inc. All Rights Reserved. 9
Subdivision of infrastructure
© 2017 Mesosphere, Inc. All Rights Reserved. 10
Splitting applications up
© 2017 Mesosphere, Inc. All Rights Reserved. 11
We need to turn faster ..
© 2017 Mesosphere, Inc. All Rights Reserved.
MODERN APPLICATION -> FAST DATA BUILT-IN
Data Ingestion
Request/Response
Devices
Client
Sensors
Message
Queue/Bus
Microservices Distributed Storage
Analytics
(Streaming) Use Cases:
● Anomaly detection
● Personalization
● IoT Applications
● Predictive Analytics
● Machine Learning
© 2017 Mesosphere, Inc. All Rights Reserved.
The SMACK Stack
Data Ingestion
Request/Response
Devices
Client
Sensors
Use Cases:
● Anomaly detection
● Personalization
● IoT Applications
● Predictive Analytics
● Machine Learning
Message
Queue/Bus
Microservices Distributed Storage
Analytics
(Streaming)
© 2017 Mesosphere, Inc. All Rights Reserved.
Complexity increases
© 2017 Mesosphere, Inc. All Rights Reserved. 15
Apache Mesos:
The datacenter kernel
http://mesos.apache.org/
© 2017 Mesosphere, Inc. All Rights Reserved.
• A cluster resource
negotiator
• A top-level Apache project
• Scalable to 10,000s of
nodes
• Fault-tolerant, battle-tested
• An SDK for distributed apps
• Native Docker support
16
Building block of the modern internet
http://mesos.apache.org/documentation/latest/powered-by-mesos/
© 2017 Mesosphere, Inc. All Rights Reserved. 17
THE BIRTH OF MESOS
TWITTER TECH TALK
The grad students working on Mesos
give a tech talk at Twitter.
March 2010
APACHE INCUBATION
Mesos enters the Apache Incubator.
Spring 2009
CS262B
Ben Hindman, Andy Konwinski and
Matei Zaharia create “Nexus” as their
CS262B class project.
MESOS PUBLISHED
Mesos: A Platform for Fine-Grained
Resource Sharing in the Data Center is
published as a technical report.
September 2010
December 2010
DC/OS
April 2016
© 2017 Mesosphere, Inc. All Rights Reserved. 18
Solving the Fail Whale
© 2017 Mesosphere, Inc. All Rights Reserved. 19
THE BIRTH OF MESOS
TWITTER TECH TALK
The grad students working on Mesos
give a tech talk at Twitter.
March 2010
APACHE INCUBATION
Mesos enters the Apache Incubator.
Spring 2009
CS262B
Ben Hindman, Andy Konwinski and
Matei Zaharia create “Nexus” as their
CS262B class project.
MESOS PUBLISHED
Mesos: A Platform for Fine-Grained
Resource Sharing in the Data Center is
published as a technical report.
September 2010
December 2010
DC/OS
April 2016
© 2017 Mesosphere, Inc. All Rights Reserved.
Two level scheduling
Mesos Master and Agents
● Abstract resources into single pool
● Offers and tracks resources
● Guarantees isolation
● Handles workload restart on failure
Mesos Framework
● Consumes resources
● Deploys tasks
● Provides application specific logic for deployment, recovery, upgrade
© 2017 Mesosphere, Inc. All Rights Reserved. 21
MULTIPLEXING OF DATA, SERVICES, USERS, ENVIRONMENTS
Typical Datacenter
siloed, over-provisioned servers,
low utilization
Apache Mesos
automated schedulers, workload multiplexing onto the
same machines
mySQL
microservice
Cassandra
Spark/Hadoop
Kafka
22
© 2017 Mesosphere, Inc. All Rights Reserved. 23
DC/OS brings it all together
● Service Discovery
● Load Balancing
● Security
● Ease of installation
● Comprehensive tooling for operations
● Built in frameworks for long running and
scheduled jobs
● Catalog of pre-configured apps (including
Apache Spark, Apache Kafka…), browse at
http://universe.dcos.io/
● And much more https://dcos.io/
24
DC/OS is … ● 100% open source (ASL2.0)
+ A big, diverse community
● An umbrella for ~30 OSS projects
+ Roadmap and designs
+ Documentation and tutorials
● Not limited in any way
© 2017 Mesosphere, Inc. All Rights Reserved. 25
DC/OS
Architecture
Overview
Security &
Governance
Container Orchestration Monitoring & Operations User Interface & Command Line
HDFS Jenkins Marathon Cassandra Flink
Spark Docker Kafka MongoDB +30 more...
DC/OS
Services & Containers
ANY INFRASTRUCTURE
© 2017 Mesosphere, Inc. All Rights Reserved. 26
Web-based GUI
https://dcos.io/docs/lates
t/usage/webinterface/
Interact with DC/OS (1/2)
© 2017 Mesosphere, Inc. All Rights Reserved. 27
CLI tool
https://dcos.io/docs/latest/usage/cli/
API
https://dcos.io/docs/latest/api/
Interact with DC/OS (2/2)
© 2017 Mesosphere, Inc. All Rights Reserved. 28
Catalog of Applications
© 2017 Mesosphere, Inc. All Rights Reserved. 29
Install an
Application
© 2017 Mesosphere, Inc. All Rights Reserved. 30
Application
JSON
© 2017 Mesosphere, Inc. All Rights Reserved. 31
Service Discovery
Critical to distributed systems since container can be spawned anywhere
Mesos DNS
● Each instance of a service given a DNS entry in pattern task.scheduler.mesos eg. myapp.marathon.mesos
● Basic round robin load balancing
● Requires an A and SRV lookup
Named VIPS
● Service allocated name based virtual IP eg. redis.marathon.l4lb.thisdcos.directory:6379
● Very high performance - integrates with connection tracking table in kernel for real address resolution
● Also provides low cost East/West load balancing
● Uses gossip protocol to propagate between nodes
● ~100ms update times
© 2017 Mesosphere, Inc. All Rights Reserved. 32
Load balancing - MarathonLB
● Based on HAProxy
● Ingests state of running applications
● Regenerates HAProxy configuration
● Can be North/South or East/West
© 2017 Mesosphere, Inc. All Rights Reserved. 33
Integrated storage options
© 2017 Mesosphere, Inc. All Rights Reserved. 34
Networking
● Integrated VXLAN based virtual networks
● CNI compatible upstream integrations - Calico, OpenContrail etc.
© 2017 Mesosphere, Inc. All Rights Reserved. 35
● Mesos can’t run applications on its
own.
● A Mesos framework is a distributed
system that has a scheduler.
● Schedulers like Marathon start and
keep your applications running. A bit
like a distributed init system.
● Learn more at
https://mesosphere.github.io/marat
hon/
Marathon
© 2017 Mesosphere, Inc. All Rights Reserved. 36
Mesos Docker containerizer
© 2017 Mesosphere, Inc. All Rights Reserved. 37
Mesos Universal Container Runtime - no Docker runtime
© 2017 Mesosphere, Inc. All Rights Reserved. 38
Kubernetes
● Beta framework for running Kubernetes clusters
● Multiple clusters within same DC/OS cluster
● Multiple versions within same DC/OS cluster
© 2017 Mesosphere, Inc. All Rights Reserved. 39
Centralised operations
© 2017 Mesosphere, Inc. All Rights Reserved. 40
Centralised operations
Framework integrations
● CLI extensions
● Integrated UI’s
Logging aggregation
● Available through API, CLI and UI
● Integration with ELK and others
Metrics aggregation
● Available through UI, CLI and API
● Integrates with Prometheus, InfluxDB etc.
Single pane of glass across all frameworks
dcos kafka topic create topic1 --partitions 1 --replication 1
© 2017 Mesosphere, Inc. All Rights Reserved. 41
Try it out !
© 2017 Mesosphere, Inc. All Rights Reserved. 42
Questions?
Matt Jarvis
Twitter: @mattj-io
Email: mjarvis@mesosphere.com
https://dcos.io
@dcos
users@dcos.io
/dcos
/dcos/examples
/dcos/demos
chat.dcos.io
© 2017 Mesosphere, Inc. All Rights Reserved.
The SMACK Stack
© 2017 Mesosphere, Inc. All Rights Reserved. 44
DEM0
Financial Transaction Processing using Apache Kafka and Apache Flink

More Related Content

What's hot

recent CF repositories
recent CF repositoriesrecent CF repositories
recent CF repositories
Ken Ojiri
 
Containerday17 Moby-linuxkit-DockerCon-2017-announcements
Containerday17 Moby-linuxkit-DockerCon-2017-announcementsContainerday17 Moby-linuxkit-DockerCon-2017-announcements
Containerday17 Moby-linuxkit-DockerCon-2017-announcements
Kiratech
 
Drupal on windows azure
Drupal on windows azureDrupal on windows azure
Drupal on windows azure
Ivan James Fermanejo
 
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
{code}
 
Developing Client-side Application using Visual Studio Code and Nodejs
Developing Client-side Application using Visual Studio Code and NodejsDeveloping Client-side Application using Visual Studio Code and Nodejs
Developing Client-side Application using Visual Studio Code and Nodejs
Rajesh Gunasundaram
 
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
EMC World 2016 - code.02 Introduction to Immutable InfrastructureEMC World 2016 - code.02 Introduction to Immutable Infrastructure
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
{code}
 
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at KiratechMoby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
Kiratech
 
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
{code}
 
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source HeavenLibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
iCRAFT Corp. (アイクラフト株式会社)
 

What's hot (9)

recent CF repositories
recent CF repositoriesrecent CF repositories
recent CF repositories
 
Containerday17 Moby-linuxkit-DockerCon-2017-announcements
Containerday17 Moby-linuxkit-DockerCon-2017-announcementsContainerday17 Moby-linuxkit-DockerCon-2017-announcements
Containerday17 Moby-linuxkit-DockerCon-2017-announcements
 
Drupal on windows azure
Drupal on windows azureDrupal on windows azure
Drupal on windows azure
 
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
 
Developing Client-side Application using Visual Studio Code and Nodejs
Developing Client-side Application using Visual Studio Code and NodejsDeveloping Client-side Application using Visual Studio Code and Nodejs
Developing Client-side Application using Visual Studio Code and Nodejs
 
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
EMC World 2016 - code.02 Introduction to Immutable InfrastructureEMC World 2016 - code.02 Introduction to Immutable Infrastructure
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
 
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at KiratechMoby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
 
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
 
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source HeavenLibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
 

Similar to Introduction to DC/OS

Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
Amita Ekbote
 
SMACK stack and beyond
SMACK stack and beyondSMACK stack and beyond
SMACK stack and beyond
Matt Jarvis
 
The Open Sourcing of Infrastructure
The Open Sourcing of InfrastructureThe Open Sourcing of Infrastructure
The Open Sourcing of Infrastructure
All Things Open
 
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
pleia2
 
Webinar: End-to-End CI/CD with GitLab and DC/OS
Webinar: End-to-End CI/CD with GitLab and DC/OSWebinar: End-to-End CI/CD with GitLab and DC/OS
Webinar: End-to-End CI/CD with GitLab and DC/OS
Mesosphere Inc.
 
Flink Forward San Francisco 2017 - Flink meet DC/OS
Flink Forward San Francisco 2017 - Flink meet DC/OSFlink Forward San Francisco 2017 - Flink meet DC/OS
Flink Forward San Francisco 2017 - Flink meet DC/OS
pleia2
 
Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...
Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...
Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...
Flink Forward
 
Flink forward sf 17
Flink forward sf 17Flink forward sf 17
Flink forward sf 17
Ravi Yadav
 
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
NETWAYS
 
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
C4Media
 
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
QAware GmbH
 
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
Stefan Schimanski
 
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
Minio
 
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
David vonThenen
 
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
Codemotion
 
[DO16] Mesosphere : Microservices meet Fast Data on Azure
[DO16] Mesosphere : Microservices meet Fast Data on Azure [DO16] Mesosphere : Microservices meet Fast Data on Azure
[DO16] Mesosphere : Microservices meet Fast Data on Azure
de:code 2017
 
Alluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACKAlluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACK
Alluxio, Inc.
 
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
{code} by Dell EMC
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
Mesosphere Inc.
 
Dealing with kubesprawl tetris style !
Dealing with kubesprawl   tetris style !Dealing with kubesprawl   tetris style !
Dealing with kubesprawl tetris style !
Taco Scargo
 

Similar to Introduction to DC/OS (20)

Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
 
SMACK stack and beyond
SMACK stack and beyondSMACK stack and beyond
SMACK stack and beyond
 
The Open Sourcing of Infrastructure
The Open Sourcing of InfrastructureThe Open Sourcing of Infrastructure
The Open Sourcing of Infrastructure
 
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
 
Webinar: End-to-End CI/CD with GitLab and DC/OS
Webinar: End-to-End CI/CD with GitLab and DC/OSWebinar: End-to-End CI/CD with GitLab and DC/OS
Webinar: End-to-End CI/CD with GitLab and DC/OS
 
Flink Forward San Francisco 2017 - Flink meet DC/OS
Flink Forward San Francisco 2017 - Flink meet DC/OSFlink Forward San Francisco 2017 - Flink meet DC/OS
Flink Forward San Francisco 2017 - Flink meet DC/OS
 
Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...
Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...
Flink forward SF 2017: Elizabeth K. Joseph and Ravi Yadav - Flink meet DC/OS ...
 
Flink forward sf 17
Flink forward sf 17Flink forward sf 17
Flink forward sf 17
 
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
 
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
 
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
 
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
 
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
 
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
 
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
 
[DO16] Mesosphere : Microservices meet Fast Data on Azure
[DO16] Mesosphere : Microservices meet Fast Data on Azure [DO16] Mesosphere : Microservices meet Fast Data on Azure
[DO16] Mesosphere : Microservices meet Fast Data on Azure
 
Alluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACKAlluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACK
 
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 
Dealing with kubesprawl tetris style !
Dealing with kubesprawl   tetris style !Dealing with kubesprawl   tetris style !
Dealing with kubesprawl tetris style !
 

Recently uploaded

一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
Paul Brebner
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio, Inc.
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
The Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdfThe Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdf
mohitd6
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
michniczscribd
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
campbellclarkson
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Upturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in NashikUpturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in Nashik
Upturn India Technologies
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Building API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructureBuilding API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructure
confluent
 
TMU毕业证书精仿办理
TMU毕业证书精仿办理TMU毕业证书精仿办理
TMU毕业证书精仿办理
aeeva
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
Jhone kinadey
 

Recently uploaded (20)

一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
The Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdfThe Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdf
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Upturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in NashikUpturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in Nashik
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Building API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructureBuilding API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructure
 
TMU毕业证书精仿办理
TMU毕业证书精仿办理TMU毕业证书精仿办理
TMU毕业证书精仿办理
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
 

Introduction to DC/OS

  • 1. © 2017 Mesosphere, Inc. All Rights Reserved. 1 Leeds DevOps Introduction to DC/OS Matt Jarvis @mattj_io
  • 2. © 2017 Mesosphere, Inc. All Rights Reserved. ❏ Head of Community and Evangelism at Mesosphere ❏ Building stuff with open source software for 15+ years ❏ Ops, Dev and Dev/Ops Matt Jarvis, Head of Community and Evangelism @mattj_io
  • 3. © 2017 Mesosphere, Inc. All Rights Reserved. 3 In the beginning there was ….
  • 4. © 2017 Mesosphere, Inc. All Rights Reserved. 4 Things get smaller
  • 5. © 2017 Mesosphere, Inc. All Rights Reserved. 5 Connect some smaller computers to the big one ...
  • 6. © 2017 Mesosphere, Inc. All Rights Reserved. 6 Scaling ...
  • 7. © 2017 Mesosphere, Inc. All Rights Reserved. 7 MapReduce is crunching data ..
  • 8. © 2017 Mesosphere, Inc. All Rights Reserved. 8 First generation creates processing silos
  • 9. © 2017 Mesosphere, Inc. All Rights Reserved. 9 Subdivision of infrastructure
  • 10. © 2017 Mesosphere, Inc. All Rights Reserved. 10 Splitting applications up
  • 11. © 2017 Mesosphere, Inc. All Rights Reserved. 11 We need to turn faster ..
  • 12. © 2017 Mesosphere, Inc. All Rights Reserved. MODERN APPLICATION -> FAST DATA BUILT-IN Data Ingestion Request/Response Devices Client Sensors Message Queue/Bus Microservices Distributed Storage Analytics (Streaming) Use Cases: ● Anomaly detection ● Personalization ● IoT Applications ● Predictive Analytics ● Machine Learning
  • 13. © 2017 Mesosphere, Inc. All Rights Reserved. The SMACK Stack Data Ingestion Request/Response Devices Client Sensors Use Cases: ● Anomaly detection ● Personalization ● IoT Applications ● Predictive Analytics ● Machine Learning Message Queue/Bus Microservices Distributed Storage Analytics (Streaming)
  • 14. © 2017 Mesosphere, Inc. All Rights Reserved. Complexity increases
  • 15. © 2017 Mesosphere, Inc. All Rights Reserved. 15 Apache Mesos: The datacenter kernel http://mesos.apache.org/
  • 16. © 2017 Mesosphere, Inc. All Rights Reserved. • A cluster resource negotiator • A top-level Apache project • Scalable to 10,000s of nodes • Fault-tolerant, battle-tested • An SDK for distributed apps • Native Docker support 16 Building block of the modern internet http://mesos.apache.org/documentation/latest/powered-by-mesos/
  • 17. © 2017 Mesosphere, Inc. All Rights Reserved. 17 THE BIRTH OF MESOS TWITTER TECH TALK The grad students working on Mesos give a tech talk at Twitter. March 2010 APACHE INCUBATION Mesos enters the Apache Incubator. Spring 2009 CS262B Ben Hindman, Andy Konwinski and Matei Zaharia create “Nexus” as their CS262B class project. MESOS PUBLISHED Mesos: A Platform for Fine-Grained Resource Sharing in the Data Center is published as a technical report. September 2010 December 2010 DC/OS April 2016
  • 18. © 2017 Mesosphere, Inc. All Rights Reserved. 18 Solving the Fail Whale
  • 19. © 2017 Mesosphere, Inc. All Rights Reserved. 19 THE BIRTH OF MESOS TWITTER TECH TALK The grad students working on Mesos give a tech talk at Twitter. March 2010 APACHE INCUBATION Mesos enters the Apache Incubator. Spring 2009 CS262B Ben Hindman, Andy Konwinski and Matei Zaharia create “Nexus” as their CS262B class project. MESOS PUBLISHED Mesos: A Platform for Fine-Grained Resource Sharing in the Data Center is published as a technical report. September 2010 December 2010 DC/OS April 2016
  • 20. © 2017 Mesosphere, Inc. All Rights Reserved. Two level scheduling Mesos Master and Agents ● Abstract resources into single pool ● Offers and tracks resources ● Guarantees isolation ● Handles workload restart on failure Mesos Framework ● Consumes resources ● Deploys tasks ● Provides application specific logic for deployment, recovery, upgrade
  • 21. © 2017 Mesosphere, Inc. All Rights Reserved. 21 MULTIPLEXING OF DATA, SERVICES, USERS, ENVIRONMENTS Typical Datacenter siloed, over-provisioned servers, low utilization Apache Mesos automated schedulers, workload multiplexing onto the same machines mySQL microservice Cassandra Spark/Hadoop Kafka
  • 22. 22
  • 23. © 2017 Mesosphere, Inc. All Rights Reserved. 23 DC/OS brings it all together ● Service Discovery ● Load Balancing ● Security ● Ease of installation ● Comprehensive tooling for operations ● Built in frameworks for long running and scheduled jobs ● Catalog of pre-configured apps (including Apache Spark, Apache Kafka…), browse at http://universe.dcos.io/ ● And much more https://dcos.io/
  • 24. 24 DC/OS is … ● 100% open source (ASL2.0) + A big, diverse community ● An umbrella for ~30 OSS projects + Roadmap and designs + Documentation and tutorials ● Not limited in any way
  • 25. © 2017 Mesosphere, Inc. All Rights Reserved. 25 DC/OS Architecture Overview Security & Governance Container Orchestration Monitoring & Operations User Interface & Command Line HDFS Jenkins Marathon Cassandra Flink Spark Docker Kafka MongoDB +30 more... DC/OS Services & Containers ANY INFRASTRUCTURE
  • 26. © 2017 Mesosphere, Inc. All Rights Reserved. 26 Web-based GUI https://dcos.io/docs/lates t/usage/webinterface/ Interact with DC/OS (1/2)
  • 27. © 2017 Mesosphere, Inc. All Rights Reserved. 27 CLI tool https://dcos.io/docs/latest/usage/cli/ API https://dcos.io/docs/latest/api/ Interact with DC/OS (2/2)
  • 28. © 2017 Mesosphere, Inc. All Rights Reserved. 28 Catalog of Applications
  • 29. © 2017 Mesosphere, Inc. All Rights Reserved. 29 Install an Application
  • 30. © 2017 Mesosphere, Inc. All Rights Reserved. 30 Application JSON
  • 31. © 2017 Mesosphere, Inc. All Rights Reserved. 31 Service Discovery Critical to distributed systems since container can be spawned anywhere Mesos DNS ● Each instance of a service given a DNS entry in pattern task.scheduler.mesos eg. myapp.marathon.mesos ● Basic round robin load balancing ● Requires an A and SRV lookup Named VIPS ● Service allocated name based virtual IP eg. redis.marathon.l4lb.thisdcos.directory:6379 ● Very high performance - integrates with connection tracking table in kernel for real address resolution ● Also provides low cost East/West load balancing ● Uses gossip protocol to propagate between nodes ● ~100ms update times
  • 32. © 2017 Mesosphere, Inc. All Rights Reserved. 32 Load balancing - MarathonLB ● Based on HAProxy ● Ingests state of running applications ● Regenerates HAProxy configuration ● Can be North/South or East/West
  • 33. © 2017 Mesosphere, Inc. All Rights Reserved. 33 Integrated storage options
  • 34. © 2017 Mesosphere, Inc. All Rights Reserved. 34 Networking ● Integrated VXLAN based virtual networks ● CNI compatible upstream integrations - Calico, OpenContrail etc.
  • 35. © 2017 Mesosphere, Inc. All Rights Reserved. 35 ● Mesos can’t run applications on its own. ● A Mesos framework is a distributed system that has a scheduler. ● Schedulers like Marathon start and keep your applications running. A bit like a distributed init system. ● Learn more at https://mesosphere.github.io/marat hon/ Marathon
  • 36. © 2017 Mesosphere, Inc. All Rights Reserved. 36 Mesos Docker containerizer
  • 37. © 2017 Mesosphere, Inc. All Rights Reserved. 37 Mesos Universal Container Runtime - no Docker runtime
  • 38. © 2017 Mesosphere, Inc. All Rights Reserved. 38 Kubernetes ● Beta framework for running Kubernetes clusters ● Multiple clusters within same DC/OS cluster ● Multiple versions within same DC/OS cluster
  • 39. © 2017 Mesosphere, Inc. All Rights Reserved. 39 Centralised operations
  • 40. © 2017 Mesosphere, Inc. All Rights Reserved. 40 Centralised operations Framework integrations ● CLI extensions ● Integrated UI’s Logging aggregation ● Available through API, CLI and UI ● Integration with ELK and others Metrics aggregation ● Available through UI, CLI and API ● Integrates with Prometheus, InfluxDB etc. Single pane of glass across all frameworks dcos kafka topic create topic1 --partitions 1 --replication 1
  • 41. © 2017 Mesosphere, Inc. All Rights Reserved. 41 Try it out !
  • 42. © 2017 Mesosphere, Inc. All Rights Reserved. 42 Questions? Matt Jarvis Twitter: @mattj-io Email: mjarvis@mesosphere.com https://dcos.io @dcos users@dcos.io /dcos /dcos/examples /dcos/demos chat.dcos.io
  • 43. © 2017 Mesosphere, Inc. All Rights Reserved. The SMACK Stack
  • 44. © 2017 Mesosphere, Inc. All Rights Reserved. 44 DEM0 Financial Transaction Processing using Apache Kafka and Apache Flink