# Configuring auto-scaling for Amazon DynamoDB access nodes

Configuring auto-scaling for Amazon DynamoDB includes creating a scale configuration, creating a workload resource pool, and associating the scale configuration's server group with the resource pool.

Multi-tenant environments

In multi-tenant environments:

- Service providers can offer auto-scaling as a service.

- Tenants can either use their service providers' auto-scaling service or configure their own auto-scaling.

## Before you begin

- Subscribe to the required Commvault AMIs on AWS Marketplace. For information about supported AMIs, see AMIs used for auto-scaled access nodes.

- Auto-scaling is supported for commercial AWS Regions only. Edge locations (such as GovCloud, AWS Outposts, Local Zones, and Wavelength Zones) are not supported.

- Ensure you have the necessary IAM permissions to create EC2 instances and manage resources in the target AWS account.

- To enable the use of scale configuration client functionality for auto-scaling access nodes, you must configure useScaleProfileClientEnabled additional setting. This setting should be set up at tenant scope.

## Create a scale manager Node

You must have an access node to serve as the scale manager node. This node manages the auto-scaling operations but does not perform data protection operations itself. You can use an existing access node or create a new one.

Important

- The scale manager node should be dedicated to managing auto-scaling and should not be used for other data protection operations.

- For EC2 instances, the `dmidecode` command-line utility must be installed on the machine for it to appear in the scale manager node dropdown list.

- AWS RDS MSSQL only: A Permanent Access Node must be configured to handle Browse and Detect operations.

If you need to create a new access node:

1. From the Command Center navigation pane, go to Manage > Infrastructure > Servers.

2. Click Add server, and then specify host name, credentials, and OS type.

3. Select the appropriate packages for your access node.

4. Select a plan, confirm the installation path, and enable Reboot if required.

5. Click Install, and then refresh the Servers page.

## Create a scale configuration for AWS

Create a scaling configuration that specifies the AWS credentials, scale manager node, Availability Zones, IAM role, instance type, and maximum number of access nodes.

Multi-tenant environments

- Service providers: Use your AWS account credentials where the auto-scaled access nodes will be deployed.

- Tenants configuring your own auto-scaling: Use your own AWS account credentials.

For detailed steps, see Create a scaling configuration for AWS.

Important

By default, AWS Graviton (c7g.xlarge) instances are used. Auto-scaled access nodes shut down after 5 minutes of idle time and are deleted after 30 minutes of inactivity.

## Create a server group

Create a server group and add the scale configuration to the server group.

## Configure auto-scaling for specific DynamoDB instances

### For new instances

When configuring a new DynamoDB instance, select the scaling configuration's server group directly as the access node. For more information, see Configuring Backups for Amazon DynamoDB Instances.

### For existing instances

1. From the Command Center navigation pane, go to Protect > Databases.

2. On the Instances tab, click the DynamoDB instance for which you want to enable auto-scaling.

3. On the Configuration tab, in the Access nodes tile, click Edit .

4. From the Access node list, select the scale configuration's server group as the access node.

5. Click Save.

×

Loading...