DOING BIG DATA FOR REAL WITH DOCKER MESOSPHERE DCOS Elizabeth - - PowerPoint PPT Presentation

doing big data for real with docker
SMART_READER_LITE
LIVE PREVIEW

DOING BIG DATA FOR REAL WITH DOCKER MESOSPHERE DCOS Elizabeth - - PowerPoint PPT Presentation

DOING BIG DATA FOR REAL WITH DOCKER MESOSPHERE DCOS Elizabeth Lingg elizabeth@mesosphere.io AGENDA 1. Intro 2. Mesosphere, Docker, and DCOS Overview 3. Big Data Container Orchestration using DCOS and Docker 4. Demo 5. Q & A INTRO


slide-1
SLIDE 1

DOING BIG DATA FOR REAL WITH DOCKER

MESOSPHERE DCOS

Elizabeth Lingg

elizabeth@mesosphere.io

slide-2
SLIDE 2

AGENDA

  • 1. Intro
  • 2. Mesosphere, Docker, and DCOS Overview
  • 3. Big Data Container Orchestration using DCOS and Docker
  • 4. Demo
  • 5. Q & A
slide-3
SLIDE 3

INTRO

Engineering Manager @ Mesosphere M.S. Computer Science with a Specialization in Artificial Intelligence from Stanford B.S. Computer Science with a Minor in Math, B.S. Policy and Management from Carnegie Mellon Experience in AI, Big Data, and Systems Enjoys applying Distributed Systems to Manage and Reason Over Large Amounts of Data

slide-4
SLIDE 4

MESOS

Provides primitives to author datacenter-native apps. PRIMITIVES Resources (cpu, mem, disk, ports) Asset fetching Task state tracking API for the datacenter

slide-5
SLIDE 5

STATUS QUO IS STATIC PARTITIONING AND USE OF VIRTUAL MACHINES

slide-6
SLIDE 6

MESOS LET US TREAT A CLUSTER OF NODES...

slide-7
SLIDE 7

AS ONE BIG COMPUTER

slide-8
SLIDE 8

Not as individual machines

Not as VMs

slide-9
SLIDE 9

BUT AS COMPUTATIONAL RESOURCES LIKE CORES, MEMORY, DISKS, ETC.

slide-10
SLIDE 10
slide-11
SLIDE 11

WE LOVE CONTAINERS

slide-12
SLIDE 12

MOST MODERN APPLICATIONS ARE A WEB OF CONTAINERS

slide-13
SLIDE 13

A CONTAINER ORCHESTRATION PLATFORM

slide-14
SLIDE 14

Containerization in Mesos, a brief history

slide-15
SLIDE 15

MESOSPHERE DCOS

Software to provide a complete OS: init, cron, apt-get, discovery, routing Beautiful web UI and CLI Support Ecosystem of DCOS Services Mesos Master and Mesos Workers Running in Docker Containers

slide-16
SLIDE 16

DCOS UI

slide-17
SLIDE 17

DCOS CLI

$ dcos Command line utility for the Mesosphere Datacenter Operating System (DCOS). The Mesosphere DCOS is a distributed operating system built around Apache Mesos. This utility provides tools for easy management of a DCOS installation. Available DCOS commands: config Get and set DCOS CLI configuration properties help Display command line usage information marathon Deploy and manage applications on the DCOS node Manage DCOS nodes package Install and manage DCOS software packages service Manage DCOS services task Manage DCOS tasks
slide-18
SLIDE 18

BIG DATA DISTRIBUTED APPLICATIONS ON DCOS

Mesos Master and Mesos Workers Running in Docker Containers Distributed Applications Running in Containers on the Mesos Workers Container Orchestration done by Apache Mesos Resource Allocation and Scaling Managed by Apache Mesos

slide-19
SLIDE 19

BIG DATA DISTRIBUTED APPLICATIONS ON DCOS

Popular Distributed Apps easily deployed on a single DCOS Cluster Kafka, Cassandra, HDFS, Spark, and other Big Data Services Health checks and failure recovery are automated

slide-20
SLIDE 20

APPLICATION NETWORKING

Interact with the CLI or REST API's to interact with the services Mesos DNS Resolution Docker Networking mainly done through host mode networking, works seamlessly

slide-21
SLIDE 21

DATA SECURITY

Services storing secure data run on private worker nodes in the cluster Private nodes can only be accessed through VPN As needed, services choose what is exposed through a proxy running on a public node Distributed Application can authenticate with the Master using Framework Authentication (Kerberos Option)

slide-22
SLIDE 22

EXAMPLE: SIMPLE DOCKER APP ON DCOS

{ "id": "/mesosphere/cd-demo-app", "instances": 1, "cpus": 1, "mem": 512, "container": { "type": "DOCKER", "docker": { "image": "mesosphere/cd-demo-app:$tag", "network": "BRIDGE", "portMappings": [ { "servicePort": 28080, "containerPort": 80, "hostPort": 0, "protocol": "tcp" } <
slide-23
SLIDE 23

EXAMPLE: CASSANDRA DCOS SERVICE

FEATURES

Managed node configuration Health Monitoring Rest API DNS Names for nodes Multiple Rings in one cluster

slide-24
SLIDE 24

INSTALL

$ dcos package install cassandra

CUSTOMIZABLE INSTALL OPTIONS

{ "cassandra": { "cluster-name": "dev", "resources": { "cpus": 3.0, "mem": 6144, "disk": 30720 } } } $ dcos package install cassandra --options=options.json
slide-25
SLIDE 25

INSTALLING

slide-26
SLIDE 26

HEALTHY

slide-27
SLIDE 27

REST API

GET /node/all GET /health/cluster/report POST /node/{node}/replace POST /cluster/repair/start POST /scale/nodes?nodeCount={count}
slide-28
SLIDE 28

DEMO!

slide-29
SLIDE 29

Q & A

slide-30
SLIDE 30

THANKS!

LET'S CHAT!

WE'RE HIRING! DCOS: Join: mesosphere.com mesosphere.com/careers/