Slide 1

Slide 1 text

Kohei Sato(kohekohe) Terraform user getting started with AWS CDK

Slide 2

Slide 2 text

2 ● Developing SaaS for visualizing CO2 emissions ● Startup backed by MITSUI & CO., LTD. ● Established in 2022 ● Actively recruiting Software Engineers Self-Introduction Name:Kohei Sato(kohekohe) Working for:e-dash Co., Ltd. Role:Software Engineer Residence:Nagoya We help customers with decarbonization!

Slide 3

Slide 3 text

We use Terraform as IaC tool.

Slide 4

Slide 4 text

Terraform is one of my favorite tools. I’ve used for several years to create resources on AWS.

Slide 5

Slide 5 text

By the way, what’s the purpose of using IaC?

Slide 6

Slide 6 text

One of the biggest reasons is to guarantee “idempotency” in infrastructure.

Slide 7

Slide 7 text

If you don’t use IaC.... Logging into AWS console and clicking buttons.... manual operations.. “Oops.. I made a mistake!!”

Slide 8

Slide 8 text

Not coding infrastructure?? Unthinkable!!!!!

Slide 9

Slide 9 text

Example of terraform

Slide 10

Slide 10 text

Aside from Terraform, there’s IaC tool named “AWS CDK”. So, I tried it.

Slide 11

Slide 11 text

AWS CDK allows you to build infrastructure using programming languages such as Java, TypeScript, JavaScript, Go, and more.

Slide 12

Slide 12 text

Example of AWS CDK

Slide 13

Slide 13 text

Example of AWS CDK

Slide 14

Slide 14 text

Impressions after trying it out: 1. It's programmable. 2. High flexibility (e.g., conditional branching, folder structure). 3. Programming language-specific issues.

Slide 15

Slide 15 text

Personal comparison [Terraform] ● Consistent writing style across developers ● Abundance of information ● Can be used for Non-AWS platform [AWS CDK] ● Flexibility(= Variations in writing style across developers) ● Easy to write unit test ● Support for multiple languages ● Only for AWS ● Language-specific issues

Slide 16

Slide 16 text

Conclusion I wanna use CDK if I have the chance.

Slide 17

Slide 17 text

Thank you for your listening