93. CDK Patterns - The Good, The Bad and The Ugly
AWS Bites
In today's episode, we're diving into the fascinating world of CDK Patterns - those ingenious building blocks that can transform your cloud journey. We uncover what CDK Patterns are, where to find them, and why you'll want to use them!
With CDK's object-oriented abstraction, L2 and L3 Constructs bring a whole new level of convenience. We'll explore where to find these powerful patterns, from the ones baked right into CDK to the inspiring examples showcased by community websites such as cdkpatterns.com.
Why bother with CDK Patterns and L3 Constructs? Well, imagine encapsulating best practices, avoiding tedious configuration repetition, and ensuring a consistent approach across your services. That's just the tip of the iceberg!
Of course, we'll be candid about the challenges you might encounter, like versioning and resource oversight. Fear not! We'll share practical tips to address these hurdles, including automated testing and vigilant monitoring using CDK diff functionality.
And wait, there's more! We'll reveal some exciting alternatives to CDK Patterns, giving you a broader perspective on reusable modules for your cloud adventures.
💰 SPONSORS 💰
fourTheorem is the company that makes AWS Bites possible. If you are looking for a partner to accompany you on your cloud journey, check them out at fourtheorem.com !
🔖 Chapters:
00:00 Intro 00:44 Quick intro to CDK (Cloud Development Kit) 03:40 What constructs are and how are they organised 06:00 Where to find CDK constructs and what CDK patterns are 08:40 Where to find some examples of how to connect various resources using CDK (AWS Solution Constructs) 09:15 CDK patterns: open source collection of CDK examples 10:30 Why do we want to use L3 constructs and CDK patterns? 11:38 Challenges with CDK and L3 constructs 15:33 How to address some of these challenges 17:06 Alternatives to CDK 18:42 Closing notes
In this episode, we mentioned the following resources:
- AWS Solution Constructs: https://docs.aws.amazon.com/solutions/latest/constructs/welcome.html
- CDK Patterns: https://cdkpatterns.com/
- AWS Cloudformation Templates: https://github.com/widdix/aws-cf-templates
- Terraform AWS Modules: https://github.com/terraform-aws-modules
You can listen to AWS Bites wherever you get your podcasts:
- Apple Podcasts: https://podcasts.apple.com/us/podcast/aws-bites/id1585489017
- Spotify: https://open.spotify.com/show/3Lh7PzqBFV6yt5WsTAmO5q
- Google: https://podcasts.google.com/feed/aHR0cHM6Ly9hbmNob3IuZm0vcy82YTMzMTJhMC9wb2RjYXN0L3Jzcw==
- Breaker: https://www.breaker.audio/aws-bites
- RSS: ​​https://anchor.fm/s/6a3312a0/podcast/rss
Do you have any AWS questions you would like us to address? Leave a comment here or connect with us on Twitter:
#AWS #CDK #constructs ... https://www.youtube.com/watch?v=rCJOBcjxjao
130484456 Bytes