Book Image

Amazon Web Services Bootcamp

Book Image

Amazon Web Services Bootcamp

Overview of this book

AWS is at the forefront of Cloud Computing today. Businesses are adopting AWS Cloud because of its reliability, versatility, and flexible design. The main focus of this book is teaching you how to build and manage highly reliable and scalable applications and services on AWS. It will provide you with all the necessary skills to design, deploy, and manage your applications and services on the AWS cloud platform. We’ll start by exploring Amazon S3, EC2, and so on to get you well-versed with core Amazon services. Moving on, we’ll teach you how to design and deploy highly scalable and optimized workloads. You’ll also discover easy-to-follow, hands-on steps, tips, and recommendations throughout the book and get to know essential security and troubleshooting concepts. By the end of the book, you’ll be able to create a highly secure, fault tolerant, and scalable environment for your applications to run on.
Table of Contents (16 chapters)

Basic concepts


Let's look at the basic concepts of DynamoDB.

Tables

DynamoDB stores data in tables. A table contains multiple rows which are known as items. DynamoDB is not restricted to storing an amount of data in one table. While creating the DynamoDB table, we need to provide primary key attribute(s), which will identify the items uniquely:

Figure 6.1: Basic concepts

Items

Items are similar to relational database table rows or tuples. We can store any amount of items in one table. A table can contain only unique (single or composite) primary keys of each item. If the new item contains the same primary keys that are already present in a table, it will override the item with the new one. In the preceding sample table, we can see that two items are created in the table. The maximum size of a single item can be up to 400 KB, which includes all the attributes (columns).

Attributes

Attributes are similar to database columns or fields that hold the data. DynamoDB doesn't have a fixed schema where...