From the course: AWS Certified Data Engineer Associate (DEA-C01) Cert Prep
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Hands-on learning: Add a time to live (TTL) to items
From the course: AWS Certified Data Engineer Associate (DEA-C01) Cert Prep
Hands-on learning: Add a time to live (TTL) to items
(inspiring music) - Hi, guys. In this lesson, we're going to add a Time To Live attribute to items in our database, and we're going to see how we can then use that to automatically expire those items. So I'm back in this file here. We do need to recreate our table. So what I'm going to do is create my table and then we're going to run this command. So I'm just going to copy the command to my clipboard. I've come back to Amazon DynamoDB. Let's create the table. We're going to create it with the same settings as we had before. So it's called My Store. Partition key is Client ID, and the sort key is created. And then I'm just going to accept all defaults and create my table. So my table is active, and I've come back to the command line, and I'll just paste in that command again, and we're going to add all of those items to our table. So if I go back into my table now and choose Explore Items, I can see all the items as I could before. Now what we're going to do is we're going to add an…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Introduction56s
-
(Locked)
Storage platforms4m 14s
-
Aligning to access patterns8m 35s
-
(Locked)
Cost and performance comparisons3m 4s
-
(Locked)
Amazon RDS4m 47s
-
(Locked)
Amazon Aurora4m 15s
-
(Locked)
Hands-on learning: Create an Amazon RDS database7m 24s
-
(Locked)
Amazon DynamoDB8m 4s
-
(Locked)
DynamoDB partitions and primary keys5m 52s
-
(Locked)
Hands-on learning: Practice creating DynamoDB tables8m 24s
-
(Locked)
DynamoDB LSI and GSI3m 12s
-
(Locked)
Hands-on learning: Create an LSI and a GSI6m 5s
-
(Locked)
Hands-on learning: Add a time to live (TTL) to items5m 18s
-
(Locked)
Amazon S3 for data lakes5m 10s
-
(Locked)
Amazon S3 storage classes4m 39s
-
(Locked)
Amazon S3 lifecycle policies2m 29s
-
(Locked)
Amazon S3 versioning and replication2m 49s
-
(Locked)
Hands-on learning: Configure replication and lifecycle8m 3s
-
(Locked)
Amazon S3 performance optimization1m 54s
-
(Locked)
Server access logging1m 13s
-
(Locked)
Using Amazon S3 for staging data4m 39s
-
(Locked)
Amazon S3 access points1m 9s
-
(Locked)
Other database services4m 19s
-
(Locked)
-
-
-
-