Ojasa Mirai

Ojasa Mirai

Cloud

Loading...

Learning Level

🟢 Beginner🔵 Advanced
🔧 AWS Account Setup⚙️ AWS Compute Overview🖥️ EC2 Deployment🎯 Elastic Beanstalk⚡ Lambda Serverless📁 S3 Static Hosting🗄️ RDS Relational Database📊 DynamoDB NoSQL💾 ElastiCache Caching📊 AWS Monitoring🔑 AWS Authentication📈 AWS Scaling & Load Balancing🐳 AWS ECS Containers💰 AWS Cost Optimization
Cloud/Aws Deployment/Dynamodb Nosql

📊 DynamoDB NoSQL

Introduction

Amazon DynamoDB is a serverless, fully managed NoSQL database for any scale of data.

Key Learning Outcomes

By the end of this lesson, you'll understand:

  • Creating DynamoDB tables
  • CRUD operations
  • Querying and scanning
  • Indexes and partitioning
  • Billing and cost
  • Global tables

Creating a Table

# Create table
aws dynamodb create-table \
  --table-name Users \
  --attribute-definitions AttributeName=userId,AttributeType=S \
  --key-schema AttributeName=userId,KeyType=HASH \
  --billing-mode PAY_PER_REQUEST

CRUD Operations

JavaScript:

const AWS = require('aws-sdk');
const dynamodb = new AWS.DynamoDB.DocumentClient();

// Create
await dynamodb.put({
  TableName: 'Users',
  Item: {
    userId: 'user123',
    name: 'Alice',
    email: 'alice@example.com'
  }
}).promise();

// Read
const result = await dynamodb.get({
  TableName: 'Users',
  Key: { userId: 'user123' }
}).promise();

// Update
await dynamodb.update({
  TableName: 'Users',
  Key: { userId: 'user123' },
  UpdateExpression: 'SET email = :email',
  ExpressionAttributeValues: { ':email': 'newemail@example.com' }
}).promise();

// Delete
await dynamodb.delete({
  TableName: 'Users',
  Key: { userId: 'user123' }
}).promise();

Querying

// Query by partition key
const result = await dynamodb.query({
  TableName: 'Users',
  KeyConditionExpression: 'userId = :id',
  ExpressionAttributeValues: { ':id': 'user123' }
}).promise();

Key Takeaways

  • **Serverless** - no capacity planning
  • **Fully managed** - automatic scaling
  • **Pay per request** or provisioned capacity
  • **Global tables** for multi-region
  • **Millisecond latency** at scale

Next Steps

Learn about ElastiCache for caching, or explore AWS Monitoring.


Resources

Python Docs

Ojasa Mirai

Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.

Learn Deep • Build Real • Verify Skills • Launch Forward

Courses

PythonFastapiReactJSCloud

© 2026 Ojasa Mirai. All rights reserved.

TwitterGitHubLinkedIn