Create a DynamoDB Table and Write Your First Item
Beginner · 30 minutes · 4 tasks, checked automatically · 100 points
In this foundational lab you will get hands-on with Amazon DynamoDB — AWS's fully managed NoSQL key-value and document database. You will create a table, explore its metadata, write your first item, and then query it back to confirm everything worked. All commands run against a local AWS emulator so there is no real account or cost involved.
What you’ll learn
- Create a DynamoDB table with a partition key and a sort key
- Inspect the table description to understand its structure and status
- Write an item with multiple attributes into the table using put-item
- Retrieve the item back using get-item to confirm it was stored correctly
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AWS
- Services: dynamodb
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A AWS sandbox created in the Local Cloud Playground
Topics: dynamodb, nosql, database, aws, put-item, get-item, local-cloud
Create a free account to start this lab.
Keep going
- Create Your First S3 Bucket and Upload an Object
- List, Copy and Delete S3 Objects with the AWS CLI
- Turn On S3 Versioning and Recover an Overwritten File
- Read Data from DynamoDB with get-item and query
- Send and Receive Your First Message with an SQS Queue
- Publish to an SNS Topic and Deliver to an SQS Queue