Create a DynamoDB Table
To use an external DynamoDB table with an application running in Elastic Beanstalk, first create a table in DynamoDB. When you create a table outside of Elastic Beanstalk, it is completely independent of Elastic Beanstalk and your Elastic Beanstalk environments, and will not be terminated by Elastic Beanstalk.
Create a table with the following settings:
- Table name – nodejs-tutorial
- Primary key – email
- Primary key type – String
To create a DynamoDB table
- Open the Tables page in the DynamoDB management console.
- Choose Create table.
- Type a Table name and Primary key.
- Choose the primary key type.
- Choose Create.