WSO2 Cloud Strategy
Update
Imesh Gunaratne
Senior 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 to
Cloud
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)APIServer
Scheduler
ControllerManager
etcd
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 2
Build Docker
Image
Import Docker Image
to Docker Registry
Application Artifacts
Kubernetes
Membership
Scheme
Product Distribution
Docker Image (DI)
Puppet Module
+ Hiera Files
JDK Deploy Kubernetes
Artifacts
Kubernetes
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

WSO2Con ASIA 2016: WSO2 Cloud Strategy Update

  • 1.
    WSO2 Cloud Strategy Update ImeshGunaratne Senior Technical Lead, WSO2
  • 2.
    Agenda ● Where doesCloud stand today? ● Introduction to WSO2 Cloud ○ WSO2 PaaS Offerings ■ Apache Stratos ■ Kubernetes ○ WSO2 Public Cloud ○ WSO2 Managed Cloud
  • 3.
    Where does Cloudstand today?
  • 4.
    What is CloudComputing? “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
  • 5.
    Gartner Emerging TechnologyHype Cycle 2010 http://www.gartner.com/technology/research/methodologies/hype-cycle.jsp
  • 6.
    Gartner Emerging TechnologyHype Cycle 2015 http://www.gartner.com/technology/research/methodologies/hype-cycle.jsp
  • 7.
    Different Categories ofCloud 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
  • 8.
  • 9.
  • 10.
    WSO2 Cloud Cloud imagesource: Freepik WSO2 Public Cloud WSO2 Managed Cloud WSO2 PaaS Offerings
  • 11.
    WSO2 Cloud Covers SaaS PaaS IaaS Softwareas 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
  • 12.
  • 13.
  • 14.
    Core PaaS FeaturesNeeded 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
  • 15.
  • 16.
    Apache Stratos HighLevel Architecture
  • 17.
    WSO2 Cartridges &Composite Applications for Apache Stratos https://github.com/wso2/private-paas-cartridges
  • 18.
    Apache Stratos VMbased Multi-Region Deployment
  • 19.
    Apache Stratos Dockerbased Multi- Region Deployment
  • 20.
    Apache Stratos CompositeApplication Model
  • 21.
  • 22.
  • 23.
    An Introduction toKubernetes ● 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
  • 24.
    Kubernetes High LevelArchitecture Node1 Node2 Node n Physical Network Master Overlay Network (Flannel/OpenVSwitch/Weave)APIServer Scheduler ControllerManager etcd
  • 25.
  • 26.
  • 27.
    Carbon Cluster Discoveryon 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
  • 28.
    WSO2 Carbon ReferenceArchitecture 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
  • 29.
    WSO2 Carbon ReferenceArchitecture 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
  • 30.
    Deployment Workflow 3 1 2 BuildDocker Image Import Docker Image to Docker Registry Application Artifacts Kubernetes Membership Scheme Product Distribution Docker Image (DI) Puppet Module + Hiera Files JDK Deploy Kubernetes Artifacts Kubernetes Artifacts
  • 31.
  • 32.
    Monitoring Kubernetes Cluster/Node/Pod Health cAdvisorcAdvisor Node1 cAdvisor Heapster Node 2 Node n Grafana InfluxDB
  • 33.
    WSO2 Kubernetes Artifacts ●WSO2 Kubernetes Artifacts Git Repository ○ Dockerfiles ○ Kubernetes Membership Scheme ○ Kubernetes Services ○ Kubernetes Replication Controllers https://github.com/wso2/kubernetes-artifacts
  • 34.
  • 35.
    WSO2 Public Cloud ●Currently provides: ○ API Management (WSO2 API-M) ○ Application development & hosting (WSO2 AppFactory) ● Will be extended with WSO2 Identity, Device & Analytics platforms
  • 36.
  • 37.
  • 38.
    WSO2 Application CloudFeatures ● Version Control (Git) ● Continuous Integration ● Databases ● Lifecycle Management ● Issue Tracking ● Team Management
  • 39.
    WSO2 Application Cloud- Online IDE (Codenvy)
  • 40.
  • 41.
    WSO2 Managed Cloud OnPremise Data Center US East | US West | EU | Asia Pacific | South America Hosted and managed by WSO2 Data center icon: Martial Red
  • 42.
    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
  • 43.