Migrating a CDK Construct to projen and jsii

CDK constructs are a great way to combine best practices and simplify your infrastructure code. Have you ever written your own CDK construct? Writing a construct is easy using the CDK CLI. But soon you’ll discover the hard parts: Keeping all dependencies updated; Aligning the CDK dependency versions to not have version conflicts; And publishing …

Migrating a CDK Construct to projen and jsii Read More »

Using Spring Boot On AWS Lambda: Clever or Dumb?

Spring Boot on AWS Lambda

I often notice people wondering if and how it’s possible to run Spring Boot on AWS Lambda Functions. I understand this because I know developers in the Java ecosystem often use the Spring Framework. And since more and more people built Lambda functions using Java, the question will be asked at some point. It’s definitely …

Using Spring Boot On AWS Lambda: Clever or Dumb? Read More »

Serverless Sending and Receiving E-Mails, the CDK Way

Serverless sending and receiving e-mails using AWS is not fun in my opinion. AWS offers Simple Email Service (SES) to achieve this. But the UI and also Infrastructure as Code (IaC) support is lacking. You often need to manually change settings which is error prone. When I recently built another landing page for myself, I …

Serverless Sending and Receiving E-Mails, the CDK Way Read More »

5 Ways To Bundle a Lambda Function Within an AWS CDK Construct

bundle-lambda-function-in-cdk-construct

Have you ever tried to publish a CDK construct that was using a Lambda function, for example to create a custom resource or provide a REST API endpoint? It’s relatively easy to publish your construct if your Lambda function is just using the AWS SDK. But it gets more complicated as soon as other dependencies …

5 Ways To Bundle a Lambda Function Within an AWS CDK Construct Read More »

Automatically Generate a Nice Looking Serverless REST API Documentation

In the past years, technology made huge progress and automating your processes is more important than ever. Documenting your REST APIs is not an exception here. It’s even more important in the fast moving serverless world to automate your serverless REST API documentation to always keep it up-to-date. The OpenAPI (Swagger) standard helps you describing …

Automatically Generate a Nice Looking Serverless REST API Documentation Read More »

Using DynamoDB Local and Testcontainers in Java within Bitbucket Pipelines

Running cloud services on your local machine is often a problem because there is no local version available. Thankfully DynamoDB provides a local version of their database. This makes unit testing cloud services a lot easier if you’re relying on DynamoDB. Unfortunately, setting up DynamoDB Local and combining it with Testcontainers and Bitbucket Pipelines in …

Using DynamoDB Local and Testcontainers in Java within Bitbucket Pipelines Read More »

Going Serverless – Why and How (2)

After working for more than three years with AWS Lambda and other serverless services, I’ve came across various best practices to improve your way of going serverless. Let me share with you how you can successfully develop your software using serverless functions from a technical perspective.

Going Serverless – Why and How (1)

From monoliths to microservices and containers to serverless functions: the software engineering world is changing fast. Popular technologies from today will be outdated tomorrow and it isn’t easy to follow them all. The same is true for taking the first step when going serverless. Hence I’ll present you with my best practices for going serverless …

Going Serverless – Why and How (1) Read More »

Caching in AWS Lambda

In every software application, there are usually two main reasons to cache data: a) to improve performance and b) to reduce costs. Caching in AWS Lambda is not different. Instead, the reasons for caching might be even more important in this context. This blog post explains why it could be necessary for you and shows …

Caching in AWS Lambda Read More »