AWS Database Blog
Category: AWS Lambda
Integrate HAQM Managed Blockchain identities with HAQM Cognito
When you authenticate with a web or mobile application, you typically do so with a username and password where you’re authenticated against a user database such as HAQM Cognito. You’re expected to secure your password and rotate it periodically or when it has been compromised. When you’re building a user-facing application that is running on […]
Manage AWS ElastiCache for Redis access with Role-Based Access Control, AWS Secrets Manager, and IAM
October 2022: This post was reviewed and updated with a new architecture diagram and code updates to factor the change from CDK 1.x to CDK 2.x. HAQM ElastiCache for Redis is an AWS managed, Redis-compliant service that provides a high-performance, scalable, and distributed key-value data store that you can use as a database, cache, message […]
Capture changes from HAQM DocumentDB via AWS Lambda and publish them to HAQM MSK
When using a document data store as your service’s source of truth, you may need to share the changes of this source with other downstream systems. The data events that are happening within this data store can be converted to business events, which can then be sourced into multiple microservices that implement different business functionalities. […]
Use HAQM ElastiCache for Redis as a near-real-time feature store
Customers often use HAQM ElastiCache for real-time transactional and analytical use cases. It provides high throughout and low latencies, while meeting a variety of business needs. Because it uses in-memory data structures, typical use cases include database and session caching, as well as leaderboards, gaming and financial trading platforms, social media, and sharing economy apps. […]
Use AWS Lambda functions with HAQM Neptune
Many HAQM Neptune connected data applications for knowledge graphs, identity graphs, and fraud graphs use AWS Lambda functions to query Neptune. This post provides general connection management, error handling, and workload balancing guidance for using any of the popular Gremlin drivers and language variants to connect to Neptune from a Lambda function. The connection management […]
Build proactive database monitoring for HAQM RDS with HAQM CloudWatch Logs, AWS Lambda, and HAQM SNS
Customers running HAQM Relational Database Service (HAQM RDS) want to shorten the process of accessing database logs and to receive proactive notifications of database alerts. Generally, database administrators have host access to the database servers, which gives them access to the database logs on the host file system, which are used for monitoring and validating […]
Cross-account replication with HAQM DynamoDB
July 2024, this post has been reviewed for accuracy. Hundreds of thousands of customers use HAQM DynamoDB for mission-critical workloads. In some situations, you may want to migrate your DynamoDB tables into a different AWS account, for example, in the eventuality of a company being acquired by another company. Another use case is adopting a […]
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 […]
Automating Hyperledger Fabric chaincode deployment on HAQM Managed Blockchain using AWS CodePipeline
HAQM Managed Blockchain is a fully managed service that makes it easy to create and manage blockchain networks using the open-source blockchain framework Hyperledger Fabric. In this post, we explore how to use AWS CodePipeline and related services to automate the deployment of chaincode. Chaincode is a program that typically handles business logic agreed to […]
Integrating HAQM ElastiCache with other AWS services: The serverless way
In this post, I describe a simple way to transfer data from ElastiCache for Redis clusters to other AWS database services using AWS Lambda functions.