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
Building multi-tenant solutions on AWS
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Rumesh Eranga Hapuarachchi
February 27, 2020
Programming
0
56
Building multi-tenant solutions on AWS
Inspired by the work of the SASS factory team of AWS.
Rumesh Eranga Hapuarachchi
February 27, 2020
Tweet
Share
More Decks by Rumesh Eranga Hapuarachchi
See All by Rumesh Eranga Hapuarachchi
Automating Infrastructure with AWS CDK
rehrumesh
0
54
AWS 101
rehrumesh
0
190
Getting the most out of Serverless
rehrumesh
1
74
Cloud 101
rehrumesh
0
42
Other Decks in Programming
See All in Programming
CSC307 Lecture 09
javiergs
PRO
1
840
並行開発のためのコードレビュー
miyukiw
0
290
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
2026年 エンジニアリング自己学習法
yumechi
0
140
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.3k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.4k
AI時代の認知負荷との向き合い方
optfit
0
160
ぼくの開発環境2026
yuzneri
0
240
AgentCoreとHuman in the Loop
har1101
5
240
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
組織で育むオブザーバビリティ
ryota_hnk
0
180
Featured
See All Featured
Optimizing for Happiness
mojombo
379
71k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
94
Designing for Performance
lara
610
70k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
Raft: Consensus for Rubyists
vanstee
141
7.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Designing Powerful Visuals for Engaging Learning
tmiket
0
240
Code Review Best Practice
trishagee
74
20k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Transcript
Building multi-tenant solutions on AWS Rumesh Hapuarachchi @rehrumesh
Single Tenant vs Multi Tenant Single Tenant – A single
instance of the software and supporting infrastructure serve a single customer. Multi Tenant - A single instance of software runs on a server(s) and serves multiple tenants.
Partitioning vs Isolation
Isolation Strategies Silo Pooled
Silo Isolation
None
Pooled Isolation
Things to note ▹ How do you isolate shared resources
▹ Don’t rely on well behaved code ▸ Imagine a nested query
Runtime policies
Resource Isolation Let's dive deep
Silo - Compute Isolation
Pooled IAM policy requires a broader scope
Pooling with EC2 & lambda
Pooled - Containers </3
Storage Isolation
Isolation & Data partitioning
Isolation with S3
What about other storage services?
Silo Pros 1. Coarse grained Isolation 2. Customer Acceptance 3.
Tool alignment Cons 1. Deployment 2. Cost 3. Manageability 4. Account limits Pros 1. Fine grained isolation 2. Resource pooling 3. Agility 4. Cost effective 5. Manageability Cons 1. Customer Acceptance 2. Mix of technologies 3. Account limits Pooled
Reference Point
rehrumesh
[email protected]