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
67
Building multi-tenant solutions on AWS
rehrumesh
0
55
Cloud 101
rehrumesh
0
38
Other Decks in Programming
See All in Programming
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
500
デザイナーが Androidエンジニアに 挑戦してみた
874wokiite
0
350
Namespace and Its Future
tagomoris
6
700
私の後悔をAWS DMSで解決した話
hiramax
4
210
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
850
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
130
testingを眺める
matumoto
1
140
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.4k
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
740
🔨 小さなビルドシステムを作る
momeemt
4
680
機能追加とリーダー業務の類似性
rinchoku
2
1.3k
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
920
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Language of Interfaces
destraynor
161
25k
Side Projects
sachag
455
43k
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]