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
Automating Infrastructure with AWS CDK
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Rumesh Eranga Hapuarachchi
September 15, 2021
Programming
0
54
Automating Infrastructure with AWS CDK
Rumesh Eranga Hapuarachchi
September 15, 2021
Tweet
Share
More Decks by Rumesh Eranga Hapuarachchi
See All by Rumesh Eranga Hapuarachchi
AWS 101
rehrumesh
0
190
Getting the most out of Serverless
rehrumesh
1
74
Building multi-tenant solutions on AWS
rehrumesh
0
56
Cloud 101
rehrumesh
0
42
Other Decks in Programming
See All in Programming
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
Package Management Learnings from Homebrew
mikemcquaid
0
230
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
Data-Centric Kaggle
isax1015
2
780
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
320
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
AI巻き込み型コードレビューのススメ
nealle
2
360
CSC307 Lecture 03
javiergs
PRO
1
490
CSC307 Lecture 01
javiergs
PRO
0
690
Featured
See All Featured
For a Future-Friendly Web
brad_frost
182
10k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Making Projects Easy
brettharned
120
6.6k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Abbi's Birthday
coloredviolet
1
4.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
190
Transcript
Presented by Rumesh Hapuarachchi Automating Infrastructure with AWS CDK
None
None
Infrastructure as Code
Infrastructure as Code Repetable & Predictable Same tools as your
code Replicating environments for better testability
None
AWS Cloud Development Kit (AWS CDK)
Engineers love coding • Languages which they already know •
Java, JS, TS, Python, Go, C# • Existing tools & workflows • Abstractions • Libraries • Use logics when defining your infrastrucure
None
None
From code to cloud "Source" "Compiler" "Assembly Language" "Processor"" synthesize
deploy AWS CF CF Template CDK CLI
AWS CDK Main Components • Core Framework (App, Stacks, Resources)
• AWS Construct Library • AWS CDK CLI
Construct Levels Image Credits: Sebastian Korfmann
99x.io npm install -g aws-cdk
Commands • cdk init • cdk synth • cdk diff
• cdk deploy • cdk destroy
Let's Build Our First App
99x.io Testing?
Isn't that same as Jest? Testing with CDK • Snapshot
tests • Fine-grained assertions • Validation tests
Show me some code?
Best Practices • Layer your application to reduce blast radius
• Use multiple, isolated environments for dev, test, stage and prod • Smaller files • Make use of Parameter Store and Secrets Manager • Do not overengineer
Helpful Resources • https://cdkpatterns.com/ • https://github.com/cdk-patterns/serverless • https://docs.aws.amazon.com/cdk/api/latest/docs/aws- construct-library.html
99x.io Thank You rehrumesh
[email protected]