CloudAcademy

Configuring Health Checks for Your Marathon Applications in DC/OS

The hands-on lab is part of this learning path

Introduction to DC/OS
course-steps 2 lab-steps 10

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Understanding the DC/OS Cluster Architecture
lock
Connecting to the Virtual Machine using SSH
lock
Installing the DC/OS CLI on Linux
lock
Adding a Health Check to a Marathon Application
lock
Adding a Readiness Check to a Marathon Application

Ready for the real environment experience?

DifficultyBeginner
Duration50m
Students32

Description

Lab Overview

The Marathon container orchestration tool in DC/OS supports two types of checks to test the availability of applications: health checks and readiness checks. Health checks monitor the availability of an application's instances throughout the lifetime of the application. Readiness checks allow you to indicate when an application has finished initializing. In this Lab, you will see how to keep your applications up and running automatically by configuring health checks for your Marathon applications in DC/OS.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Add health and readiness checks to Marathon applications
  • Describe the differences between health and readiness checks
  • Diagnose issues related to health and readiness checks

Lab Prerequisites

You should be familiar with:

  • Basic DC/OS concepts including master nodes, agents, services, tasks, and Marathon
  • Working at the command-line in Linux
  • AWS services to optionally understand the architecture of the pre-created DC/OS cluster

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:

About the Author

Students10116
Labs67
Courses6
Learning paths3

Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.