You can scale your AWS cluster or change the number of agent nodes.
Scaling an AWS cluster
The DC/OS AWS CloudFormation template is optimized to run DC/OS, but you might want to change the number of agent nodes based on your needs.
To change the number of agent nodes with AWS:
- From AWS CloudFormation Management page, select your DC/OS cluster and click Update Stack.
- Click through to the Specify Parameters page, and specify new values for the PublicSlaveInstanceCount and SlaveInstanceCount.
- On the Options page, accept the defaults and click Next. Tip: You can choose whether to rollback on failure. By default this option is set to Yes.
- On the Review page, check the acknowledgement box and then click Create.
Your new machines will take a few minutes to initialize; you can watch them in the EC2 console. The DC/OS web interface will update as soon as the new nodes register.