SlideShare a Scribd company logo
1 of 81
Tom Kerkhove
AzureArchitectatCodit, Microsoft AzureMVP,Creatorof Promitor
Adventures of building a multi-tenant PaaS
on MicrosoftAzure
Twitter: @TomKerkhove
GitHub: @TomKerkhove
blog.tomkerkhove.be
codit.eu
Disclaimer
You’ll learn about my adventures & findings, not about silver bullets
2
Scale
3
Scale up/down
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 4
Scale
| Easiest way of scaling is to get a bigger box
| The only trade-off is that it means your app will be unavailable for a while
| At some point you’ll run out of “bigger boxes”
Scale out / in
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 5
Scale
| Provide multiple copies of your application based on your workload
| No impact on your uptime, but more complex
| My preferred way of scaling, but your application needs to be designed for it
Choose the right compute infrastructure
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 6
Functions
Functions
Container
Instances
Service
Service
Fabric Mesh
Cloud
Services
App
Service
Fabric
Kubernetes
Cluster
VM Scale
Sets
VMs
Bare Metal
| As control increases, so does complexity
| Every service has it’s own characteristics
| How you run your application
| How you package your application
| How you scale your application
Designing for scale
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 7
Scale
Order Function
Order Function
Order Function
Order Function
Order Function
Order Function
Azure Functions
Designing for scale with serverless
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 8
Scale
| The good
| The service handles scaling for you
| The bad
| The service handles scaling for you
| Does not provide a lot of awareness
| The ugly
| Dangerous to burn a lot of money
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 9
Source: http://blog.tdwright.co.uk/2018/09/06/beware-runonstartup-in-azure-functions-a-serverless-horror-story/
Designing for scale with PaaS
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 10
Scale
Instance
Orders Role
Cloud Services
Instance
InstanceInstance
InstanceInstance
InstanceInstance
Autoscaler
Message
Count > 1,
Add instance
Scale!
Designing for scale with PaaS
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 11
Scale
| The good
| You need to define how it scales
| Provides you with scaling awareness
| The bad
| You need to define how it scales
| Hard to determine the perfect scaling rules
| The ugly
| Be aware of “flapping” (http://bit.ly/monitor-autoscale-best-practices)
| Be aware of infinite scaling loops
Use an Azure Monitor Autoscale
12
Scale
Node 1
Cluster
Node 2 Node 3
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Pod
Designing for scale with CPaaS
Custom Metric
Provider
Horizontal Pod
Autoscaler(s)
Cluster
Autoscaler
13
Node 1
Cluster
Node 2 Node 3
Pod
Pod Pod
Pod
Pod
Pod
Pod
PodPod
Custom Metric
Provider
Horizontal Pod
Autoscaler(s)
Virtual Kubelet
Azure Container Instances
Container Group
Pod
Container Group
Pod
Container Group
Pod
Designing for scale with CPaaS
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 14
Scale
| The good
| Share resources across different teams
| Serverless scaling capabilities are available with Virtual Kubelet & Virtual Nodes
| The bad
| You are in charge of providing enough resources
| With great power, comes great responsibilities
| No autoscaling out-of-the-box
| Scaling on different levels
| Scaling can become complex(er)
| The ugly
| Takes a lot of effort to ramp up on how to scale
| There’s a lot to manage
15
Use the tool that fits your needs
Don’t use a service because you know it, evaluate your options
Every technology has its trade-offs, learn them
Don’t overengineer, “because we’ll need it later”
You don’t need hyper scale from day I
Create awareness around your autoscaling
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 16
Scale
| Avoid burning money, get notified before it’s too late!
| Gain insights in your autoscaling rules
| Either configured by you or managed by Azure (ie. Azure Functions)
| Learn from them and tweak them
| Detect autoscaling loops in TEST instead of during live-site issue
| Choose the approach that fits your needs
| Configure Azure Monitor notifications
| Use built-in metrics to visualize and alert on
| Provide your own tooling around it
Create awareness around your autoscaling
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 17
Scale
Tips
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 18
Scale
| Resource consolidation pattern does not play nice with autoscaling
| Configure maximum instance count for your autoscaling
| Provide representable metrics of your remaining work
| Azure Monitor Autoscale is a hidden gem in Azure, use it!
| Does all the great things an autoscaler should do
| Use budget alerts, if feasible
Tenancy
19
20
Multi-tenancy is all about choices
How will you deploy your application?
How much isolation does it require between tenants? How much customization will we allow?
Do our tenants need access to their data?
Will it run in multiple regions?
Will one region require multiple deployments?
What is our pricing model?
Do we need to reflect this in our tenancy?
Multi-tenancy is more than data sharding
Choosing a tenancy model
21
Tenancy
App Stamp A Stamp B
Stamp C Stamp D
App
Tenant A
App
Tenant B
#n…#1 #n…#1BA
Full isolation between tenants by
deploying everything for every tenant
Run a multi-tenant application, but use
sharded data layer
App deployed in multiple stamps &
geographies with sharded data layer
Choosing a sharding strategy
22
Tenancy
| Spread all your data across multiple smaller databases instead of one big one
| Good example of scaling out to handle load
| A shard key is used to determine the shard based on the chosen strategy
| Choose your strategy wisely and think about your query patterns
| Does your customer need access to it? Then you should shard per tenant!
| You cannot easily change your strategy later on
| More information: http://bit.ly/sharding-pattern
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
Locating shards
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 23
Tenancy
Shard
Manager
How do I connect to “Sello”?
Order
Processor
#5#4#3#2#1 #6 #7 #8
Use this connection string
Get Secret
“Sql-Tenant-Sello”
Using shard managers
24
Tenancy
| Provide catalog of all shard in the platform
| Determine current shard based on shard key & chosen approach
| Metadata is stored in a store of choice
| Be careful where you store your secrets
| Choosing a good shard manager
| They should handle secrets in a secure manner
| Build your own, ie on top of Azure Key Vault
| Use existing tool, ie Azure SQL Database Elastic Tools
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
Cost-efficient sharding
25
Tenancy
#5#4#3#2#1 #6 #7 #8
Elastic Pool
| In a PaaS world you need to pay for every data store instance you have.
S1–5%
S1–15%
S1–5%
S1–25%
S1–50%
S1–7%
S1–21%
S1–41%
Use an Azure SQL Elastic Pools
| We pay ~€200 for 160 DTU, but only use ~20 % of it
Cost-efficient sharding
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 26
Tenancy
#5#4#3#2#1 #6 #7 #8
Elastic Pool
| Resource pools have a resource limit for all shards
7DTU
15DTU
8DTU
25DTU
24DTU
7DTU
40DTU
21DTU
93DTU
I need more resources!!!
We ran out, we only
have 200 DTU
25DTU
Cost-efficient sharding
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 27
Tenancy
#5#4#3#2#1 #6 #7 #8
Elastic Pool
| Enforce resource limitation on a per-shard level
7DTU
15DTU
8DTU
25DTU
24DTU
7DTU
40DTU
21DTU
50DTU
I need more resources!!!
You’ve had enough
37DTU
| Provide multiple resource pools to reduce impact of noisy neighbors
Cost-efficient sharding
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 28
Tenancy
#5#4#3#2#1 #6 #7 #8
Resource Pool A Resource Pool B Resource Pool C
7DTU
15DTU
8DTU
24DTU
7DTU
21DTU
50DTU
37DTU
7DTU
15DTU
8DTU
24DTU
7DTU
37DTU
| Reflect your pricing model in your resource pooling
Cost-efficient sharding
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 29
Tenancy
#5#4#3#2#1 #6 #7 #8
Basic Pool
37DTU
24DTU
5DTU
51DTU
63DTU
77DTU
158DTU
121DTU
Standard Pool Premium Pool
Provision 250 Standard DTUs , capped at 100Provision 100 Basic DTUs , capped at 50 Provision 500 Premium DTUs,
capped at 250
Cost-efficient sharding
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 30
| Consider moving all shards in a resource pool
| Configure maximum consumption per database
| Consider using multiple resource pools to reduce impact of noisy neighbor
| Resource pools are a great way to reflect your pricing model
| Monitor your pools as you would do for individual databases
Tenancy
Determining tenants
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 31
| Determining the tenant that is consuming your service via your API gateway
| Map the authentication key to the registered application and use its context
Tenancy
API
Gateway
API
DB
POST api/v1/orders
X-API-Key ABC
POST api/v1/orders
X-Tenant Sello
Shard
Manager
What shard is “Sello”?
Bill Bracket owns ABC.
Part of “Sello” group
Determining tenants
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
Tenancy
<policies>
<inbound>
<base/>
<set-header name="X-Tenant" exists-action="override">
<value>
@(string.Join(";", (from item in context.User.Groups where
item.Name.ToLower().Contains("sello -") select item.Name.Replace("Sello - ", String.Empty).Trim())))
</value>
</set-header>
</inbound>
<backend>
<base/>
</backend>
<outbound>
<base/>
</outbound>
<on-error>
<base/>
</on-error>
</policies>
Monitoring
33
34
35
36
Monitoring is a shared responsibility
You only value good monitoring, if you’ve been on the other side of the fence
Train your developers to use their own toolchain,
use automated tests on live infrastructure
37
Enrich your telemetry
Correlated all your telemetry to provide a logical flow, not just traces
Provide app-specific contextual information to all telemetry
Always return your correlation ids to your consumers
Never track personal identifiable information
Use different layers of correlation ids
Use consistent terminology
Correlate your telemetry
38
Monitoring
Frontend API
Order
Processor
DB
Get Products
Create Order
Operation ABC
Operation DEF
Session XYZ
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
Correlate your telemetry
39
Monitoring
Frontend API
Order
Processor
DB
Get Products
Create Order
Operation ABC
Operation DEF
Session XYZ
Cycle 123
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
40
Health checks
No direct business value, until it’s too late
Report status of your application - Is my application healthy? Is it ready?
Use them to verify deployments, measure latency, up time, cold start, …
Always provide throttling to block noisy consumers
Think about your connection management
Go as far as you want
41
Health checks
Handling alerts
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 42
| Always automate alert creation, they are part of your infrastructure as well
| Build a centralized alert handling process
| Azure Logic Apps is a good fit for this
| Different alerts have different contracts
| Use adapters to receive notifications
| Map to internal metric contract
| Handle via centralized alert handler
Monitoring
Azure Monitor
Classic Alert
Adapter
Azure Monitor
Metrics Alert
Adapter
Centralized
Alert Handler
Azure Monitor
Common Alert
Adapter
Time to move it! Azure Classic Alerts will be deprecated by end of August 2019.
https://docs.microsoft.com/en-gb/azure/azure-monitor/platform/monitoring-classic-retirement
Handling alerts
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 43
| Use the Logic App template for Azure Monitor!
Monitoring
44
Write Root Cause Analysis (RCA)
Train your team for PROD outages, write RCAs in all environments
Did our alerts detect it? Did we have enough telemetry?
Provides a structured way of analysing your platform
Use as a knowledge transfer to customers & team
Define action points and follow-up on them
Use them to detect recurring issues
There is no such thing as failure, only opportunities to learn
Webhooks
45
Consuming webhooks
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 46
| Generated URLs are evil, provide good DNS names of your services
| And this goes for everything, not only webhooks
Webhooks
API
(12345.provider.com)
3rd
Party
POST https://12345.provider.com/api/webhooks
Where did
123456 go?!
API
(67890.provider.com)
Use an API Gateway
Consuming webhooks
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 47
| Do not reduce your API security because of your 3rd Party
Webhooks
API
(12345.provider.com)
3rd
Party
POST http://12345.provider.com/api/webhooks
Where is
your cert?
Use an API Gateway
Consuming webhooks
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 48
| Always route webhooks through an API gateway
| This decouples the webhook from your internal architecture
Webhooks
API
Gateway
API
3rd
Party
POST http://sello.com/api/v1/webhooks POST https://sello.provider.com/api/v1/webhooks
Authentication: Certificate
Consuming webhooks
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 49
| Always route webhooks through an API gateway
| This decouples the webhook from your internal architecture
Webhooks
API
Gateway
Orders
API
3rd
Party
POST http://sello.com/api/v1/webhooks
POST https://orders.sello.provider.com/api/v1/webhooks
Authentication: Certificate
Stock
APISome gateways support auth
key via query parameters
50
Provide user-friendly webhooks
Think as a webhook consumer, not publisher.
Provide a way for consumers to provide context during registration
Provide a self-service CRUD API to register new subscriptions
Pass your correlation id via Request-Id header
Provide an invocation history
Spaghetti infrastructure 2.0?
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 51
Webhooks
Warehouse
Service
Order
Service
Stock
Service
Shipping
Service
Invoice
Service
Payment
Service
Spaghetti infrastructure 2.0?
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 52
| Long-term this can start to become a burden
| A lot of bookkeeping to know who to update, how we should authenticate, etc
| No central place to route all webhooks through
| Your platform needs to be robust
| What if subscriber II is not responding? Let’s build a retry mechanism!
| Who says subscriber II owns foo.bar.com?
| Webhooks should use a “I don’t care, here’s an update” approach
Webhooks
Event Routers
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 53
Webhooks
Warehouse
Service
Order
Service
Stock
Service
Shipping
Service
Invoice
Service
Payment
Service
Event
Router
Event Routers
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 54
| Event Routers do all the heavy lifting for you
| Provide a centralized hub for all things events
| Bookkeeping of whom subscribes to what webhooks and events
| They will retry sending events when they did not reply
| They will perform webhook validations
| Publishers can publish events to the event router and takes it from there
| Great for for internal usage, but harder to use with 3rd parties
| Webhook validation is not always easy to setup
Webhooks
Tips
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 55
| Webhooks are not durable, if you are not around you will miss it.
| If you need to ensure at-least-once delivery, consider using a broker instead
| Store audit entry of webhook that are being pushed
| Can be important in case of a dispute
| Optionally even include the response of the consumer
| Do not only allow global registrations, consider serving more granular updates
| For example, I want updates of one flight instead of all flights
| Provide rate limiting on your webhook endpoints
| Don’t let your platform go down by your 3rd party provider
| Webhooks are contracts as well
| Provide good documentation and version them
Webhooks
56
Use Webhooks & Events internally
Build fully automated reactive applications / data ingestion pipelines
Decouple teams from each other
Provide capability to extend
June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 57
Azure Event Grid, the heart of Azure
58
Example
| Azure Key Vault is working on native Event Grid Events
| This provides the capability to fully automate certificate management
| The power of these events can leverage closer integration by other services such as
Azure App Services, API Management who can consume latest version of cert
https://www.codit.eu/blog/azure-event-grid-the-heart-of-azure/
59
No.
Embrace Change
60
61
62
How we used to ship
Stable releases every few years
Hard to shift product focus
63
And then came agile…
64
DevOps
Releasing Software to Production
multiple times a day
6565
DevOops
66
You are not Netflix
Manual interventions are evil, automate (as much as possible)
Create automated pipelines for shipping software
(deployment rings are awesome)
Use infrastructure/build as code
DevOps is a culture and requires a mind shift
67
We live in a world of constant change
Our underlying infrastructure is constantly moving & changing
Cloud vendors are competing to offer unique services
Staying up to date is a lot harder
68
Who knows these services?
Service Bus for Windows Server
Azure BizTalk Services
Azure Hybrid Connection
Azure Alerts
Azure Access Control Service
Azure Container Services
Azure Data Factory v1
Azure RemoteApp
The lifecycle of a service
69
Embrace Change
Private Preview
• Rough version of
product
• Shared under NDA to
limited group
Public Preview
• Available to the masses
General Available
• Covered by SLA
• Supported version
The End
• Deprecation
• Silent Sunsetting
• Reincarnation in 2.0
The end of the road
70
Embrace Change
| Official deprecation
| Officially announced as deprecated
| Migration is required before service shutdown
| Reincarnation
| A new version of the service arises in a new version
| Can be part of service or service in total
| Silent deprecation
| No further development in the product
| Service is still running smoothly
| Does not mean you should stop using it
Azure Access Control Service,
Azure Scheduler
Azure Data Factory (Service)
Azure Functions (Host)
Azure Cloud Services?
Can also be tooling cfr.
Azure DevOps Cloud-
based Loadtesting
71
Choosing an Alternative
72
Let’s use the shiny one, right?!
Maybe.
73
Choosing an Alternative
There is no silver bullet
Use the tool that fits your needs, not perse what you know
Be careful with the latest shiny technology
Decide as a team
Build or buy
74
Questions you should ask
What is the learning curve? Is it worthwhile?
Does it have a vendor lock-in?
Is it operable?
Does it have a future?
75
76
You learn by doing
And sometimes, you regret your choices.
77
Cloud platforms are never finished
Your platform evolves, and so does its needs
Prepare for your migrations
Nothing is written in stone
Use a product mindset
Change is coming, so you’d better be prepared
78
Stay up to date with Azure Deprecation Notic
Dashboard with deprecation notices concerning Azure services,
regions, features, APIs and SDKs
Search for services which you depend on
Get automated reminders (WIP)
@AzureEndOfLife on Twitter
Conclusion
79
80
Conclusion
Technologies have scalability capabilities & trade-offs
Provide user-friendly webhooks & route them via API gateways
Define & roll out a good monitoring strategy
Automate everything, it will save you one day
You build it, you run it
We live in a world of constant change, so be prepared
Questions?
Twitter: @TomKerkhove
GitHub: @TomKerkhove
blog.tomkerkhove.be
codit.eu

More Related Content

What's hot

Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...
Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...
Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...Tom Kerkhove
 
Cncf event driven autoscaling with keda
Cncf   event driven autoscaling with kedaCncf   event driven autoscaling with keda
Cncf event driven autoscaling with kedaJurajHantk
 
AKS Azure Kubernetes Services Workshop Jorge Arteiro
AKS Azure Kubernetes Services Workshop Jorge ArteiroAKS Azure Kubernetes Services Workshop Jorge Arteiro
AKS Azure Kubernetes Services Workshop Jorge ArteiroJorge Arteiro
 
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaMonitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaCodeOps Technologies LLP
 
Migrating SSIS to the cloud
Migrating SSIS to the cloudMigrating SSIS to the cloud
Migrating SSIS to the cloudKoenVerbeeck
 
Event driven workloads on Kubernetes with KEDA
Event driven workloads on Kubernetes with KEDAEvent driven workloads on Kubernetes with KEDA
Event driven workloads on Kubernetes with KEDANilesh Gule
 
Realtà aumentata ed Azure, un binomio imbattibile
Realtà aumentata ed Azure, un binomio imbattibileRealtà aumentata ed Azure, un binomio imbattibile
Realtà aumentata ed Azure, un binomio imbattibileAlessio Iafrate
 
Building cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetesBuilding cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetesNilesh Gule
 
Getting started with Serverless applications on Microsoft Azure
Getting started with Serverless applications on Microsoft AzureGetting started with Serverless applications on Microsoft Azure
Getting started with Serverless applications on Microsoft AzureNilesh Gule
 
Leading Edge of Modern Web Apps on Azure - Menaka - CCDays
Leading Edge of Modern Web Apps on Azure - Menaka - CCDaysLeading Edge of Modern Web Apps on Azure - Menaka - CCDays
Leading Edge of Modern Web Apps on Azure - Menaka - CCDaysCodeOps Technologies LLP
 
Application Insights on Rails Application
Application Insights on Rails ApplicationApplication Insights on Rails Application
Application Insights on Rails Applicationryosuke matsumura
 
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...AWS User Group - Thailand
 
Aws user group #01 lets talk serverless
Aws user group #01   lets talk serverlessAws user group #01   lets talk serverless
Aws user group #01 lets talk serverlessPolarSeven Pty Ltd
 
Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...
Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...
Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...Radu Vunvulea
 
Modern application delivery with Consul
Modern application delivery with ConsulModern application delivery with Consul
Modern application delivery with ConsulMitchell Pronschinske
 
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò RaspaTu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò RaspaKCDItaly
 
Kubernetes Code Components
Kubernetes Code ComponentsKubernetes Code Components
Kubernetes Code ComponentsIdan Shahar
 
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...HostedbyConfluent
 

What's hot (20)

Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...
Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...
Microsoft Ignite 2019 - API management for microservices in a hybrid and mult...
 
Cncf event driven autoscaling with keda
Cncf   event driven autoscaling with kedaCncf   event driven autoscaling with keda
Cncf event driven autoscaling with keda
 
KEDA Overview
KEDA OverviewKEDA Overview
KEDA Overview
 
AKS Azure Kubernetes Services Workshop Jorge Arteiro
AKS Azure Kubernetes Services Workshop Jorge ArteiroAKS Azure Kubernetes Services Workshop Jorge Arteiro
AKS Azure Kubernetes Services Workshop Jorge Arteiro
 
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaMonitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
 
Migrating SSIS to the cloud
Migrating SSIS to the cloudMigrating SSIS to the cloud
Migrating SSIS to the cloud
 
Event driven workloads on Kubernetes with KEDA
Event driven workloads on Kubernetes with KEDAEvent driven workloads on Kubernetes with KEDA
Event driven workloads on Kubernetes with KEDA
 
Realtà aumentata ed Azure, un binomio imbattibile
Realtà aumentata ed Azure, un binomio imbattibileRealtà aumentata ed Azure, un binomio imbattibile
Realtà aumentata ed Azure, un binomio imbattibile
 
Building cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetesBuilding cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetes
 
Getting started with Serverless applications on Microsoft Azure
Getting started with Serverless applications on Microsoft AzureGetting started with Serverless applications on Microsoft Azure
Getting started with Serverless applications on Microsoft Azure
 
Leading Edge of Modern Web Apps on Azure - Menaka - CCDays
Leading Edge of Modern Web Apps on Azure - Menaka - CCDaysLeading Edge of Modern Web Apps on Azure - Menaka - CCDays
Leading Edge of Modern Web Apps on Azure - Menaka - CCDays
 
Application Insights on Rails Application
Application Insights on Rails ApplicationApplication Insights on Rails Application
Application Insights on Rails Application
 
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...
 
Aws user group #01 lets talk serverless
Aws user group #01   lets talk serverlessAws user group #01   lets talk serverless
Aws user group #01 lets talk serverless
 
Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...
Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...
Microservices CICI automation inside Azure using AzureDevops and AKS Radu Vun...
 
Modern application delivery with Consul
Modern application delivery with ConsulModern application delivery with Consul
Modern application delivery with Consul
 
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò RaspaTu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
 
Kubernetes Code Components
Kubernetes Code ComponentsKubernetes Code Components
Kubernetes Code Components
 
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
 
Java & Microservices in Azure
Java & Microservices in AzureJava & Microservices in Azure
Java & Microservices in Azure
 

Similar to Azure PaaS Scaling and Multi-Tenant Design

Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...
Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...
Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...Tom Kerkhove
 
IglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft Azure
IglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft AzureIglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft Azure
IglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft AzureTom Kerkhove
 
Microsoft Azure News - December 2019
Microsoft Azure News - December 2019Microsoft Azure News - December 2019
Microsoft Azure News - December 2019Daniel Toomey
 
Modernizing Integrations
Modernizing IntegrationsModernizing Integrations
Modernizing IntegrationsRichard Seroter
 
Cloud Computing and the Microsoft Developer - A Down-to-Earth Analysis
Cloud Computing and the Microsoft Developer - A Down-to-Earth AnalysisCloud Computing and the Microsoft Developer - A Down-to-Earth Analysis
Cloud Computing and the Microsoft Developer - A Down-to-Earth AnalysisAndrew Brust
 
Architecting multi-cloud ready applications
Architecting multi-cloud ready applicationsArchitecting multi-cloud ready applications
Architecting multi-cloud ready applicationsSwaminathan Vetri
 
Level Up Your Amazon OpenSearch Cluster in a Week
Level Up Your Amazon OpenSearch Cluster in a WeekLevel Up Your Amazon OpenSearch Cluster in a Week
Level Up Your Amazon OpenSearch Cluster in a Weekkreuzwerker GmbH
 
Better Software is Better than Worse Software - Vince Russo
Better Software is  Better than Worse Software - Vince RussoBetter Software is  Better than Worse Software - Vince Russo
Better Software is Better than Worse Software - Vince RussoVMware Tanzu
 
Better Software is Better than Worse Software - DaShaun Carter
Better Software is Better than Worse Software - DaShaun CarterBetter Software is Better than Worse Software - DaShaun Carter
Better Software is Better than Worse Software - DaShaun CarterVMware Tanzu
 
Next Generation Data Integration with Azure Data Factory
Next Generation Data Integration with Azure Data FactoryNext Generation Data Integration with Azure Data Factory
Next Generation Data Integration with Azure Data FactoryTom Kerkhove
 
Next Generation of Data Integration with Azure Data Factory by Tom Kerkhove
Next Generation of Data Integration with Azure Data Factory by Tom KerkhoveNext Generation of Data Integration with Azure Data Factory by Tom Kerkhove
Next Generation of Data Integration with Azure Data Factory by Tom KerkhoveCodit
 
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...Trivadis
 
Azure development
Azure developmentAzure development
Azure developmentwseye
 
Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017Fernando Mejía
 
Seven Criteria for Building an AWS Global Transit Network
Seven Criteria for Building an AWS Global Transit NetworkSeven Criteria for Building an AWS Global Transit Network
Seven Criteria for Building an AWS Global Transit NetworkKhash Nakhostin
 
Gluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A ChallengeGluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A ChallengeAdrian Cockcroft
 
Azure Data Explorer deep dive - review 04.2020
Azure Data Explorer deep dive - review 04.2020Azure Data Explorer deep dive - review 04.2020
Azure Data Explorer deep dive - review 04.2020Riccardo Zamana
 
Better Software is Better than Worse Software - Nate Schutta
Better Software is Better than Worse Software - Nate SchuttaBetter Software is Better than Worse Software - Nate Schutta
Better Software is Better than Worse Software - Nate SchuttaVMware Tanzu
 
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...Amazon Web Services
 

Similar to Azure PaaS Scaling and Multi-Tenant Design (20)

Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...
Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...
Building Bruges 2020 - Adventures of building a multi-tenant PaaS on Microsof...
 
IglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft Azure
IglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft AzureIglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft Azure
IglooConf 2020 - Adventures of building a multi-tenant PaaS on Microsoft Azure
 
Microsoft Azure News - December 2019
Microsoft Azure News - December 2019Microsoft Azure News - December 2019
Microsoft Azure News - December 2019
 
Modernizing Integrations
Modernizing IntegrationsModernizing Integrations
Modernizing Integrations
 
Cloud Computing and the Microsoft Developer - A Down-to-Earth Analysis
Cloud Computing and the Microsoft Developer - A Down-to-Earth AnalysisCloud Computing and the Microsoft Developer - A Down-to-Earth Analysis
Cloud Computing and the Microsoft Developer - A Down-to-Earth Analysis
 
Architecting multi-cloud ready applications
Architecting multi-cloud ready applicationsArchitecting multi-cloud ready applications
Architecting multi-cloud ready applications
 
The Future of Cloud Innovation, featuring Adrian Cockcroft
The Future of Cloud Innovation, featuring Adrian CockcroftThe Future of Cloud Innovation, featuring Adrian Cockcroft
The Future of Cloud Innovation, featuring Adrian Cockcroft
 
Level Up Your Amazon OpenSearch Cluster in a Week
Level Up Your Amazon OpenSearch Cluster in a WeekLevel Up Your Amazon OpenSearch Cluster in a Week
Level Up Your Amazon OpenSearch Cluster in a Week
 
Better Software is Better than Worse Software - Vince Russo
Better Software is  Better than Worse Software - Vince RussoBetter Software is  Better than Worse Software - Vince Russo
Better Software is Better than Worse Software - Vince Russo
 
Better Software is Better than Worse Software - DaShaun Carter
Better Software is Better than Worse Software - DaShaun CarterBetter Software is Better than Worse Software - DaShaun Carter
Better Software is Better than Worse Software - DaShaun Carter
 
Next Generation Data Integration with Azure Data Factory
Next Generation Data Integration with Azure Data FactoryNext Generation Data Integration with Azure Data Factory
Next Generation Data Integration with Azure Data Factory
 
Next Generation of Data Integration with Azure Data Factory by Tom Kerkhove
Next Generation of Data Integration with Azure Data Factory by Tom KerkhoveNext Generation of Data Integration with Azure Data Factory by Tom Kerkhove
Next Generation of Data Integration with Azure Data Factory by Tom Kerkhove
 
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
 
Azure development
Azure developmentAzure development
Azure development
 
Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017
 
Seven Criteria for Building an AWS Global Transit Network
Seven Criteria for Building an AWS Global Transit NetworkSeven Criteria for Building an AWS Global Transit Network
Seven Criteria for Building an AWS Global Transit Network
 
Gluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A ChallengeGluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A Challenge
 
Azure Data Explorer deep dive - review 04.2020
Azure Data Explorer deep dive - review 04.2020Azure Data Explorer deep dive - review 04.2020
Azure Data Explorer deep dive - review 04.2020
 
Better Software is Better than Worse Software - Nate Schutta
Better Software is Better than Worse Software - Nate SchuttaBetter Software is Better than Worse Software - Nate Schutta
Better Software is Better than Worse Software - Nate Schutta
 
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
 

More from Tom Kerkhove

Techorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source productTechorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source productTom Kerkhove
 
Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...
Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...
Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...Tom Kerkhove
 
Azure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Azure Low Lands 2019 - Building secure cloud applications with Azure Key VaultAzure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Azure Low Lands 2019 - Building secure cloud applications with Azure Key VaultTom Kerkhove
 
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...Tom Kerkhove
 
Intelligent Cloud Conference 2018 - Building secure cloud applications with A...
Intelligent Cloud Conference 2018 - Building secure cloud applications with A...Intelligent Cloud Conference 2018 - Building secure cloud applications with A...
Intelligent Cloud Conference 2018 - Building secure cloud applications with A...Tom Kerkhove
 
Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...
Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...
Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...Tom Kerkhove
 
NDC Minnesota - Analyzing StackExchange data with Azure Data Lake
NDC Minnesota - Analyzing StackExchange data with Azure Data LakeNDC Minnesota - Analyzing StackExchange data with Azure Data Lake
NDC Minnesota - Analyzing StackExchange data with Azure Data LakeTom Kerkhove
 
Techdays Finland 2018 - Building secure cloud applications with Azure Key Vault
Techdays Finland 2018 - Building secure cloud applications with Azure Key VaultTechdays Finland 2018 - Building secure cloud applications with Azure Key Vault
Techdays Finland 2018 - Building secure cloud applications with Azure Key VaultTom Kerkhove
 
NDC Sydney - Analyzing StackExchange with Azure Data Lake
NDC Sydney - Analyzing StackExchange with Azure Data LakeNDC Sydney - Analyzing StackExchange with Azure Data Lake
NDC Sydney - Analyzing StackExchange with Azure Data LakeTom Kerkhove
 
TechDays NL 2016 - Building your scalable secure IoT Solution on Azure
TechDays NL 2016 - Building your scalable secure IoT Solution on AzureTechDays NL 2016 - Building your scalable secure IoT Solution on Azure
TechDays NL 2016 - Building your scalable secure IoT Solution on AzureTom Kerkhove
 
Integration Monday - Analysing StackExchange data with Azure Data Lake
Integration Monday - Analysing StackExchange data with Azure Data LakeIntegration Monday - Analysing StackExchange data with Azure Data Lake
Integration Monday - Analysing StackExchange data with Azure Data LakeTom Kerkhove
 
ITProceed 2015 - Securing Sensitive Data with Azure Key Vault
ITProceed 2015 - Securing Sensitive Data with Azure Key VaultITProceed 2015 - Securing Sensitive Data with Azure Key Vault
ITProceed 2015 - Securing Sensitive Data with Azure Key VaultTom Kerkhove
 
Securing sensitive data with Azure Key Vault
Securing sensitive data with Azure Key VaultSecuring sensitive data with Azure Key Vault
Securing sensitive data with Azure Key VaultTom Kerkhove
 
GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!Tom Kerkhove
 
GWAB - Kinecting the Cloud.
GWAB - Kinecting the Cloud.GWAB - Kinecting the Cloud.
GWAB - Kinecting the Cloud.Tom Kerkhove
 
Community Day 2013 - The Power of Kinect
Community Day 2013 - The Power of KinectCommunity Day 2013 - The Power of Kinect
Community Day 2013 - The Power of KinectTom Kerkhove
 
The power of Kinect in 10 minutes
The power of Kinect in 10 minutesThe power of Kinect in 10 minutes
The power of Kinect in 10 minutesTom Kerkhove
 

More from Tom Kerkhove (17)

Techorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source productTechorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source product
 
Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...
Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...
Azure Lowlands 2020 - API management for microservices in a hybrid and multi-...
 
Azure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Azure Low Lands 2019 - Building secure cloud applications with Azure Key VaultAzure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Azure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
 
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
 
Intelligent Cloud Conference 2018 - Building secure cloud applications with A...
Intelligent Cloud Conference 2018 - Building secure cloud applications with A...Intelligent Cloud Conference 2018 - Building secure cloud applications with A...
Intelligent Cloud Conference 2018 - Building secure cloud applications with A...
 
Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...
Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...
Intelligent Cloud Conference 2018 - Next Generation of Data Integration with ...
 
NDC Minnesota - Analyzing StackExchange data with Azure Data Lake
NDC Minnesota - Analyzing StackExchange data with Azure Data LakeNDC Minnesota - Analyzing StackExchange data with Azure Data Lake
NDC Minnesota - Analyzing StackExchange data with Azure Data Lake
 
Techdays Finland 2018 - Building secure cloud applications with Azure Key Vault
Techdays Finland 2018 - Building secure cloud applications with Azure Key VaultTechdays Finland 2018 - Building secure cloud applications with Azure Key Vault
Techdays Finland 2018 - Building secure cloud applications with Azure Key Vault
 
NDC Sydney - Analyzing StackExchange with Azure Data Lake
NDC Sydney - Analyzing StackExchange with Azure Data LakeNDC Sydney - Analyzing StackExchange with Azure Data Lake
NDC Sydney - Analyzing StackExchange with Azure Data Lake
 
TechDays NL 2016 - Building your scalable secure IoT Solution on Azure
TechDays NL 2016 - Building your scalable secure IoT Solution on AzureTechDays NL 2016 - Building your scalable secure IoT Solution on Azure
TechDays NL 2016 - Building your scalable secure IoT Solution on Azure
 
Integration Monday - Analysing StackExchange data with Azure Data Lake
Integration Monday - Analysing StackExchange data with Azure Data LakeIntegration Monday - Analysing StackExchange data with Azure Data Lake
Integration Monday - Analysing StackExchange data with Azure Data Lake
 
ITProceed 2015 - Securing Sensitive Data with Azure Key Vault
ITProceed 2015 - Securing Sensitive Data with Azure Key VaultITProceed 2015 - Securing Sensitive Data with Azure Key Vault
ITProceed 2015 - Securing Sensitive Data with Azure Key Vault
 
Securing sensitive data with Azure Key Vault
Securing sensitive data with Azure Key VaultSecuring sensitive data with Azure Key Vault
Securing sensitive data with Azure Key Vault
 
GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!
 
GWAB - Kinecting the Cloud.
GWAB - Kinecting the Cloud.GWAB - Kinecting the Cloud.
GWAB - Kinecting the Cloud.
 
Community Day 2013 - The Power of Kinect
Community Day 2013 - The Power of KinectCommunity Day 2013 - The Power of Kinect
Community Day 2013 - The Power of Kinect
 
The power of Kinect in 10 minutes
The power of Kinect in 10 minutesThe power of Kinect in 10 minutes
The power of Kinect in 10 minutes
 

Recently uploaded

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 

Recently uploaded (20)

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 

Azure PaaS Scaling and Multi-Tenant Design

  • 1. Tom Kerkhove AzureArchitectatCodit, Microsoft AzureMVP,Creatorof Promitor Adventures of building a multi-tenant PaaS on MicrosoftAzure Twitter: @TomKerkhove GitHub: @TomKerkhove blog.tomkerkhove.be codit.eu
  • 2. Disclaimer You’ll learn about my adventures & findings, not about silver bullets 2
  • 4. Scale up/down June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 4 Scale | Easiest way of scaling is to get a bigger box | The only trade-off is that it means your app will be unavailable for a while | At some point you’ll run out of “bigger boxes”
  • 5. Scale out / in June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 5 Scale | Provide multiple copies of your application based on your workload | No impact on your uptime, but more complex | My preferred way of scaling, but your application needs to be designed for it
  • 6. Choose the right compute infrastructure June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 6 Functions Functions Container Instances Service Service Fabric Mesh Cloud Services App Service Fabric Kubernetes Cluster VM Scale Sets VMs Bare Metal | As control increases, so does complexity | Every service has it’s own characteristics | How you run your application | How you package your application | How you scale your application
  • 7. Designing for scale June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 7 Scale Order Function Order Function Order Function Order Function Order Function Order Function Azure Functions
  • 8. Designing for scale with serverless June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 8 Scale | The good | The service handles scaling for you | The bad | The service handles scaling for you | Does not provide a lot of awareness | The ugly | Dangerous to burn a lot of money
  • 9. June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 9 Source: http://blog.tdwright.co.uk/2018/09/06/beware-runonstartup-in-azure-functions-a-serverless-horror-story/
  • 10. Designing for scale with PaaS June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 10 Scale Instance Orders Role Cloud Services Instance InstanceInstance InstanceInstance InstanceInstance Autoscaler Message Count > 1, Add instance Scale!
  • 11. Designing for scale with PaaS June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 11 Scale | The good | You need to define how it scales | Provides you with scaling awareness | The bad | You need to define how it scales | Hard to determine the perfect scaling rules | The ugly | Be aware of “flapping” (http://bit.ly/monitor-autoscale-best-practices) | Be aware of infinite scaling loops Use an Azure Monitor Autoscale
  • 12. 12 Scale Node 1 Cluster Node 2 Node 3 Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Designing for scale with CPaaS Custom Metric Provider Horizontal Pod Autoscaler(s) Cluster Autoscaler
  • 13. 13 Node 1 Cluster Node 2 Node 3 Pod Pod Pod Pod Pod Pod Pod PodPod Custom Metric Provider Horizontal Pod Autoscaler(s) Virtual Kubelet Azure Container Instances Container Group Pod Container Group Pod Container Group Pod
  • 14. Designing for scale with CPaaS June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 14 Scale | The good | Share resources across different teams | Serverless scaling capabilities are available with Virtual Kubelet & Virtual Nodes | The bad | You are in charge of providing enough resources | With great power, comes great responsibilities | No autoscaling out-of-the-box | Scaling on different levels | Scaling can become complex(er) | The ugly | Takes a lot of effort to ramp up on how to scale | There’s a lot to manage
  • 15. 15 Use the tool that fits your needs Don’t use a service because you know it, evaluate your options Every technology has its trade-offs, learn them Don’t overengineer, “because we’ll need it later” You don’t need hyper scale from day I
  • 16. Create awareness around your autoscaling June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 16 Scale | Avoid burning money, get notified before it’s too late! | Gain insights in your autoscaling rules | Either configured by you or managed by Azure (ie. Azure Functions) | Learn from them and tweak them | Detect autoscaling loops in TEST instead of during live-site issue | Choose the approach that fits your needs | Configure Azure Monitor notifications | Use built-in metrics to visualize and alert on | Provide your own tooling around it
  • 17. Create awareness around your autoscaling June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 17 Scale
  • 18. Tips June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 18 Scale | Resource consolidation pattern does not play nice with autoscaling | Configure maximum instance count for your autoscaling | Provide representable metrics of your remaining work | Azure Monitor Autoscale is a hidden gem in Azure, use it! | Does all the great things an autoscaler should do | Use budget alerts, if feasible
  • 20. 20 Multi-tenancy is all about choices How will you deploy your application? How much isolation does it require between tenants? How much customization will we allow? Do our tenants need access to their data? Will it run in multiple regions? Will one region require multiple deployments? What is our pricing model? Do we need to reflect this in our tenancy? Multi-tenancy is more than data sharding
  • 21. Choosing a tenancy model 21 Tenancy App Stamp A Stamp B Stamp C Stamp D App Tenant A App Tenant B #n…#1 #n…#1BA Full isolation between tenants by deploying everything for every tenant Run a multi-tenant application, but use sharded data layer App deployed in multiple stamps & geographies with sharded data layer
  • 22. Choosing a sharding strategy 22 Tenancy | Spread all your data across multiple smaller databases instead of one big one | Good example of scaling out to handle load | A shard key is used to determine the shard based on the chosen strategy | Choose your strategy wisely and think about your query patterns | Does your customer need access to it? Then you should shard per tenant! | You cannot easily change your strategy later on | More information: http://bit.ly/sharding-pattern June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
  • 23. Locating shards June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 23 Tenancy Shard Manager How do I connect to “Sello”? Order Processor #5#4#3#2#1 #6 #7 #8 Use this connection string Get Secret “Sql-Tenant-Sello”
  • 24. Using shard managers 24 Tenancy | Provide catalog of all shard in the platform | Determine current shard based on shard key & chosen approach | Metadata is stored in a store of choice | Be careful where you store your secrets | Choosing a good shard manager | They should handle secrets in a secure manner | Build your own, ie on top of Azure Key Vault | Use existing tool, ie Azure SQL Database Elastic Tools June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
  • 25. Cost-efficient sharding 25 Tenancy #5#4#3#2#1 #6 #7 #8 Elastic Pool | In a PaaS world you need to pay for every data store instance you have. S1–5% S1–15% S1–5% S1–25% S1–50% S1–7% S1–21% S1–41% Use an Azure SQL Elastic Pools | We pay ~€200 for 160 DTU, but only use ~20 % of it
  • 26. Cost-efficient sharding June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 26 Tenancy #5#4#3#2#1 #6 #7 #8 Elastic Pool | Resource pools have a resource limit for all shards 7DTU 15DTU 8DTU 25DTU 24DTU 7DTU 40DTU 21DTU 93DTU I need more resources!!! We ran out, we only have 200 DTU 25DTU
  • 27. Cost-efficient sharding June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 27 Tenancy #5#4#3#2#1 #6 #7 #8 Elastic Pool | Enforce resource limitation on a per-shard level 7DTU 15DTU 8DTU 25DTU 24DTU 7DTU 40DTU 21DTU 50DTU I need more resources!!! You’ve had enough 37DTU
  • 28. | Provide multiple resource pools to reduce impact of noisy neighbors Cost-efficient sharding June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 28 Tenancy #5#4#3#2#1 #6 #7 #8 Resource Pool A Resource Pool B Resource Pool C 7DTU 15DTU 8DTU 24DTU 7DTU 21DTU 50DTU 37DTU 7DTU 15DTU 8DTU 24DTU 7DTU 37DTU
  • 29. | Reflect your pricing model in your resource pooling Cost-efficient sharding June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 29 Tenancy #5#4#3#2#1 #6 #7 #8 Basic Pool 37DTU 24DTU 5DTU 51DTU 63DTU 77DTU 158DTU 121DTU Standard Pool Premium Pool Provision 250 Standard DTUs , capped at 100Provision 100 Basic DTUs , capped at 50 Provision 500 Premium DTUs, capped at 250
  • 30. Cost-efficient sharding June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 30 | Consider moving all shards in a resource pool | Configure maximum consumption per database | Consider using multiple resource pools to reduce impact of noisy neighbor | Resource pools are a great way to reflect your pricing model | Monitor your pools as you would do for individual databases Tenancy
  • 31. Determining tenants June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 31 | Determining the tenant that is consuming your service via your API gateway | Map the authentication key to the registered application and use its context Tenancy API Gateway API DB POST api/v1/orders X-API-Key ABC POST api/v1/orders X-Tenant Sello Shard Manager What shard is “Sello”? Bill Bracket owns ABC. Part of “Sello” group
  • 32. Determining tenants June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure Tenancy <policies> <inbound> <base/> <set-header name="X-Tenant" exists-action="override"> <value> @(string.Join(";", (from item in context.User.Groups where item.Name.ToLower().Contains("sello -") select item.Name.Replace("Sello - ", String.Empty).Trim()))) </value> </set-header> </inbound> <backend> <base/> </backend> <outbound> <base/> </outbound> <on-error> <base/> </on-error> </policies>
  • 34. 34
  • 35. 35
  • 36. 36 Monitoring is a shared responsibility You only value good monitoring, if you’ve been on the other side of the fence Train your developers to use their own toolchain, use automated tests on live infrastructure
  • 37. 37 Enrich your telemetry Correlated all your telemetry to provide a logical flow, not just traces Provide app-specific contextual information to all telemetry Always return your correlation ids to your consumers Never track personal identifiable information Use different layers of correlation ids Use consistent terminology
  • 38. Correlate your telemetry 38 Monitoring Frontend API Order Processor DB Get Products Create Order Operation ABC Operation DEF Session XYZ June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
  • 39. Correlate your telemetry 39 Monitoring Frontend API Order Processor DB Get Products Create Order Operation ABC Operation DEF Session XYZ Cycle 123 June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure
  • 40. 40 Health checks No direct business value, until it’s too late Report status of your application - Is my application healthy? Is it ready? Use them to verify deployments, measure latency, up time, cold start, … Always provide throttling to block noisy consumers Think about your connection management Go as far as you want
  • 42. Handling alerts June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 42 | Always automate alert creation, they are part of your infrastructure as well | Build a centralized alert handling process | Azure Logic Apps is a good fit for this | Different alerts have different contracts | Use adapters to receive notifications | Map to internal metric contract | Handle via centralized alert handler Monitoring Azure Monitor Classic Alert Adapter Azure Monitor Metrics Alert Adapter Centralized Alert Handler Azure Monitor Common Alert Adapter Time to move it! Azure Classic Alerts will be deprecated by end of August 2019. https://docs.microsoft.com/en-gb/azure/azure-monitor/platform/monitoring-classic-retirement
  • 43. Handling alerts June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 43 | Use the Logic App template for Azure Monitor! Monitoring
  • 44. 44 Write Root Cause Analysis (RCA) Train your team for PROD outages, write RCAs in all environments Did our alerts detect it? Did we have enough telemetry? Provides a structured way of analysing your platform Use as a knowledge transfer to customers & team Define action points and follow-up on them Use them to detect recurring issues There is no such thing as failure, only opportunities to learn
  • 46. Consuming webhooks June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 46 | Generated URLs are evil, provide good DNS names of your services | And this goes for everything, not only webhooks Webhooks API (12345.provider.com) 3rd Party POST https://12345.provider.com/api/webhooks Where did 123456 go?! API (67890.provider.com) Use an API Gateway
  • 47. Consuming webhooks June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 47 | Do not reduce your API security because of your 3rd Party Webhooks API (12345.provider.com) 3rd Party POST http://12345.provider.com/api/webhooks Where is your cert? Use an API Gateway
  • 48. Consuming webhooks June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 48 | Always route webhooks through an API gateway | This decouples the webhook from your internal architecture Webhooks API Gateway API 3rd Party POST http://sello.com/api/v1/webhooks POST https://sello.provider.com/api/v1/webhooks Authentication: Certificate
  • 49. Consuming webhooks June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 49 | Always route webhooks through an API gateway | This decouples the webhook from your internal architecture Webhooks API Gateway Orders API 3rd Party POST http://sello.com/api/v1/webhooks POST https://orders.sello.provider.com/api/v1/webhooks Authentication: Certificate Stock APISome gateways support auth key via query parameters
  • 50. 50 Provide user-friendly webhooks Think as a webhook consumer, not publisher. Provide a way for consumers to provide context during registration Provide a self-service CRUD API to register new subscriptions Pass your correlation id via Request-Id header Provide an invocation history
  • 51. Spaghetti infrastructure 2.0? June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 51 Webhooks Warehouse Service Order Service Stock Service Shipping Service Invoice Service Payment Service
  • 52. Spaghetti infrastructure 2.0? June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 52 | Long-term this can start to become a burden | A lot of bookkeeping to know who to update, how we should authenticate, etc | No central place to route all webhooks through | Your platform needs to be robust | What if subscriber II is not responding? Let’s build a retry mechanism! | Who says subscriber II owns foo.bar.com? | Webhooks should use a “I don’t care, here’s an update” approach Webhooks
  • 53. Event Routers June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 53 Webhooks Warehouse Service Order Service Stock Service Shipping Service Invoice Service Payment Service Event Router
  • 54. Event Routers June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 54 | Event Routers do all the heavy lifting for you | Provide a centralized hub for all things events | Bookkeeping of whom subscribes to what webhooks and events | They will retry sending events when they did not reply | They will perform webhook validations | Publishers can publish events to the event router and takes it from there | Great for for internal usage, but harder to use with 3rd parties | Webhook validation is not always easy to setup Webhooks
  • 55. Tips June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 55 | Webhooks are not durable, if you are not around you will miss it. | If you need to ensure at-least-once delivery, consider using a broker instead | Store audit entry of webhook that are being pushed | Can be important in case of a dispute | Optionally even include the response of the consumer | Do not only allow global registrations, consider serving more granular updates | For example, I want updates of one flight instead of all flights | Provide rate limiting on your webhook endpoints | Don’t let your platform go down by your 3rd party provider | Webhooks are contracts as well | Provide good documentation and version them Webhooks
  • 56. 56 Use Webhooks & Events internally Build fully automated reactive applications / data ingestion pipelines Decouple teams from each other Provide capability to extend
  • 57. June 2019 Adventures of building a (multi-tenant) PaaS on Microsoft Azure 57
  • 58. Azure Event Grid, the heart of Azure 58 Example | Azure Key Vault is working on native Event Grid Events | This provides the capability to fully automate certificate management | The power of these events can leverage closer integration by other services such as Azure App Services, API Management who can consume latest version of cert https://www.codit.eu/blog/azure-event-grid-the-heart-of-azure/
  • 61. 61
  • 62. 62 How we used to ship Stable releases every few years Hard to shift product focus
  • 63. 63 And then came agile…
  • 64. 64 DevOps Releasing Software to Production multiple times a day
  • 66. 66 You are not Netflix Manual interventions are evil, automate (as much as possible) Create automated pipelines for shipping software (deployment rings are awesome) Use infrastructure/build as code DevOps is a culture and requires a mind shift
  • 67. 67 We live in a world of constant change Our underlying infrastructure is constantly moving & changing Cloud vendors are competing to offer unique services Staying up to date is a lot harder
  • 68. 68 Who knows these services? Service Bus for Windows Server Azure BizTalk Services Azure Hybrid Connection Azure Alerts Azure Access Control Service Azure Container Services Azure Data Factory v1 Azure RemoteApp
  • 69. The lifecycle of a service 69 Embrace Change Private Preview • Rough version of product • Shared under NDA to limited group Public Preview • Available to the masses General Available • Covered by SLA • Supported version The End • Deprecation • Silent Sunsetting • Reincarnation in 2.0
  • 70. The end of the road 70 Embrace Change | Official deprecation | Officially announced as deprecated | Migration is required before service shutdown | Reincarnation | A new version of the service arises in a new version | Can be part of service or service in total | Silent deprecation | No further development in the product | Service is still running smoothly | Does not mean you should stop using it Azure Access Control Service, Azure Scheduler Azure Data Factory (Service) Azure Functions (Host) Azure Cloud Services? Can also be tooling cfr. Azure DevOps Cloud- based Loadtesting
  • 72. 72 Let’s use the shiny one, right?! Maybe.
  • 73. 73 Choosing an Alternative There is no silver bullet Use the tool that fits your needs, not perse what you know Be careful with the latest shiny technology Decide as a team Build or buy
  • 74. 74 Questions you should ask What is the learning curve? Is it worthwhile? Does it have a vendor lock-in? Is it operable? Does it have a future?
  • 75. 75
  • 76. 76 You learn by doing And sometimes, you regret your choices.
  • 77. 77 Cloud platforms are never finished Your platform evolves, and so does its needs Prepare for your migrations Nothing is written in stone Use a product mindset Change is coming, so you’d better be prepared
  • 78. 78 Stay up to date with Azure Deprecation Notic Dashboard with deprecation notices concerning Azure services, regions, features, APIs and SDKs Search for services which you depend on Get automated reminders (WIP) @AzureEndOfLife on Twitter
  • 80. 80 Conclusion Technologies have scalability capabilities & trade-offs Provide user-friendly webhooks & route them via API gateways Define & roll out a good monitoring strategy Automate everything, it will save you one day You build it, you run it We live in a world of constant change, so be prepared

Editor's Notes

  1. Get it out early and see if customers want this; if not, kill it
  2. You will need to make big decisions up front, which can turn out to be bad ones – Be prepared!
  3. Ideally you have “session id”, “operation id” & “cycle id” Easier to troubleshoot in case of support cases
  4. Ideally you have “session id”, “operation id” & “cycle id” Easier to troubleshoot in case of support cases
  5. How could this have been prevented? Did we have enough telemetry & alerts? Who was impacted? Do we need to send out communications?
  6. This context will be delivered along with the effective payload Registering is one thing, opting-out or getting an overview is another story This can be important for migration reasons or in case of bugs causing bad subscriptions This helps consumers troubleshoot why events were not delivered Allow them to search on correlation id Would you like to consume your webhooks?
  7. Get it out early and see if customers want this; if not, kill it
  8. “This new technology fixes our problem!” and potentially gives you a lot of new ones Make sure it’s already stable
  9. “This new technology fixes our problem!” and potentially gives you a lot of new ones Make sure it’s already stable
  10. ADF vs SQL Agent