Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20230906_CDKJAWS_WhyCDK
JAWS-UG CDK支部 #8:
https://jawsug-cdk.connpass.com/event/290800/
tsumita
September 06, 2023
More Decks by tsumita
See All by tsumita
AWSさんから1400万円請求された件
tsumita
3
9k
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
3
990
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
340
20240906_JAWS_Yamanashi_#1_leap_beyond_the_AWS_all_certifications
tsumita
2
830
20230826_SecurityJAWS_NWFW_DNSFW
tsumita
3
610
20230315_JAWS-UG_朝会_43_LT資料
tsumita
1
660
20230117_JAWS-UG_朝会_41_LT資料
tsumita
0
960
Comparing latency among availability zones
tsumita
0
1.3k
20211209_JAWS-UG_CLI専門支部_239R_LT資料
tsumita
1
1k
Other Decks in Technology
See All in Technology
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
150
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
210
「作れる」と「リリースできる」の間にあったもの── PdMを外して見えた、PdMがやるべき仕事/Buildable ≠ Shippable: What Removing the PM Taught Me About the PM’s Job
yappli_developers
0
420
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
610
Snowflake でできることが増えたら、 ABAC が必要になった
kaeton
0
130
増え続けるプロダクトの品質をどう担保するか。ProductSpecとTypeScriptによる取り組み
joere
3
320
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
200
AI時代、つくる力を自分たちの手に。 ──電通×KAG、アジャイルとAI駆動開発で挑む開発の変革
yuukiyo
3
450
AIコーディングはじめました
miso
0
130
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
4
3.2k
Systems Manager AgentがインストールされたPCを紛失した時の対策を考えてみた
amarelo_n24
1
110
AI AgentによるEmbedded SREの取り組み
tgidgd
1
320
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
620
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
610
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
870
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
590
Darren the Foodie - Storyboard
khoart
PRO
4
4.1k
Tell your own story through comics
letsgokoyo
1
1.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
960
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
390
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