AWS Compute Blog

James Beswick

Author: James Beswick

James Beswick is a Principal Developer Advocate for the AWS Serverless Team. He works with AWS's developer customers to understand how serverless technologies can drastically change the way they think about building and running applications at massive scale with minimal administration overhead. Follow James Beswick on Twitter: https://twitter.com/jbesw. Visit https://serverlessland.com for more serverless content.

Architecture diagram

Using AWS Lambda to run external transactions on Db2 for IBM i

In this blog post, you learn how to run external transactions securely on Db2 for IBM i databases using a combination of Amazon ECR and AWS Lambda. By using Docker to package the driver, forwarder, and custom queries, you can execute transactions from Lambda, allowing modern architectures to interface directly with Db2 workloads. Get started by cloning the GitHub repository and following the deployment instructions.

Performance results

Optimizing Node.js dependencies in AWS Lambda

In this post, you learn how to improve Node.js cold start performance by up to 70% by bundling and minifying your code. You also learned how to provide a different version of AWS SDK for JavaScript and that dependencies and how they are imported affects the performance of Node.js Lambda functions. To achieve the best performance, use AWS SDK V3, bundle and minify your code, and avoid top-level imports.

Workflow architecture

Combining Amazon AppFlow with AWS Step Functions to maximize application integration benefits

This blog post explores how to integrate Amazon AppFlow and AWS Glue using Step Functions to automate your business requirements. You can use AWS Lambda to simplify the configuration phase and reduce state transitions or create complex checks, filters, or even data cleansing and preparation.

Event sampling

Testing Amazon EventBridge events using AWS Step Functions

This blog post outlines how to use Step Functions, Lambda, SQS, DynamoDB, and S3 to create a workflow that automates the testing of EventBridge events. With this example, you can send events to the EventBridge Event Tester endpoint to verify that event delivery is successful or identify the root cause for event delivery failures.