Tutorials

Tutorials

This is the DC/OS tutorials section, covering how to use DC/OS components as well as stateless and stateful DC/OS services. Typically, the services discussed here are available and installable from the Universe.

DC/OS examples repository

These tutorials, located in the dcos/examples GitHub repo, contain examples of how to install and use DC/OS services.


Stream data processing Data analytics
Databases and message queues Continuous Integration and Continuous Deployment
Day 2 operations Web and app server
Combined services and miscellaneous

DC/OS 101

This DC/OS 101 tutorial will guide you through the steps necessary to get started using DC/OS.

Autoscaling

You can use autoscaling to automatically increase or decrease computing resources based on usage so that you’re using only the resources you need. Here are some examples to show you how to implement autoscaling for your services.

Deploying a Load-Balanced Data Pipeline

In this tutorial you install and deploy a containerized Ruby on Rails app named Tweeter. Tweeter is an app similar to Twitter that you can use to post 140-character messages to the internet. Then, you use Zeppelin to perform real-time analytics on the data created by Tweeter.

    Running a Service

    This tutorial shows how to create and deploy a simple one-command service and a containerized service using both the DC/OS web interface and the CLI.

      Running Stateful Services

      A stateful service acts on persistent data. Simple, stateless services run in an empty sandbox each time they are launched. In contrast, stateful services make use of persistent volumes that reside on agents in a cluster until explicitly destroyed.

        Labeling Tasks and Jobs

        This tutorial illustrates how labels can be defined using the DC/OS web interface and the Marathon HTTP API, and how information pertaining to applications and jobs that are running can be queried based on label value criteria.