chrismitchellonline

AWS DynamoDB Streams With Lambda

2022-10-20

In this article we’ll look at how we can use AWS DynamoDB streams to trigger a Lambda function when we insert data into a DynamoDB table. We’ll take a look at a real world example of a users table where we add additional data to the table on an insert action.

Continue reading

Postman Tests

2022-10-16

Use test scripts written in Javascript for your Postman API requests. Monitor if your API is up by checking for HTTP status codes, check for specific data responses, and validate API schemes.

Continue reading

Redshift UNLOAD Command

2022-08-18
With Redshift we can select data and send to data sources available to us in AWS Cloud. Data sources like RDS, Athena, or S3. With the UNLOAD command, we can save files in CSV or JSON format directly to S3. Prerequisites Access to an AWS Redshift cluster, access to the query editor, and an IAM role with permissions to write to the S3 location. For more information about creating IAM roles for Redshift see AWS docs here: Redshift and IAM Roles Continue reading

Debugging Port Issues with SAM and Visual Studio Code

2021-12-09

When using SAM to debug Lambda functions locally with Visual Studio Code the debugger can be helpful to trace variables and step through code. To do so Visual Studio Code needs to connect to a debugger on port 5858. In this article we’ll discuss how to debug connection issues on this port.

Continue reading

Using AWS CDK and SAM

2021-09-12

With the AWS CDK framework, we can define cloud application resources using familiar programming languages and deploy to CloudFormation to build our resources. Combining this with AWS SAM, the serverless application model, we can deploy Lambda source code and our cloud resources at the same time.

Continue reading

Create a CodePipeline with CloudFormation

2020-11-16

In this article we’ll take a look at AWS CodePipeline, a continuos deployment and integration platform, to deploy updates to an existing Lambda function. We will use CloudFormation to create each step of our CodePipeline, source, build, and deploy. For our source stage, we will use a zip file in S3. Our build stage will use AWS CodeBuild, another managed service of AWS to allow us to build code in the cloud, and finally an existing CloudFormation to deploy our code updates.

Continue reading

Prepare a NodeJS Lambda Function for CodePipeline

2020-11-12

With AWS CodePipeline we can create an continuos integration and deployment using AWS managed services to build, test, and deploy code to our Lambda functions. This article will outline the steps we need to take to prepare our NodeJS Lambda functions to be able to be built using CodeBuild and deployed using CodePipeline.

Continue reading
Social Media
Sponsor