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
Rumesh Eranga Hapuarachchi
September 15, 2021
Programming
0
45
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
180
Getting the most out of Serverless
rehrumesh
1
65
Building multi-tenant solutions on AWS
rehrumesh
0
55
Cloud 101
rehrumesh
0
36
Other Decks in Programming
See All in Programming
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
280
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
700
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
260
初学者でも今すぐできる、Claude Codeの生産性を10倍上げるTips
s4yuba
14
9.7k
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
110
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
350
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
230
Result型で“失敗”を型にするPHPコードの書き方
kajitack
5
590
AI時代のソフトウェア開発を考える(2025/07版) / Agentic Software Engineering Findy 2025-07 Edition
twada
PRO
60
17k
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
260
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
2
140
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
120
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1370
200k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Code Review Best Practice
trishagee
69
18k
Optimizing for Happiness
mojombo
379
70k
Making Projects Easy
brettharned
116
6.3k
4 Signs Your Business is Dying
shpigford
184
22k
A better future with KSS
kneath
239
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
810
The Pragmatic Product Professional
lauravandoore
35
6.7k
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]