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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Rumesh Eranga Hapuarachchi
September 15, 2021
Programming
55
0
Share
Automating Infrastructure with AWS CDK
Rumesh Eranga Hapuarachchi
September 15, 2021
More Decks by Rumesh Eranga Hapuarachchi
See All by Rumesh Eranga Hapuarachchi
AWS 101
rehrumesh
0
200
Getting the most out of Serverless
rehrumesh
1
80
Building multi-tenant solutions on AWS
rehrumesh
0
57
Cloud 101
rehrumesh
0
45
Other Decks in Programming
See All in Programming
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.7k
Agentic Elixir
whatyouhide
0
450
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
3.1k
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
180
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.5k
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1.1k
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
360
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
640
AIと共に生きる技術選定 2026
sgash708
0
140
KMP × Kotlin 2.3 - How Android Got Slower While iOS Builds Improved by 47%
rio432
0
170
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
510
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
550
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
210
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
550
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
350
How to make the Groovebox
asonas
2
2.2k
Practical Orchestrator
shlominoach
191
11k
Statistics for Hackers
jakevdp
799
230k
Designing Experiences People Love
moore
143
24k
Side Projects
sachag
455
43k
Facilitating Awesome Meetings
lara
57
6.8k
[SF Ruby Conf 2025] Rails X
palkan
2
1k
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]