CloudAcademy

Performing Rolling Upgrades of 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
Defining a Marathon Application with a Custom Upgrade Strategy
lock
Performing a Rolling Upgrade of a Marathon Application
lock
Rolling back to an Earlier Version of a Marathon Application

Ready for the real environment experience?

DifficultyBeginner
Duration50m
Students39

Description

Lab Overview

By performing rolling upgrades of Marathon applications in DC/OS, you avoid downtime and can trade off upgrade speed, resource overhead, and application capacity. This Lab will walk you through configuring an upgrade strategy, performing a rolling upgrade, and rolling back to an earlier version of an application definition.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Include upgrade strategies in Marathon application definitions
  • Configure upgrade strategy properties to achieve different goals
  • Upgrade Marathon applications using the DC/OS GUI and CLI

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 knowledge is useful in order to understand the architecture of the pre-created DC/OS cluster, but not required

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.