CloudAcademy

Load Balance Application Traffic with Marathon-LB 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
Deploying Marathon-LB from the DC/OS GUI
lock
Configuring a Marathon Application to Work with Marathon-LB
lock
Performing a Blue/Green Deployment with Marathon-LB

Ready for the real environment experience?

DifficultyIntermediate
Duration1h 10m
Students46

Description

Lab Overview

Marathon-LB is a reverse proxy load balancer for Marathon applications. Marathon-LB supports TCP, HTTP, and HTTPS protocols and automatically updates its configuration in real-time as you add and remove applications from the cluster. Marathon-LB can be used as a public-facing load balancer running on public agents to allow ingress traffic into the cluster or as an internal load balancer. Load balance application traffic with Marathon-LB in DC/OS and keep traffic flowing by performing a zero downtime blue/green deployment in this Lab.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Deploy Marathon-LB in a DC/OS Cluster
  • Deploy Applications load balanced by Marathon-LB
  • Perform zero downtime blue/green deployments with Marathon-LB

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

Students10222
Labs68
Courses7
Learning paths4

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Linux Foundation Certified System Administrator (LFCS). He earned his Ph.D. studying design automation and enjoys all things tech.