doing big data for real with docker
play

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


  1. DOING BIG DATA FOR REAL WITH DOCKER MESOSPHERE DCOS Elizabeth Lingg elizabeth@mesosphere.io

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

  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

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

  5. STATUS QUO IS STATIC PARTITIONING AND USE OF VIRTUAL MACHINES

  6. MESOS LET US TREAT A CLUSTER OF NODES...

  7. AS ONE BIG COMPUTER

  8.   Not as individual Not as VMs machines

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

  10. WE LOVE CONTAINERS

  11. MOST MODERN APPLICATIONS ARE A WEB OF CONTAINERS

  12. A CONTAINER ORCHESTRATION PLATFORM

  13. Containerization in Mesos, a brief history

  14. 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

  15. DCOS UI

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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)

  21. 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" } <

  22. EXAMPLE: CASSANDRA DCOS SERVICE FEATURES Managed node configuration Health Monitoring Rest API DNS Names for nodes Multiple Rings in one cluster

  23. 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

  24. INSTALLING

  25. HEALTHY

  26. REST API GET /node/all GET /health/cluster/report POST /node/{node}/replace POST /cluster/repair/start POST /scale/nodes?nodeCount={count}

  27. DEMO!

  28. Q & A

  29. THANKS! LET'S CHAT! WE'RE HIRING! DCOS: mesosphere.com Join: mesosphere.com/careers/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend