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
Rumesh Eranga Hapuarachchi
February 27, 2020
Programming
0
48
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
30
AWS 101
rehrumesh
0
140
Getting the most out of Serverless
rehrumesh
1
56
Cloud 101
rehrumesh
0
23
Other Decks in Programming
See All in Programming
ONE WEDGE_company_guide
1wedge_one
0
500
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
410
Git Lint
bkuhlmann
4
750
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
350
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
830
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
210
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
540
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
390
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
340
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
260
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
9
4.1k
Goのmultiple errorsについて (2024年4月版)
syumai
4
980
Featured
See All Featured
Done Done
chrislema
178
15k
RailsConf 2023
tenderlove
4
540
Docker and Python
trallard
34
2.7k
Designing the Hi-DPI Web
ddemaree
276
33k
Visualization
eitanlees
136
14k
The Mythical Team-Month
searls
216
42k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Automating Front-end Workflow
addyosmani
1356
200k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
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]