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.
Смотрите видео AWS CDK Day 2023 - CDK Best Practices онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ran The Builder 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,252 раз и оно понравилось 79 людям.