Configuring Backups for Amazon DynamoDB Instances

To configure backups for Amazon DynamoDB Instances, complete the instance configuration using one of the following methods:

  • Hosted infrastructure: This method uses the Commvault Cloud hosted infrastructure to back up your Amazon DynamoDB. With this method, you can leverage EC2 instances provisioned and configured by Commvault Cloud as your access nodes, eliminating the requirement to configure your own infrastructure.

  • Access node: This method requires installing your own access node.

Considerations

Consider the following while configuring DynamoDB instances:

  • Backup and restore operations using S3 Export are region-specific as the S3 path provided cannot be cross-region.

  • The combination of Commvault cloud account, DynamoDB table region, and Commvault DynamoDB Instance must be unique. Therefore, ensure to configure one DynamoDB instance per region using a unique cloud account.

  • You cannot create multiple Commvault DynamoDB instances for a given region and cloud account. If there is a need to add multiple tables from the same region, instead of creating multiple instances, consider creating table groups in the existing Commvault DynamoDB Instance. For more information, see Creating a Table Group.

    For example, if there is a cloud account 'A' in ap-south-2 region, you can create only one instance in that region. To add more tables from the same region, create a table group in the existing instance.

  • If you want to create a new DynamoDB instance in the same region, you must use a new cloud account.

  • Stream-based incremental backups require DynamoDB Streams to be enabled on the source tables using either NEW_IMAGE or NEW_AND_OLD_IMAGES. Tables without Streams enabled are excluded from incremental backups. If you have existing DynamoDB instances that were created before stream-based incremental backups were introduced, you must enable Streams on those tables before incremental backups can succeed. For the procedure, see Enabling Incremental Stream-Based Backups for Existing Amazon DynamoDB Instances.

Central staging bucket requirements

When configuring a central staging bucket, complete the following steps:

  1. Create the bucket in the AWS account and Region that will store the export data. Record the bucket name, ARN, and 12-digit bucket-owner account ID.

  2. Configure the bucket policy:

    • Allow the DynamoDB export service (dynamodb.amazonaws.com) to perform s3:AbortMultipartUpload, s3:GetBucketAcl, s3:GetObject, s3:GetObjectAcl, s3:PutObject, and s3:PutObjectAcl.

    • Restrict DynamoDB's access to the AWS accounts whose tables will be exported by using the aws:SourceAccount condition. Include s3:AbortMultipartUpload to allow cleanup of incomplete multipart uploads.

    • Allow the Commvault IAM roles or IAM users to list the bucket and read, write, delete, and clean up its backup objects. Grant s3:AbortMultipartUpload, s3:DeleteObject, s3:GetBucketAcl, s3:GetBucketLocation, s3:GetObject, s3:ListBucket, and s3:PutObject. Also grant s3:PutObjectAcl to the identity requesting DynamoDB exports.

    • Apply bucket-level permissions to the staging bucket ARN and object-level permissions to its object ARNs. Include the exact IAM user or role ARNs that Commvault will use. Access granted to specific cross-account identities does not make the bucket public.

    • Grant Commvault access by specifying the exact trusted IAM user or role ARNs in the bucket policy. Separately, restrict the DynamoDB service's access to the source table accounts by using aws:SourceAccount. Do not grant public access through bucket policies or ACLs.

  3. KMS encryption: If the staging bucket uses AWS KMS encryption, grant the Commvault IAM roles or users permission to encrypt and decrypt staging data, including kms:GenerateDataKey and kms:Decrypt.

The central staging bucket can reside in any AWS account, but it must be in the same AWS Region as the DynamoDB instance. You can use a central staging bucket across multiple AWS accounts instead of maintaining a separate bucket in each account.

×

Loading...