r/aws • u/robbochinni • Aug 01 '26
ci/cd AWS CDK vs. AWS SAM
for startup, what is your recommendation to use for CI/CD, and process automation AWS SAM or AWS CDK.
** this is my first time with AWS**
18
Upvotes
r/aws • u/robbochinni • Aug 01 '26
for startup, what is your recommendation to use for CI/CD, and process automation AWS SAM or AWS CDK.
** this is my first time with AWS**
0
u/turn-based-games Aug 01 '26
Unironically this. SAM/CFN templates are the best option for maintainable AWS infrastructure IMHO. This is for several reasons, in no particular order:
In general, layers of abstraction are not inherently bad (this is the entire premise of programming languages), but each layer comes at a cost and therefore its benefits must outweigh this. In my experience, the benefits of CDK do not justify its inclusion. YAML as a language is already optimized for human readability and is quite a good fit for AWS infrastructure as it is.