SlideShare a Scribd company logo
Multitenancy in C5
Container based tenant isolation
Imesh Gunaratne
Senior Technical Lead, WSO2
Agenda
● An Introduction to Multitenancy
● Multitenancy Architecture in C4
● A Multitenant Carbon Server Cluster in C4
● Multitenancy Architecture in C5
● Carbon Server Clusters in C5
● Kubernetes Namespaces
● Multitenancy in C5 with Kubernetes
● Accessing Carbon Clusters in Kubernetes
Multitenancy
Multitenancy is a reference to the mode of operation of
software where multiple independent instances of one
or multiple applications operate in a shared environment
- Gartner
http://www.gartner.com/it-glossary/multitenancy
Multitenancy Architecture in C4
https://hostname:port/t/foo.com/services/baz
https://hostname:port/t/bar.com/services/baz
Tenant 1
Users
Execution
Data
Users
Execution
Data
Tenant 2
Carbon Server JVM
https://docs.wso2.com/display/Carbon420/Multitenancy
A Multitenant Carbon Server Cluster in C4
Load Balancer
Carbon Server JVM 1 Carbon Server JVM 2 Carbon Server JVM n
Multitenancy Architecture in C5
https://hostname:port/services/baz https://hostname:port/services/baz
Tenant 1
Users
Execution
Data
Carbon Server JVM 1
Tenant 2
Users
Execution
Data
Carbon Server JVM 2
Carbon Server Clusters in C5
Load Balancer 1 Load Balancer 2
Tenant 1 Carbon Cluster Tenant 2 Carbon Cluster
Kubernetes Namespaces
Namespace A Namespace B Namespace X
Kubernetes Cluster
P1RC P2 Pb
S1 SaHPA
RC
HPA
SLB
P1RC P2 Pd
S1 ScHPA
RC
HPA
SLB
P1RC P2 Pf
S1 SeHPA
RC
HPA
SLB
Multitenancy in C5 with Kubernetes
Tenant 1 Namespace Tenant 2 Namespace
Service - BarService - Foo
RC
HPA
SLB SLB
RC
HPA
Kubernetes Cluster
Accessing Carbon Clusters in Kubernetes
● Using services via nodes
○ https://<node-ip>:<service-node-port>/
● Using ingress/service load balancers (slb)
○ Access via nodes
■ https://<node-ip>:<slb-port>/
○ K8S SDN connected to LAN/WAN
■ https://<slb-ip>:<slb-port>/
● Using kube-api server
○ https://<kubernetes-master>:<api-server-
port>/api/v1/proxy/namespaces/<namespace>/services/<service
-name>/http://kubernetes.io/docs/user-guide/services/
Thank you!

More Related Content

PDF
Deploying WSO2 Middleware on Mesos
PDF
Deploying WSO2 Middleware on Kubernetes
PDF
Deploying WSO2 Middleware on Containers
PDF
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
PDF
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
PPTX
Containers in production with docker, coreos, kubernetes and apache stratos
PDF
Kubernetes in Docker
PDF
Deep Dive into Kubernetes - Part 2
Deploying WSO2 Middleware on Mesos
Deploying WSO2 Middleware on Kubernetes
Deploying WSO2 Middleware on Containers
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
Containers in production with docker, coreos, kubernetes and apache stratos
Kubernetes in Docker
Deep Dive into Kubernetes - Part 2

What's hot (20)

PDF
Deep Dive into Kubernetes - Part 1
PDF
Demystifying the Nuts & Bolts of Kubernetes Architecture
PDF
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
PDF
Top 3 reasons why you should run your Enterprise workloads on GKE
PDF
WSO2 Kubernetes Reference Architecture - Nov 2017
PDF
Platform Orchestration with Kubernetes and Docker
PPTX
Open shift enterprise 3.1 paas on kubernetes
PDF
Kubernetes basics and hands on exercise
PDF
Kubernetes in Docker
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
Introduction of Kubernetes - Trang Nguyen
PPTX
Introduction to kubernetes
PDF
Microservices at scale with docker and kubernetes - AMS JUG 2017
PDF
An overview of the Kubernetes architecture
PDF
Net core, mssql, container und kubernetes
PDF
Kubernetes with docker
PDF
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
PDF
Kubernetes - Starting with 1.2
PDF
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
PDF
Multi-cloud Kubernetes BCDR with Velero
Deep Dive into Kubernetes - Part 1
Demystifying the Nuts & Bolts of Kubernetes Architecture
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
Top 3 reasons why you should run your Enterprise workloads on GKE
WSO2 Kubernetes Reference Architecture - Nov 2017
Platform Orchestration with Kubernetes and Docker
Open shift enterprise 3.1 paas on kubernetes
Kubernetes basics and hands on exercise
Kubernetes in Docker
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Introduction of Kubernetes - Trang Nguyen
Introduction to kubernetes
Microservices at scale with docker and kubernetes - AMS JUG 2017
An overview of the Kubernetes architecture
Net core, mssql, container und kubernetes
Kubernetes with docker
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Kubernetes - Starting with 1.2
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Multi-cloud Kubernetes BCDR with Velero
Ad

