Tutorials

Tutorials

This is a collection of tutorials about using DC/OS. Learn how to run services and operate services in production.


DC/OS 101

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

DC/OS Service Tutorials

These tutorials demonstrate how to install and use DC/OS services. The tutorials are located in the https://github.com/dcos/examples/ repository.

    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.

    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.