Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
20230906_CDKJAWS_WhyCDK
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tsumita
September 06, 2023
Technology
0
120
20230906_CDKJAWS_WhyCDK
JAWS-UG CDK支部 #8:
https://jawsug-cdk.connpass.com/event/290800/
tsumita
September 06, 2023
Tweet
Share
More Decks by tsumita
See All by tsumita
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
3
860
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
290
20240906_JAWS_Yamanashi_#1_leap_beyond_the_AWS_all_certifications
tsumita
2
730
20230826_SecurityJAWS_NWFW_DNSFW
tsumita
3
580
20230315_JAWS-UG_朝会_43_LT資料
tsumita
1
580
20230117_JAWS-UG_朝会_41_LT資料
tsumita
0
860
Comparing latency among availability zones
tsumita
0
1.2k
20211209_JAWS-UG_CLI専門支部_239R_LT資料
tsumita
1
940
Other Decks in Technology
See All in Technology
「データとの対話」の現在地と未来
kobakou
0
1.3k
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
3
890
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
作るべきものと向き合う - ecspresso 8年間の開発史から学ぶ技術選定 / 技術選定con findy 2026
fujiwara3
7
2.1k
Security Diaries of an Open Source IAM
ahus1
0
200
型を書かないRuby開発への挑戦
riseshia
0
180
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
LLM活用の壁を超える:リクルートR&Dの戦略と打ち手
recruitengineers
PRO
1
240
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
4
1.1k
トップマネジメントとコンピテンシーから考えるエンジニアリングマネジメント
zigorou
3
530
生成AIの利用とセキュリティ /gen-ai-and-security
mizutani
1
1.2k
バクラクのSREにおけるAgentic AIへの挑戦/Our Journey with Agentic AI
taddy_919
2
1k
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
140
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
How STYLIGHT went responsive
nonsquared
100
6k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
120
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
850
Abbi's Birthday
coloredviolet
2
5.1k
New Earth Scene 8
popppiees
1
1.7k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
74
Transcript
初めて触って感じたWhy CDK︖ JAWS-UG CDK⽀部 #8 2023.09.06 1
⾃⼰紹介 積⽥ 優⽣ (Tsumita Yuki) Twitter(X): @tsumita7 • 2023 Japan
AWS Ambassador • 2023 Japan AWS Top Engineer • 2023 Japan AWS All Certifications Engineer 好きなAWSサービス AWS Support Amazon EventBridge AWS Fargate 2
はじめに • 本⽇の発表は個⼈的なものであり、所属組織を代表するものではありません。 3
4 はじまり • 2023/08/20 CDK⼊⾨
5 AWS CDK in Practice • 2023年6⽉に出版(現在英語版のみ) • サンプルコードがGitHubにて公開 •
順を追って解説してくれているのでわかりやすい • CDKコンセプト • React/Node.js/Expressを使ったサンプルアプリ • CI/CDパイプライン構築 • テスト記述⽅法 • AWS サービスシュミレーターLocal Stack紹介 • CDKTF, CDK8SなどCDKを取り巻く状況
6 初めてのcdk deploy︕
CDKの素敵ポイント① DSL学習不要 7 • 普段使い慣れている⾔語で記載可能 • 学習コストはDSL(terraformなど)に⽐べて⽐較的低い
CDKの素敵ポイント② 型とバリデーション 8 • エディタの⽀援も組み合わせることで開発体験が良い • typoなどにもすぐに気付ける
CDKの素敵ポイント③ テストコード 9 • オールグリーンで精神安定 terraform testコマンドはよ・・・
CDKの微妙ポイント① 遅い 10 •deploy/destroyが遅い 回避策もあるようだが、コーヒーブレイクが多くなりそう
CDKの微妙ポイント② destroy時の体験 11 • destroy時にプログレスバーのようなものを表⽰して欲しい ⇒ フリーズしているのではないか︖と⼼配になる
CDKの微妙ポイントを改善する 12 Cloud Development Kit for Terraform (CDKTF) https://github.com/hashicorp/terraform-cdk •
AWS以外の複数provider対応 • 普段使い慣れた⾔語で記述 • バックエンドがTerraform︕
CDKの微妙ポイントを改善する 13 • CDKライク︕︕︕
CDKの微妙ポイントを改善する 14 deploy approve result • Terraformライク︕︕
CDKの微妙ポイントを改善する 15 destroy approve & result 最⾼︕︕
まとめ Conclusion. 16
初めて触って感じたWhy CDK︖ まとめ • CDKはTerraformと⽐較して、deploy/destroyのもっさり感が強い • 開発者がIaCを始めるなら、CDKはかなり取っつきやすいと感じた • Cloud Development
Kit for Terraform (CDKTF) 最⾼︕︕ 17
ご清聴ありがとうございました Thank you for your attention and time. 18