Viewers also liked (8)

PDF
Database Multitenancy in Ruby
PDF
WSO2 Cloud and Platform as a Service Strategy
PDF
Planning Your Cloud Strategy
PDF
WSO2Con USA 2015: Carbon 5: A Preview
PPTX
WSO2Con 2011: Introduction to the WSO2 Carbon Platform
PPTX
Multi tenancy for docker
PDF
Building a Global-Scale Multi-Tenant Cloud Platform on AWS and Docker: Lesson...
PDF
Docker for Java Developers
Database Multitenancy in Ruby
WSO2 Cloud and Platform as a Service Strategy
Planning Your Cloud Strategy
WSO2Con USA 2015: Carbon 5: A Preview
WSO2Con 2011: Introduction to the WSO2 Carbon Platform
Multi tenancy for docker
Building a Global-Scale Multi-Tenant Cloud Platform on AWS and Docker: Lesson...
Docker for Java Developers
Ad

Similar to Multitenancy in WSO2 Carbon 5 (C5) (20)

PDF
Scale into Multi-Cloud with Containers
PDF
NFV features in kubernetes
PPTX
Gatekeeper: API gateway
PPTX
Why is Kubernetes considered the next generation application platform
PDF
Federated Kubernetes: As a Platform for Distributed Scientific Computing
PPTX
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
PDF
Kubernetes Cheatsheet
DOCX
Roi Esolutions , Platform Engineering With Kubernetes
PDF
給 RD 的 Kubernetes 初體驗
PDF
OpenShift 4, the smarter Kubernetes platform
PDF
Http Services in Rust on Containers
PDF
Kubernetes at Scale: Going Multi-Cluster with Istio
PDF
CA Performance Manager Agility by using Docker Containers for Network Manag...
PDF
Crossing the river by feeling the stones from legacy to cloud native applica...
PDF
DevOpsDays Houston 2024: Kubernetes at Scale Going Multi-Cluster with Istio
PDF
How we can do Multi-Tenancy on Kubernetes
PDF
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
PDF
Deploy Application on Kubernetes
PPTX
NBU Flex Container Hardware Overview Presentation
PPTX
MongoDB World 2018: Partner Talk - Red Hat: Deploying to Enterprise Kubernetes
Scale into Multi-Cloud with Containers
NFV features in kubernetes
Gatekeeper: API gateway
Why is Kubernetes considered the next generation application platform
Federated Kubernetes: As a Platform for Distributed Scientific Computing
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
Kubernetes Cheatsheet
Roi Esolutions , Platform Engineering With Kubernetes
給 RD 的 Kubernetes 初體驗
OpenShift 4, the smarter Kubernetes platform
Http Services in Rust on Containers
Kubernetes at Scale: Going Multi-Cluster with Istio
CA Performance Manager Agility by using Docker Containers for Network Manag...
Crossing the river by feeling the stones from legacy to cloud native applica...
DevOpsDays Houston 2024: Kubernetes at Scale Going Multi-Cluster with Istio
How we can do Multi-Tenancy on Kubernetes
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Deploy Application on Kubernetes
NBU Flex Container Hardware Overview Presentation
MongoDB World 2018: Partner Talk - Red Hat: Deploying to Enterprise Kubernetes

More from Imesh Gunaratne (18)

