https://www.ranthebuilder.cloud/post/...
https://github.com/ran-isenberg/aws-l...
AWS CDK revolutionized the way we create resources in the cloud. It enables developers to write infrastructure as code and feel at home.
However, AWS CDK is such a flexible and powerful tool that it's easy to make mistakes. And some errors can be very costly.
I'll cover topics such as:
1. Recommended project Structure and stack guidelines
2. Constructs guidelines - how to model constructs. I believe in domain-driven constructs.
3. CI/CD guidelines - handling configuration per environment and secrets in CDK.
4. Resiliency & security guidelines
5. General development tips - tags, working with CFN resources, and more.
I also provide a working CDK template open-source project that implements these practices. It's called the AWS Lambda handler cookbook: https://github.com/ran-isenberg/aws-l...
And it also has a cookiecutter variation: https://github.com/ran-isenberg/cooki...
As a side note, I talked about CDK at the CDK Day 2020 ( • AWS CDK Day 2020 - Our Saas Journey W... ) from a CDK newbie perspective. Now, three years later, writing serverless application with CDK to production at CyberArk, an enterprise company, I'd like to share insights and best practices we have gathered.
Watch video AWS CDK Day 2023 - CDK Best Practices online, duration hours minute second in high quality that is uploaded to the channel Ran The Builder 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,252 times and liked it 79 visitors.