Download - WSO2 Cloud Strategy Update
WSO2 Cloud Strategy Update
Imesh GunaratneSenior Technical Lead, WSO2
Agenda
● Where does Cloud stand today?● Introduction to WSO2 Cloud
○ WSO2 PaaS Offerings■ Apache Stratos■ Kubernetes
○ WSO2 Public Cloud○ WSO2 Managed Cloud
Where does Cloud stand today?
What is Cloud Computing?
“Cloud is a style of computing where scalable and elastic IT-related capabilities are provided as a service using Internet technologies.” - Gartner
Cloud image source: Freepik
Gartner Emerging Technology Hype Cycle 2010
http://www.gartner.com/technology/research/methodologies/hype-cycle.jsp
Gartner Emerging Technology Hype Cycle 2015
http://www.gartner.com/technology/research/methodologies/hype-cycle.jsp
Different Categories of Cloud
SaaS
PaaS
IaaS
Software as a Service
Platform as a Service
Infrastructure as a Service
Services Based
Hybrid
Public
Private
A mix of private and public clouds
A shared public cloud
Location Based
A private dedicated cloud
Self Hosted
Self hosted & managed
Third party hosted
Third party hosted & managed
Deployment Based
Cloud image source: Freepik
An Introduction toCloud
WSO2 Middleware Platform
WSO2 Cloud
Cloud image source: Freepik
WSO2 Public Cloud WSO2 Managed Cloud
WSO2 PaaS Offerings
WSO2 Cloud Covers
SaaS
PaaS
IaaS
Software as a Service
Platform as a Service
Infrastructure as a Service
Services Based
Hybrid
Public
Private
A mix of private and public clouds
A shared public cloud
Location Based
A private dedicated cloud
Self Hosted
Self hosted & managed
Third party hosted
Third party hosted & managed
Deployment Based
Cloud image source: Freepik
PaaS Offerings
WSO2 PaaS Offerings
Core PaaS Features Needed for a Production Deployment● Auto healing● Autoscaling● Automatic cluster discovery● Dynamic load balancing● VM/Container support● Multi-tenancy● Configuration orchestration● Artifact distribution● Multi-region/cloud deployments
● Centralized logging● Monitoring● Metering
Apache Stratos
Apache Stratos High Level Architecture
WSO2 Cartridges & Composite Applications for Apache Stratos
https://github.com/wso2/private-paas-cartridges
Apache Stratos VM based Multi-Region Deployment
Apache Stratos Docker based Multi-Region Deployment
Apache Stratos Composite Application Model
Apache Stratos Topology View
Kubernetes
An Introduction to Kubernetes
● An open source container cluster management system● Started by Google with decade and half experience on
running containers at scale (Borg)● Written in Go● Can be deployed on any Infrastructure/IaaS● Over 600 contributors
http://kubernetes.io/v1.0/docs/whatisk8s.html
Kubernetes High Level Architecture
Node1 Node2 Node n
Physical Network
Master
Overlay Network (Flannel/OpenVSwitch/Weave)A
PI S
erve
rSc
hedu
ler
Con
trol
ler M
anag
eret
cd
Kubernetes Component Architecture
WSO2 Docker Images
Carbon Cluster Discovery on Kubernetes
Pod 1 Pod 2 Pod n
Service
Server 1 Server 2 Server n
Pod 1
Service
Server 1
Pod 1 Pod 2
Service
Server 1 Server 2
Hazelcast member initialization
Hazelcast member initialization
Hazelcast member initialization
1 2 n
WSO2 Carbon Reference Architecture 1
Pod 1 Pod 2
Manager Cluster Services
Pod 3 Pod 4 Pod n
Worker Cluster Services
Manager Replication Controller
Worker Replication Controller
Client
Gov Reg
Conf Reg
User Store
WSO2 Carbon Reference Architecture 2
Pod 1
Gateway Mgr Services
Pod 2 Pod 3
Gateway Worker Services
Client
Pod 4 Pod 5
Key Manager Services
Pod 6 Pod 7
Store Services
Gateway Mgr RC
Gateway Worker RC
Key Manager RC
Store RCGov Reg
Conf Reg
User Store
API-M DB
A volume mount for synchronizing API artifacts
Pod 8 Pod 9
Publisher Services
Publisher RC
Deployment Workflow
3
1 2Build Docker
ImageImport Docker Image
to Docker Registry
Application Artifacts
Kubernetes Membership
Scheme
Product Distribution
Docker Image (DI)
Puppet Module + Hiera FilesJDK Deploy Kubernetes
ArtifactsKubernetes
Artifacts
Monitoring Kubernetes Cluster Health
Monitoring Kubernetes Cluster/Node/Pod Health
cAdvisorcAdvisor
Node 1
cAdvisor
Heapster
Node 2 Node n
Grafana
InfluxDB
WSO2 Kubernetes Artifacts
● WSO2 Kubernetes Artifacts Git Repository○ Dockerfiles○ Kubernetes Membership Scheme○ Kubernetes Services○ Kubernetes Replication Controllers
https://github.com/wso2/kubernetes-artifacts
Public Cloud
WSO2 Public Cloud
● Currently provides:○ API Management (WSO2 API-M)○ Application development & hosting (WSO2 AppFactory)
● Will be extended with WSO2 Identity, Device & Analytics platforms
WSO2 API Cloud
WSO2 Application Cloud
WSO2 Application Cloud Features
● Version Control (Git)● Continuous Integration● Databases● Lifecycle Management● Issue Tracking● Team Management
WSO2 Application Cloud - Online IDE (Codenvy)
Managed Cloud
WSO2 Managed Cloud
On Premise Data Center
US East | US West | EU | Asia Pacific | South America
Hosted and managed by WSO2
Data center icon: Martial Red
WSO2 Managed Cloud
● Any combination of WSO2 products● Run in any region of choice on AWS● Dedicated virtual machines● WSO2 engineers host & maintain the environment● Virtual private networking● Connectivity with on-premise datacenters
Thank You