PDF
Planning WSO2 Deployments on Pivotal Cloud Foundry
PDF
Planning WSO2 Deployments on DC/OS
PDF
WSO2 Container Strategy
PDF
WSO2 API Manager Reference Architecture for DC/OS
PDF
WSO2 API Manager Reference Architecture for Pivotal Cloud Foundry
PDF
Service Oriented Architecture & Beyond
PDF
WSO2 Cloud Strategy Update
PDF
An Introduction to Go
PDF
Making a Better World with Technology Innovations
PDF
Introduction to WSO2 Private PaaS 4.1.0
PDF
Apache Stratos 4.1.0 Architecture
PDF
An Introduction to Kubernetes
PDF
Evoluation of Linux Container Virtualization
PDF
Moving Your Enterprise to the Cloud
PDF
Apache Stratos 4 Alpha Quick-Start Demonstration
PDF
Load Balancer Component Architecture - Apache Stratos 4.0.0
PDF
Neerogi - A Patient Information Management System (PIMS)
PDF
The Role of Elastic Load Balancer - Apache Stratos
Planning WSO2 Deployments on Pivotal Cloud Foundry
Planning WSO2 Deployments on DC/OS
WSO2 Container Strategy
WSO2 API Manager Reference Architecture for DC/OS
WSO2 API Manager Reference Architecture for Pivotal Cloud Foundry
Service Oriented Architecture & Beyond
WSO2 Cloud Strategy Update
An Introduction to Go
Making a Better World with Technology Innovations
Introduction to WSO2 Private PaaS 4.1.0
Apache Stratos 4.1.0 Architecture
An Introduction to Kubernetes
Evoluation of Linux Container Virtualization
Moving Your Enterprise to the Cloud
Apache Stratos 4 Alpha Quick-Start Demonstration
Load Balancer Component Architecture - Apache Stratos 4.0.0
Neerogi - A Patient Information Management System (PIMS)
The Role of Elastic Load Balancer - Apache Stratos

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation theory and applications.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Empathic Computing: Creating Shared Understanding
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation theory and applications.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Monthly Chronicles - July 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
A Presentation on Artificial Intelligence
Dropbox Q2 2025 Financial Results & Investor Presentation

Multitenancy in WSO2 Carbon 5 (C5)

  • 1. Multitenancy in C5 Container based tenant isolation Imesh Gunaratne Senior Technical Lead, WSO2
  • 2. Agenda ● An Introduction to Multitenancy ● Multitenancy Architecture in C4 ● A Multitenant Carbon Server Cluster in C4 ● Multitenancy Architecture in C5 ● Carbon Server Clusters in C5 ● Kubernetes Namespaces ● Multitenancy in C5 with Kubernetes ● Accessing Carbon Clusters in Kubernetes
  • 3. Multitenancy Multitenancy is a reference to the mode of operation of software where multiple independent instances of one or multiple applications operate in a shared environment - Gartner http://www.gartner.com/it-glossary/multitenancy
  • 4. Multitenancy Architecture in C4 https://hostname:port/t/foo.com/services/baz https://hostname:port/t/bar.com/services/baz Tenant 1 Users Execution Data Users Execution Data Tenant 2 Carbon Server JVM https://docs.wso2.com/display/Carbon420/Multitenancy
  • 5. A Multitenant Carbon Server Cluster in C4 Load Balancer Carbon Server JVM 1 Carbon Server JVM 2 Carbon Server JVM n
  • 6. Multitenancy Architecture in C5 https://hostname:port/services/baz https://hostname:port/services/baz Tenant 1 Users Execution Data Carbon Server JVM 1 Tenant 2 Users Execution Data Carbon Server JVM 2
  • 7. Carbon Server Clusters in C5 Load Balancer 1 Load Balancer 2 Tenant 1 Carbon Cluster Tenant 2 Carbon Cluster
  • 8. Kubernetes Namespaces Namespace A Namespace B Namespace X Kubernetes Cluster P1RC P2 Pb S1 SaHPA RC HPA SLB P1RC P2 Pd S1 ScHPA RC HPA SLB P1RC P2 Pf S1 SeHPA RC HPA SLB
  • 9. Multitenancy in C5 with Kubernetes Tenant 1 Namespace Tenant 2 Namespace Service - BarService - Foo RC HPA SLB SLB RC HPA Kubernetes Cluster
  • 10. Accessing Carbon Clusters in Kubernetes ● Using services via nodes ○ https://<node-ip>:<service-node-port>/ ● Using ingress/service load balancers (slb) ○ Access via nodes ■ https://<node-ip>:<slb-port>/ ○ K8S SDN connected to LAN/WAN ■ https://<slb-ip>:<slb-port>/ ● Using kube-api server ○ https://<kubernetes-master>:<api-server- port>/api/v1/proxy/namespaces/<namespace>/services/<service -name>/http://kubernetes.io/docs/user-guide/services/