Raphael Manke

Building Reliable Serverless Applications with AWS CDK and Testing

How do you test cloud-native services that don't have a local version? Learn a powerful, automated approach using the AWS CDK.

Building Reliable Serverless Applications with AWS CDK and Testing
#1about 2 minutes

Overcoming the challenges of container-based infrastructure

Traditional containerized applications face significant hurdles with scalability, operational complexity, and security management.

#2about 2 minutes

Exploring the benefits of a serverless architecture

Serverless computing offers improved scalability, reduced operational overhead, cost-effectiveness, and built-in high availability.

#3about 2 minutes

Defining serverless infrastructure with the AWS CDK

The AWS Cloud Development Kit (CDK) allows you to define cloud infrastructure using familiar programming languages, which then synthesizes into CloudFormation templates.

#4about 4 minutes

Structuring a CDK application with stacks and constructs

A CDK application is organized as a tree of constructs, with stacks serving as the primary deployment units for grouping related resources.

#5about 3 minutes

Unit testing Lambda functions and CDK infrastructure

Test Lambda function logic with standard unit tests and verify CDK-generated templates using fine-grained assertions and snapshot testing.

#6about 4 minutes

Running local integration tests for Lambda and DynamoDB

Validate the interaction between a Lambda function and DynamoDB by running integration tests against a local DynamoDB instance.

#7about 3 minutes

Integration testing for cloud-native managed services

Use the CDK integration test runner to deploy, test, and destroy resources in the cloud for services that lack a local equivalent, like EventBridge Pipes.

#8about 2 minutes

A complete testing strategy for serverless applications

A reliable serverless application requires a multi-layered testing approach, including local unit tests, template assertions, and cloud-based integration tests.

#9about 2 minutes

Q&A: Spying on SDK calls and local DynamoDB setup

Answering audience questions about the costs of spying on SDK calls and the process for setting up a local DynamoDB instance for testing.

Related jobs
Jobs that call for the skills explored in this talk.

test

Milly
Vienna, Austria

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
Learning Kubernetes made easy with KubeCampus
Learning to use Kubernetes? KubeCampus by Kasten offers free educational content for all skill levels to get you started!Kubernetes is an open-source system for deploying, scaling and managing containerized applications. It allows you to deploy your ...
Learning Kubernetes made easy with KubeCampus
Dev Digest 113 - Debugging above the cloud
Hello there and welcome to Dev Digest 113! This time, we got an old friend in the sky back, jQuery asks us to upgrade and AI is eating the web. Also, are you sure the LLM you use is secure against code injection?News and ArticlesGood news everyone! N...
Dev Digest 113 - Debugging above the cloud
DC
Daniel Cranney
Building AI Solutions with Rust and Docker
In recent years, artificial intelligence has surged in popularity in the world of development. While Python remains a popular choice in the realm of AI, Rust - often known as Rust Lang - is quickly emerging as a formidable alternative.Rust programmin...
Building AI Solutions with Rust and Docker

From learning to earning

Jobs that call for the skills explored in this talk.

Test Engineer

Test Engineer

Acrolinx
Berlin, Germany

Senior
Java
Linux
Maven
PostgreSQL
Manual Testing
+2
Devops AWS

Devops AWS

Krell Consulting & Training
Madrid, Spain

Intermediate
DevOps
Terraform
Continuous Integration