121. 5 Ways to extend CloudFormation

Описание к видео 121. 5 Ways to extend CloudFormation

In this episode, we discuss 5 different ways to extend CloudFormation capabilities beyond what it natively supports. We started with a quick recap of what CloudFormation is and why we might need to extend it. We then covered using custom scripts and templating engines, which can be effective but require extra maintenance. We recommended relying instead on tools like Serverless Framework, SAM, and CDK which generate CloudFormation templates but provide abstractions and syntax improvements. When you need custom resources, CloudFormation macros allow pre-processing templates, while custom resources and the CloudFormation registry allow defining new resource types. We summarized recommendations for when to use each approach based on our experience. Overall, we covered multiple options for extending CloudFormation to support more complex infrastructure needs.

💰 SPONSORS 💰

AWS Bites is brought to you by fourTheorem, an AWS Partner that specialises in modern application architecture and migration. If you are curious to find out more and to work with us, check us out on fourtheorem.com!


🔖 Chapters:

00:00 Intro
01:39 Overview of CloudFormation and when you might need to extend it
04:14 Using custom scripts and templating engines to extend CloudFormation
07:03 Tools like Serverless Framework, SAM, and CDK that generate CloudFormation templates
09:42 CloudFormation macros for pre-processing templates
13:26 CloudFormation custom resources for defining new resource types
18:56 CloudFormation registry as an evolution of custom resources
25:21 Some considerations about the AWS Cloud Control API
27:11 Recap and final recommendations
29:24 Wrap up


In this episode, we mentioned the following resources:

Ep. 31 "Cloudformation or Terraform": https://awsbites.com/31-cloudformatio...
Serverless Framework: https://www.serverless.com/
SAM (Serverless Application Model): https://aws.amazon.com/serverless/sam/
CDK (Cloud Development Kit): https://aws.amazon.com/cdk/
Ep. 119 "The state of AWS 2024 (AnsWeRS community survey commentary)": https://awsbites.com/119-the-state-of...
Ep. 93 "CDK Patterns - The Good, The Bad and The Ugly": https://awsbites.com/93-cdk-patterns-...
SLIC Watch: https://github.com/fourTheorem/slic-w...
AWS SSO Utils by Ben Kehoe: https://github.com/benkehoe/aws-sso-util
JavaScript library to safely create custom CloudFormaion resources: https://www.npmjs.com/package/safe-cf...
Clouformation CLI: https://github.com/aws-cloudformation...
Cloudformation CLI docs: https://docs.aws.amazon.com/cloudform...
Cloudonaut podcast "3½ ways to workaround missing CloudFormation support": https://cloudonaut.io/three-and-a-hal...


You can listen to AWS Bites wherever you get your podcasts:
Apple Podcasts: https://podcasts.apple.com/us/podcast...
Spotify: https://open.spotify.com/show/3Lh7Pzq...
Google: https://podcasts.google.com/feed/aHR0...
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 X, formerly Twitter:
  / eoins  
  / loige  

#aws #cloudformation #infrastructure #infrastructureascode #cloud #devops

Комментарии

Информация по комментариям в разработке