AWS DynamoDB database tables

Adding DynamoDB Tables in DuploCloud

When using DynamoDB in DuploCloud AWS, the required permissions to access the DynamoDB from a virtual machine (VM), Lambda functions, and containers are provisioned automatically using Instance profiles. Therefore, no Access Key is required in the Application code.

When you write application code for DynamoDB in DuploCloud AWS, use the IAM role/Instance profile to connect to these services. If possible, use the AWS SDK constructor, which uses the region.

  1. In the DuploCloud Portal, navigate to Cloud Services -> Database.

  2. Click the DynamoDB tab.

  3. Click Add. The Create a DynamoDB Table pane displays.

  4. Specify the DynamoDB Table Name and other required fields, including Primary Key, Key Type, Attribute Type, Sort Key, and Sort Key Type.

  5. Click Create.

For detailed guidance about configuring the duplocloud_aws_dynamodb_table, refer to the Terraform documentation. This resource allows for creating and managing AWS DynamoDB tables within DuploCloud.

Perform additional configuration, as needed, in the AWS Console by clicking the >_ Console icon. In the AWS console, you can configure the application-specific details of DynamoDB database tables. However, no access or security-level permissions are provided.

After creating a DynamoDB table, you can retrieve the final name of the table using the .fullname attribute, which is available in the read-only section of the documentation. This feature is handy for applications that dynamically access table names post-creation. If you encounter any issues or need further assistance, please refer to the documentation or contact support.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates