Configuring auto-scaling for Amazon DynamoDB includes creating a scale profile, creating a workload resource pool, and associating the scale profile'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 profile 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
dmidecodecommand-line utility must be installed on the machine for it to appear in the scale manager node dropdown list.
If you need to create a new access node:
-
Click Add server, and then specify host name, credentials, and OS type.
-
Select the appropriate packages for your access node.
-
Select a plan, confirm the installation path, and enable Reboot if required.
-
Click Install, and then refresh the Servers page.
Create a scale profile for AWS
Create a scaling profile 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 profile 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 profile to the server group.
Configure auto-scaling for specific DynamoDB instances
For new instances
When configuring a new DynamoDB instance, select the scaling profile's server group directly as the access node. For more information, see Configuring Backups for Amazon DynamoDB Instances.
For existing instances
-
From the Command Center navigation pane, go to Protect > Databases.
-
On the Instances tab, click the DynamoDB instance for which you want to enable auto-scaling.
-
On the Configuration tab, in the Access nodes tile, click Edit
. -
From the Access node list, select the scale profile's server group as the access node.
-
Click Save.