AWS Cloudformation Which is Better? Terraform does have advantages over CloudFormation.

1

When resource services grow more and managing them and maintaining them becomes an tedious work, IaC solves they problems. But terraform is an open-source, cloud-agnostic infrastructure management tool developed by HashiCorp that enables modular configuration of infrastructure, thereby allowing you to use AWS modules and third-party modules in the same infrastructure. Where should my time and resources but priorities for learning?

profile picture
질문됨 일 년 전246회 조회
2개 답변
2

Hi Wycliffe,

Adoption of IaC tooling depend on many factors. One of the most important to me is how your organization is structured and who is gonna provision the infra.

If software engineers are going to be responsible, maybe CDK is more suitable.

I have been using terraform, and true, you can use modules to reuse components, but project structure has some limitations as you cannot produce Stacks, is hard to structure code as folders and you may need to rely on third parties (terragrunt) to overcome some limit.

Of course CloudFormation is another option, but it becomes super verbose and learning curve is slightly higher.

Depending on your choice you can look at AWS workshops for cdk https://cdkworkshop.com/20-typescript.html or certifications https://www.hashicorp.com/certification/terraform-associate

Hope it helps ;)

profile picture
전문가
답변함 일 년 전
0

+1 with @alatech's answers.

There are many considerations when choosing tooling of any type. For Infrastructure as Code tooling, you would consider your/teams current skillset, if you have any existing assets you want to reuse, personal preference, etc.

Cloud Development Kit (CDK) is an open-source project created and maintained by AWS, and is targeted at folks who write software in .Net, Java, Go, Python, Node/TypeScript. CDK provides you the ability to declare your infrastructure using the programming language that you already know (if supported*). CDK will synthesize Cloud Assembly files which will be processed by AWS CloudFormation.

CDK does have a module reuse, we call them Constructs. There are Level 1, 2, and 3 constructs for CDK.

Terraform is an open source project created and maintained by APN Partner Hashicorp. It has it's own language (HCL), and allows you to create you infrastructure using declarative blocks of resources. Terraform operates directly against the AWS Public APIs.

profile pictureAWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