On Wednesday, March 18th 2021 AWS Community Nordics organized a pan-Nordic virtual event where I talked about CI/CD pipelines, testing and CDK:
This talk aims to work as an inspiration on how you might approach building modern and robust CI/CD pipelines for serverless applications (and their infrastructure): How one can achieve confidence in CI/CD flows by integrating testing throughout the entire process early on and how to manage multiple environments in your deployments.
This talk shows examples with serverless microservices consisting of AWS Lambda functions, various AWS managed services, infrastructure written in AWS Cloud Development Kit, Github Actions and Jest testing framework as a core part of the local development and finally the CI/CD workflow - but with some adjustment these patterns showcased here can be applied to almost any modern technology stack!
After this talk, you'll leave with recipes and patterns that you can apply to your serverless projects to speed up the development and improve the reliability of your CI/CD pipelines!
Show notes & links ¶
- AWS Whitepaper: Alma Media / Fender / iRobot - Serverless-First Journey
- Podcast: Real World Serverless with theburningmunk (Yan Cui) - Serverless at Alma Media with Ari Palo
- AWS CDK docs
- AWS Nordics: CDK Special
- Jest Testing Framework
- Blog: Mocking AWS with Jest (and TypeScript)
- AWS CDK testing constructs
- Terraform Unit testing
- CFN Lint
- CFN Nag
- IAM Parliament (Policy Linting)
- CFN Guard
- CDK Aspects
- Got http client