This tutorial shows how to scale a service using the web interface and the CLI.

Scale Your Service from the Web Interface

  1. From the Services tab, put your cursor over the name of the service you want to scale to reveal a gear symbol.
  2. Click the gear symbol and choose Scale. gear symbol
  3. Enter the total number of instances you would like, then click SCALE SERVICE. scale
  4. Click the name of your service to see your scaled service. post scale

Scale Your Service from the CLI

  1. Enter the following command from the CLI, :

    dcos marathon app update <app-id> instances=<total_desired_instances>
  2. Enter this command to see your scaled service.

    dcos task <task-id>

For example, this task is scaled to 6 instances:

dcos marathon app update basic-0 instances=6
dcos task basic-0
NAME     HOST        USER  STATE  ID                                            
basic-0   root    R    basic-0.1c73e448-0b47-11e7-a8b6-de4438bbb8f0  
basic-0  root    R    basic-0.1c739626-0b47-11e7-a8b6-de4438bbb8f0  
basic-0   root    R    basic-0.1c736f14-0b47-11e7-a8b6-de4438bbb8f0  
basic-0   root    R    basic-0.12d5bbc2-0b47-11e7-a8b6-de4438bbb8f0  
basic-0   root    R    basic-0.1c73bd37-0b47-11e7-a8b6-de4438bbb8f0  
basic-0  root    R    basic-0.1c739625-0b47-11e7-a8b6-de4438bbb8f0