Using Python to Work with Amazon Dynamo DB

Using Python to Work with Amazon Dynamo DB

In this tutorial, we will be using the Boto3 module in Python to work with Amazon’s NoSQL Database, Dynamo DB. The tutorial will also talk about setting up a local instance of Dynam DB.

In this tutorial, we will be using the Boto3 module in Python to work with Amazon’s NoSQL Database, Dynamo DB. The tutorial will also talk about setting up a local instance of Dynam DB.

NoSQL Databases

NoSQL databases are used to solve challenges faces by RDMS (Relational Database Management System), or simply put Relational Databases. Some cons of an RDMS are listed below

  • A schema has to be defined beforehand
  • The data to be stored has to be structured
  • It is difficult to change tables and relationships

On the other hand, NoSQL databases can handle unstructured data and do not need a schema to be defined.

In this tutorial, we will be working with Amazon Dynamo DB. It is a type of key-value and document database NoSQL database.

Table of Contents

  1. Pre-requisites
  2. Setting up Dynamo DB Locally
  3. Connecting to our DB using Python
  4. Create Table
  5. Insert Data
  6. Get Data
  7. Update Data
  8. Delete Data
  9. Query
  10. Conclusion
  11. Resources

dynamodb database nosql python aws

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

AWS DynamoDB vs. Apache Cassandra: Comparing The Two NoSQL Database

Companies are trying hard to succeed at building large-scale, distributed systems-based scalable databases. Let’s talk about one of the most powerful  databases, Amazon DynamoDB and how it compares with the best of breed open-source database Apache Cassandra. In this article, we will compare two database systems and help with pointers that one should keep in mind while deciding on which database to use for your applications. In this tutorial, we'll discuss AWS DynamoDB vs. Apache Cassandra: Comparing The Two NoSQL Database

AWS DynamoDB Vs Apache Cassandra: Comparing The Two NoSQL Databases

Companies are trying hard to succeed at building large-scale, distributed systems-based scalable databases. Let’s talk about one of the most powerful databases, Amazon DynamoDB and how it compares with the best of breed open-source database Apache Cassandra. In this article, we will compare two database systems and help with pointers that one should keep in…

Python Database Connection - How to Connect Python with MySQL Database

This video on 'Python Database Connection', you will learn how to establish a connection between Python and MySQL DB and perform CRUD operations on it.

AWS Boto3 Python Crash Course with AWS DynamoDB in Python Tutorial

I will teach you in this lesson how to create dynamodb table in aws boto3 python, how to insert items in aws boto3, how to retrieve items, how to scan items, how to query dynamodb.

Getting Started with AWS DynamoDB | What is No SQL Database | AWS DynamoDB for Data Scientists

Getting Started with AWS DynamoDB | What is No SQL Database | AWS DynamoDB for Data Scientists. Amazon DynamoDB is the NO SQL Database. Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multi-region, multi-master, durable database with built-in security, backup and restores, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second.