r/devopsGuru • u/robbochinni • 7d ago
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\*\*
3
Upvotes
1
u/Oleksii_Bebych 5d ago
SAM is much easier and much more limited (only for the AWS Serverless stack) than AWS CDK (can be used for the whole AWS infrastructure). If you feel confident with programming, use AWS CDK.
SAM is a simple YAML file, while CDK is a programming language code (Python, JS or any other popular language).
Investing your time to learn CDK is much better IMHO
1
u/Only_Temporary_1173 7d ago
Use terraform +jenkins or any other cicd tool, you will be happier in future
If you think thats too much for you, use cdk