Ten Examples of Getting Data from DynamoDB with Python and Boto3

I recently wrote about using Node.js and the AWS SDK for JavaScript to get data from DynamoDB. In this post, I’ll take you through how to do the same thing with Python and Boto3! We’ll use both a DynamoDB client and a DynamoDB table resource in order to do many of the same read operations on the DynamoDB table. I hope this helps serve as a reference for you whenever you need to query DynamoDB with Python.

Eight Examples of Fetching Data from DynamoDB with Node.js

I frequently see people looking for simple examples of how to use one of AWS’ SDKs to do simple operations on DynamoDB and other services. So I thought it was about time we had a few examples to work from that weren’t completely overwhelming. In this post, I’ll show you a few ways to use the AWS SDK for JavaScript to get data out of a DynamoDB table. I hope these will serve as a decent reference for many basic operations you might need to take to read information from your DynamoDB tables!

November 2019 - New AWS Lambda Features

November 2019 - New AWS Lambda Features

AWS recently annouced a bunch of new features for Lambda. You can read my summary and analysis of the new features on the Serverless Blog here in my post on the Serverless Blog. Disclosure: While I have used the Serverless Framework for years, as of this posting I am employed by Serverless Inc. (the makers of the Serverless Framework).
Serverless Application Patterns - Indexing Searchable User-Generated Content

Searchable content is a common component of many modern applications. But for applications that rely on a streams of new user-generated content how can we create a system that reliably and rapidly indexes searchable content and also provides ways to update, and act on changes to that data later on? This post will show you an architecture that can accomplish this using AWS services like Lambda, API Gateway, S3, Systems Manager Parameter Store, and DynamoDB. We’ll also use the third party provider Algolia for search.

AWS First-In-First-Out Queues

Recently, I needed to put together system that would take new DynamoDB table items, queue up JSON messages in first-in-first-out order, and trickle them out to a 3rd party API over time.

I love not having to maintain things later so I decided to throw together a solution on top of managed AWS services. Here’s a high-level diagram of what I came up with:

Full Queue Diagram

Let’s take a look at how it all works.