AWS Database Blog

Tag: aws lambda

Creating a REST API for HAQM DocumentDB (with MongoDB compatibility) with HAQM API Gateway and AWS Lambda

Representational state transfer (REST) APIs are a common architectural style for distributed systems. They benefit from being stateless and therefore enable efficient scaling as workloads increase. These convenient—yet still powerful—APIs are often paired with database systems to give programmatic access to data managed in a database. One request that customers have expressed is to have […]

HAQM DocumentDB (with MongoDB compatibility) read autoscaling

HAQM Document DB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads. Its architecture supports up to 15 read replicas, so applications that connect as a replica set can use driver read preference settings to direct reads to replicas for horizontal read scaling. Moreover, as […]

Accelerating Nylas’s feature development with AWS Data Lab

This is a guest post by David Ting, VP of Engineering at Nylas. In their own words, Nylas is a pioneer and leading provider of universal communications APIs that allow developers to quickly connect their applications to every email, calendar, or contacts provider in the world. Over 26,000 developers around the globe use the Nylas […]

Building enterprise applications using HAQM DynamoDB, AWS Lambda, and Go

HAQM DynamoDB is a fully managed service that delivers single-digit millisecond performance at any scale. It is fully managed, highly available through behind-the-scene Multi-AZ data replication, supports native write-through caching with HAQM DynamoDB Accelerator (DAX) as well as multiple global secondary indexes. Developers can interact with DynamoDB using the AWS SDK in a rich set […]

Monitor HAQM ElastiCache for Redis (cluster mode disabled) read replica endpoints using AWS Lambda, HAQM Route 53, and HAQM SNS

In HAQM ElastiCache for Redis, your applications use the provided endpoints to connect to an ElastiCache node or cluster. According to HAQM ElastiCache for Redis Components and Features in the ElastiCache for Redis User Guide, a multiple-node Redis (cluster mode disabled) cluster has two kinds of endpoints: “The primary endpoint always connects to the primary […]

Stream changes from HAQM RDS for PostgreSQL using HAQM Kinesis Data Streams and AWS Lambda

In this post, I discuss how to integrate a central HAQM Relational Database Service (HAQM RDS) for PostgreSQL database with other systems by streaming its modifications into HAQM Kinesis Data Streams. An earlier post, Streaming Changes in a Database with HAQM Kinesis, described how to integrate a central RDS for MySQL database with other systems […]

Use HAQM DynamoDB Accelerator (DAX) from AWS Lambda to increase performance while reducing costs

April 01, 2020 update: Changed the security to add a least privileged IAM policy to the role instead of a wide open managed policy, switched to HttpApi in API Gateway for auto-deployment as well as cost, and added to node.js code to detect if a requesting client is base64 encoding the body of the request and […]

Capturing Data Changes in HAQM Aurora Using AWS Lambda

February 9, 2024: HAQM Kinesis Data Firehose has been renamed to HAQM Data Firehose. Read the AWS What’s New post to learn more. Re Alvarez-Parmar is a solutions architect at HAQM Web Services. He helps enterprises achieve success through technical guidance and thought leadership. In his spare time, he enjoys spending time with his two […]

Using the AWS Database Migration Service, HAQM S3, and AWS Lambda for Database Analytics

Jeff Levine is a solutions architect for HAQM Web Services. The AWS Database Migration Service (AWS DMS) supports HAQM S3 as a migration target. The services enable you to extract information from any database supported by DMS and write it to HAQM S3 in a format that can be used by almost any application. You can extract the entire […]

Automatically Archive Items to S3 Using DynamoDB Time to Live (TTL) with AWS Lambda and HAQM Kinesis Firehose

February 9, 2024: HAQM Kinesis Data Firehose has been renamed to HAQM Data Firehose. Read the AWS What’s New post to learn more. Adam Wagner is a solutions architect at HAQM Web Services. Earlier this year, HAQM DynamoDB released Time to Live (TTL) functionality, which automatically deletes expired items from your tables, at no additional […]