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.
#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.
Matching moments
03:15 MIN
Simplifying infrastructure as code with AWS CDK
How AWS Generates Polyglot Libraries Based on a Single TypeScript Codebase
04:21 MIN
Automating infrastructure with AWS CDK templates
The Road to MLOps: How Verivox Transitioned to AWS
04:23 MIN
Introducing coding infrastructure with the AWS CDK
Stop configuring infrastructure, start coding it!
01:24 MIN
The CDK ecosystem extends beyond just AWS
Stop configuring infrastructure, start coding it!
02:39 MIN
Unifying AWS and Kubernetes deployments with CDK
The power of Cloud Development Kit (CDK): How to get the most out of it
02:36 MIN
Understanding the CDK compilation and deployment process
Program your infrastructure with CDK and TypeScript
02:26 MIN
What is the Cloud Development Kit (CDK)
Program your infrastructure with CDK and TypeScript
25:09 MIN
Audience Q&A on serverless IoT development
Building your way to a serverless powered IOT Buzzwire game
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...
Learning Kubernetes made easy with KubeCampusLearning 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 ...
Dev Digest 113 - Debugging above the cloudHello 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...
From learning to earning
Jobs that call for the skills explored in this talk.