<commit_before>---
description: Scaling your stack
keywords: aws, amazon, iaas, tutorial
title: Modifying Docker install on AWS
---

## Scaling workers

You can scale the worker count using the AWS Auto Scaling group. Docker will automatically join or remove new instances to the Swarm.

There are currently two ways to scale your worker group. You can "update" your stack, and change the number of workers in the CloudFormation template parameters, or you can manually update the Auto Scaling group in the AWS console for EC2 auto scaling groups.
<commit_msg>Update scaling.md (#4160)<commit_after>---
description: Scaling your stack
keywords: aws, amazon, iaas, tutorial
title: Modify Docker install on AWS
---

## Scaling workers

You can scale the worker count using the AWS Auto Scaling group. Docker will automatically join or remove new instances to the Swarm.

There are currently two ways to scale your worker group. You can "update" your stack, and change the number of workers in the CloudFormation template parameters, or you can manually update the Auto Scaling group in the AWS console for EC2 auto scaling groups.

{'fraction_non_alphanumeric': 0.047829937998228524, 'fraction_numerical': 0.005314437555358724, 'mean_word_length': 4.53921568627451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3362823', 'n_tokens_mistral': 281, 'n_tokens_neox': 272, 'n_words': 172}