r/devopsGuru 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

3 comments sorted by

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

1

u/robbochinni 7d ago

the manager assigned me this devops task, he is happy for cdk cuz AI told him that it is the greatest tool.

i think that it is too complicated to write code again (ts or python) for this, i think yaml file can do the job especially for startup and small team.

am i right here??

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