SlideShare a Scribd company logo
1 of 24
Download to read offline
Deep Dive into Apache Stratos & 
Private PaaS 
Lakmal Warusawithana 
Director – Cloud Architecture 
WSO2 Inc 
Vise President 
Apache Stratos
Agenda 
๏ Introduction to PaaS 
๏ Introduction to Apache Stratos / WSO2 Private PaaS 
๏ Apache Stratos Architecture 
๏ Discuss few Apache Stratos features 
- Multi-factored auto scaling 
- Scalable and dynamic load balancing 
- Smart policies 
- Multi tenancy 
- Cloud bursting 
- Logging, metering and monitoring 
๏ Next Apache Stratos release 
- Apache Stratos Docker support 
- Apache Stratos Complex application deployment support
Conventional Software
What is the Middleware Platform?
What is Cloud?
Apache Stratos 
๏ Apache Stratos is a highly-extensible Platform-as-a-Service 
(PaaS) framework that helps run Apache Tomcat, PHP, and 
MySQL applications and can be extended to support many 
more environments on all major cloud infrastructures 
๏ Stratos initially develop by WSO2 and last year donated to 
Apache Software Foundation 
๏ After successfully complete the incubating process Stratos 
now graduated as Top Level Project
What is WSO2 Private PaaS? 
๏ The WSO2 Private PaaS is a complete, enterprise-grade solution, 
offering an open Platform as a Service (PaaS) 
๏ At the core of WSO2 Private PaaS 4.0.0, lies Apache Stratos 4.0.0 , 
providing cloud-native capabilities such as multi-tenancy, elastic 
scaling, self-service provisioning, metering, billing and resource 
pooling among several other functionalities 
๏ More significantly, it also adds functionality to host pre-integrated, 
fully multi-tenant WSO2 Carbon middleware products 
as cartridges that deliver a range of cloud PaaS services
Apache Stratos Layered Architecture
Apache Stratos Cartridges
Pre-build WSO2 Cartridges 
Released Cartridges with 4.0.0 version 
๏ WSO2 Enterprise Service Bus (ESB) 4.8.1 
๏ WSO2 Identity Server (IS) 5.0.0 
๏ WSO2 Business Process Server (BPS) 3.2.0 
๏ WSO2 Application Server (AS) 5.2.1 
๏ WSO2 API Manager (AM) 1.7.0 
Future Cartridges 
๏ WSO2 Business Activity Monitor (BAM) 
๏ WSO2 Governance Registry (G-Reg) 
๏ WSO2 Complex Event Processor 
๏ New Docker based Cartridges
Multi-factored Autoscaling 
What is it? 
๏ Scaling algorithm can use multiple factors. such as 
- Load average of the instance 
- Memory consumption of the instance 
- In-flight request count in LB 
๏ Capable of predicting future load 
- Real time analysis of current load status using CEP integration 
- Predict immediate future load based on CEP resulting streams 
- Predicting equation s=ut + ½ at2 
- s=predicted load, u=first derivative of current average load 
t= time interval , a=second derivative of current load
Multi-factored Autoscaling... 
Why should one care? 
๏ Maximise resource utilization 
๏ Easy to do capacity planning 
๏ Dynamic load based resource provisioning 
What are the advantages? 
๏ Make DevOps life easy 
๏ More accurate capacity planning
Scalable and Dynamic Load Balancing 
How Scalable it is? 
๏ In theory infinite 
- horizontal scaling 
- limited by resource (instance capacity) availability 
How Dynamic it is? 
๏ Load Balancers are spawned dynamically 
- LB too is a cartridge 
๏ In case of multi-cloud, multi-region, LB can scale per cloud/region 
๏ Per service cluster LB
Scalable and Dynamic Load Balancing... 
What is unique about Stratos 
๏ Cartridge based LB model 
๏ Can bring any third-party LB 
- HAProxy, nginx, AWS ELB 
- As easy as plugging into LB extension API
Smart Policies 
What are the smart policies? 
๏ Auto scaling 
๏ Deployment 
Auto scaling policy 
๏ Define thresholds values pertaining scale up/down decision 
๏ Auto Scaler refer this policy 
๏ Defined by DevOps 
Deployment policy 
๏ Defined how and where to spawn cartridge instances 
๏ Defined min and max instances in a selected service cluster 
๏ Defined by DevOps based on deployment patterns
Multi-tenancy 
What MT model does it support? 
๏ Container MT 
- virtual Machine, LXC, Docker 
๏ In-container MT 
- within VM/LXC/Docker tenancy 
What is unique? 
๏ Can have high tenant density 
What are the advantage of this model? 
๏ Optimizing resource utilization 
- by sharing resource such as CPU, memory across 
tenants 
- low footprint, based on utilization/usage of the 
tenants app
Cloud Bursting 
What is it? 
๏ Expanding/provisioning application into another cloud to handle 
peak load. 
Why Should one care? 
๏ Resource peak time can be off-loaded to third party 
clouds/resources 
What is unique about it? 
๏ Can off-load to any cloud 
- Private, Public and Hybrid 
๏ Easy to managed with the model of LB per busting cloud
Cloud Bursting... 
What are the advantages? 
๏ Make DevOps life easy 
๏ Low TCO, and higher utilization existing dedicated resources
Logging, Metering and Monitoring 
What details are? 
๏ Instance up/down time 
๏ Each and every instances health status 
- application health, load average, memory 
consumption 
๏ Application logs 
Why should one care? 
๏ Centralize view for all logging, metering and monitoring 
What are the advantages? 
๏ DevOps life easy 
- centralize log viewer 
- centralize dashboard 
๏ Easy to throttling
Apache Stratos with Docker 
๏ Why just not with only Docker? 
๏ Apache Stratos next release is mainly into 
- Docker based cartridge support 
- integration with CoreOS 
- integration with Kubernetes 
- integration with flannel 
- integration with discovery service and build in docker 
registry support
Two level of scalability
Complex Application Deployment Support 
๏ Json based complex application definitions 
๏ Cartridge grouping 
๏ Manage dependencies 
- startup order 
- termination order 
- maintaining ratio 
๏ Manage dependency metadata 
๏ Group wise scaling
Samples of definitions
Thank You

More Related Content

What's hot

Demistifying open stack storage
Demistifying open stack storageDemistifying open stack storage
Demistifying open stack storage
openstackindia
 
Stratoscale Latest and Greatest
Stratoscale Latest and GreatestStratoscale Latest and Greatest
Stratoscale Latest and Greatest
Zach Lanksbury
 
Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos
WSO2
 

What's hot (20)

Kubernetes User Group: 維運 Kubernetes 的兩三事
Kubernetes User Group: 維運 Kubernetes 的兩三事Kubernetes User Group: 維運 Kubernetes 的兩三事
Kubernetes User Group: 維運 Kubernetes 的兩三事
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud Foundry
 
Cloudstack 社区及商业
Cloudstack 社区及商业Cloudstack 社区及商业
Cloudstack 社区及商业
 
Developing the Stratoscale System at Scale - Muli Ben-Yehuda, Stratoscale - D...
Developing the Stratoscale System at Scale - Muli Ben-Yehuda, Stratoscale - D...Developing the Stratoscale System at Scale - Muli Ben-Yehuda, Stratoscale - D...
Developing the Stratoscale System at Scale - Muli Ben-Yehuda, Stratoscale - D...
 
Rapidly Deploy An OpenStack Cloud with Mirantis + Solidfire
Rapidly Deploy An OpenStack Cloud with Mirantis + Solidfire Rapidly Deploy An OpenStack Cloud with Mirantis + Solidfire
Rapidly Deploy An OpenStack Cloud with Mirantis + Solidfire
 
Demistifying open stack storage
Demistifying open stack storageDemistifying open stack storage
Demistifying open stack storage
 
Stratoscale Latest and Greatest
Stratoscale Latest and GreatestStratoscale Latest and Greatest
Stratoscale Latest and Greatest
 
Muli Ben-Yehuda, Stratoscale - The Road to a Hyper-Converged OpenStack, OpenS...
Muli Ben-Yehuda, Stratoscale - The Road to a Hyper-Converged OpenStack, OpenS...Muli Ben-Yehuda, Stratoscale - The Road to a Hyper-Converged OpenStack, OpenS...
Muli Ben-Yehuda, Stratoscale - The Road to a Hyper-Converged OpenStack, OpenS...
 
Intro to CloudStack
Intro to CloudStackIntro to CloudStack
Intro to CloudStack
 
OpenStack What's New in Essex
OpenStack What's New in Essex OpenStack What's New in Essex
OpenStack What's New in Essex
 
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
 
Reliable, Scalable Kubernetes on AWS
Reliable, Scalable Kubernetes on AWSReliable, Scalable Kubernetes on AWS
Reliable, Scalable Kubernetes on AWS
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
Briefing: Containers
Briefing: ContainersBriefing: Containers
Briefing: Containers
 
From metal to service 100% automation with Apache CloudStack and Ansible - ...
From metal to service 100% automation with Apache CloudStack and Ansible -   ...From metal to service 100% automation with Apache CloudStack and Ansible -   ...
From metal to service 100% automation with Apache CloudStack and Ansible - ...
 
Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos
 
Containers and CloudStack
Containers and CloudStackContainers and CloudStack
Containers and CloudStack
 
Managing Ceph operational complexity with Juju
Managing Ceph operational complexity with JujuManaging Ceph operational complexity with Juju
Managing Ceph operational complexity with Juju
 
Containerized Storage for Containers: Why, What and How OpenEBS Works
Containerized Storage for Containers:  Why, What and How OpenEBS WorksContainerized Storage for Containers:  Why, What and How OpenEBS Works
Containerized Storage for Containers: Why, What and How OpenEBS Works
 
WSO2Con USA 2015: Carbon 5: A Preview
WSO2Con USA 2015: Carbon 5: A PreviewWSO2Con USA 2015: Carbon 5: A Preview
WSO2Con USA 2015: Carbon 5: A Preview
 

Viewers also liked

Apache stratos roadmap and strategy
Apache stratos roadmap and strategyApache stratos roadmap and strategy
Apache stratos roadmap and strategy
Lakmal Warusawithana
 
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
Lakmal Warusawithana
 
Deploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
Deploy in scale with Docker, CoreOS, Kubernetes and Apache StratosDeploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
Deploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
Lakmal Warusawithana
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
Lakmal Warusawithana
 
An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014
Lakmal Warusawithana
 
ApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaSApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaS
Lakmal Warusawithana
 
Introducing apache stratos (incubating) & wso2 paa s foundation
Introducing apache stratos (incubating) & wso2 paa s foundationIntroducing apache stratos (incubating) & wso2 paa s foundation
Introducing apache stratos (incubating) & wso2 paa s foundation
Lakmal Warusawithana
 
Deploying and extending apache stratos (incubating) an open paa s
Deploying and extending apache stratos (incubating) an open paa sDeploying and extending apache stratos (incubating) an open paa s
Deploying and extending apache stratos (incubating) an open paa s
Lakmal Warusawithana
 
Apache Stratos (Incubating) Cloud Barcamp SFO 2013
Apache Stratos (Incubating)  Cloud Barcamp SFO 2013Apache Stratos (Incubating)  Cloud Barcamp SFO 2013
Apache Stratos (Incubating) Cloud Barcamp SFO 2013
Lakmal Warusawithana
 
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache StratosContainers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Lakmal Warusawithana
 

Viewers also liked (20)

Apache stratos roadmap and strategy
Apache stratos roadmap and strategyApache stratos roadmap and strategy
Apache stratos roadmap and strategy
 
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
 
Deploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
Deploy in scale with Docker, CoreOS, Kubernetes and Apache StratosDeploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
Deploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
 
An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014
 
ApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaSApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaS
 
Introducing apache stratos (incubating) & wso2 paa s foundation
Introducing apache stratos (incubating) & wso2 paa s foundationIntroducing apache stratos (incubating) & wso2 paa s foundation
Introducing apache stratos (incubating) & wso2 paa s foundation
 
Deploying and extending apache stratos (incubating) an open paa s
Deploying and extending apache stratos (incubating) an open paa sDeploying and extending apache stratos (incubating) an open paa s
Deploying and extending apache stratos (incubating) an open paa s
 
Building a Paa s with CloudStack and Apache Stratos
Building a Paa s with CloudStack and Apache StratosBuilding a Paa s with CloudStack and Apache Stratos
Building a Paa s with CloudStack and Apache Stratos
 
Apache Stratos (Incubating) Cloud Barcamp SFO 2013
Apache Stratos (Incubating)  Cloud Barcamp SFO 2013Apache Stratos (Incubating)  Cloud Barcamp SFO 2013
Apache Stratos (Incubating) Cloud Barcamp SFO 2013
 
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
WSO2 Virtual Hackathon Big Data in the Cloud Case StudyWSO2 Virtual Hackathon Big Data in the Cloud Case Study
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
 
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
 
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache StratosContainers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Deploying NGINX Plus with Ansible
Deploying NGINX Plus with AnsibleDeploying NGINX Plus with Ansible
Deploying NGINX Plus with Ansible
 
How to exploit heartbleed vulnerability demonstration
How to exploit heartbleed vulnerability demonstrationHow to exploit heartbleed vulnerability demonstration
How to exploit heartbleed vulnerability demonstration
 
Hadoop and OpenStack - Hadoop Summit San Jose 2014
Hadoop and OpenStack - Hadoop Summit San Jose 2014Hadoop and OpenStack - Hadoop Summit San Jose 2014
Hadoop and OpenStack - Hadoop Summit San Jose 2014
 
Automating Monitoring with Puppet
Automating Monitoring with PuppetAutomating Monitoring with Puppet
Automating Monitoring with Puppet
 
How to configure Nagios in Fedora ?
How to configure Nagios in Fedora ?How to configure Nagios in Fedora ?
How to configure Nagios in Fedora ?
 
CASE STUDY ON PKI & BIOMETRIC BASED APPLICATION
CASE STUDY ON PKI & BIOMETRIC BASED APPLICATIONCASE STUDY ON PKI & BIOMETRIC BASED APPLICATION
CASE STUDY ON PKI & BIOMETRIC BASED APPLICATION
 

Similar to Wso2 con 2014-us-talk-deep dive into apache stratos & private paas

Building a Cloud Native Platform with WSO2 Private PaaS
Building a Cloud Native Platform with WSO2 Private PaaSBuilding a Cloud Native Platform with WSO2 Private PaaS
Building a Cloud Native Platform with WSO2 Private PaaS
WSO2
 
Stratos Grouping
Stratos GroupingStratos Grouping
Stratos Grouping
WSO2
 
Building an Enterprise Cloud with WSO2 Private PaaS
Building an Enterprise Cloud with WSO2 Private PaaSBuilding an Enterprise Cloud with WSO2 Private PaaS
Building an Enterprise Cloud with WSO2 Private PaaS
WSO2
 
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaSPrivate PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Imesh Gunaratne
 
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaSWSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2
 
Advanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa sAdvanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa s
WSO2
 
Mongo DB on Apache Stratos
Mongo DB on Apache StratosMongo DB on Apache Stratos
Mongo DB on Apache Stratos
WSO2
 

Similar to Wso2 con 2014-us-talk-deep dive into apache stratos & private paas (20)

Building a Cloud Native Platform with WSO2 Private PaaS
Building a Cloud Native Platform with WSO2 Private PaaSBuilding a Cloud Native Platform with WSO2 Private PaaS
Building a Cloud Native Platform with WSO2 Private PaaS
 
PaaS: An Introduction
PaaS: An IntroductionPaaS: An Introduction
PaaS: An Introduction
 
Containers in production with docker, coreos, kubernetes and apache stratos
Containers in production with docker, coreos, kubernetes and apache stratosContainers in production with docker, coreos, kubernetes and apache stratos
Containers in production with docker, coreos, kubernetes and apache stratos
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
 
QCon New York 2014 - Apache Stratos
QCon New York 2014  - Apache StratosQCon New York 2014  - Apache Stratos
QCon New York 2014 - Apache Stratos
 
Apache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxApache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and Equinox
 
Apache Stratos (Incubating) is the Platform as a Service (PaaS) project from ...
Apache Stratos (Incubating) is the Platform as a Service (PaaS) project from ...Apache Stratos (Incubating) is the Platform as a Service (PaaS) project from ...
Apache Stratos (Incubating) is the Platform as a Service (PaaS) project from ...
 
Stratos Grouping
Stratos GroupingStratos Grouping
Stratos Grouping
 
Building an Enterprise Cloud with WSO2 Private PaaS
Building an Enterprise Cloud with WSO2 Private PaaSBuilding an Enterprise Cloud with WSO2 Private PaaS
Building an Enterprise Cloud with WSO2 Private PaaS
 
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaSPrivate PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
 
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaSWSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
 
OCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platform
OCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platformOCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platform
OCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platform
 
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
 
OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...
OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...
OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...
 
Advanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa sAdvanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa s
 
Openstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformOpenstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platform
 
Understanding Platform as a Service
Understanding Platform as a ServiceUnderstanding Platform as a Service
Understanding Platform as a Service
 
Mongo DB on Apache Stratos
Mongo DB on Apache StratosMongo DB on Apache Stratos
Mongo DB on Apache Stratos
 
Deploy at scale with CoreOS Kubernetes and Apache Stratos
Deploy at scale with CoreOS Kubernetes and Apache StratosDeploy at scale with CoreOS Kubernetes and Apache Stratos
Deploy at scale with CoreOS Kubernetes and Apache Stratos
 
Enabling Microservices Frameworks to Solve Business Problems
Enabling Microservices Frameworks to Solve  Business ProblemsEnabling Microservices Frameworks to Solve  Business Problems
Enabling Microservices Frameworks to Solve Business Problems
 

More from Lakmal Warusawithana

Apache stratos roadmap and strategy wso2 coneu-2014
Apache stratos roadmap and strategy   wso2 coneu-2014Apache stratos roadmap and strategy   wso2 coneu-2014
Apache stratos roadmap and strategy wso2 coneu-2014
Lakmal Warusawithana
 
Overview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architectureOverview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architecture
Lakmal Warusawithana
 

More from Lakmal Warusawithana (12)

[Lakmal] Automate Microservice to API
[Lakmal] Automate Microservice to API[Lakmal] Automate Microservice to API
[Lakmal] Automate Microservice to API
 
Api Management with Service Mesh
Api Management with Service MeshApi Management with Service Mesh
Api Management with Service Mesh
 
Microservices, Containers, and Beyond
Microservices, Containers, and BeyondMicroservices, Containers, and Beyond
Microservices, Containers, and Beyond
 
Container Native Architecture
Container Native ArchitectureContainer Native Architecture
Container Native Architecture
 
Future of Cloud Computing with Containers
Future of Cloud Computing with ContainersFuture of Cloud Computing with Containers
Future of Cloud Computing with Containers
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
 
DevOps & cloud : Lessons & Stories
DevOps & cloud : Lessons & StoriesDevOps & cloud : Lessons & Stories
DevOps & cloud : Lessons & Stories
 
Unleashing k8 s to reduce complexities of an entire middleware platform
Unleashing k8 s to reduce complexities of an entire middleware platformUnleashing k8 s to reduce complexities of an entire middleware platform
Unleashing k8 s to reduce complexities of an entire middleware platform
 
How to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackHow to deploy your own private cloud with openstack
How to deploy your own private cloud with openstack
 
Containerizing the cloud with docker
Containerizing the cloud with dockerContainerizing the cloud with docker
Containerizing the cloud with docker
 
Apache stratos roadmap and strategy wso2 coneu-2014
Apache stratos roadmap and strategy   wso2 coneu-2014Apache stratos roadmap and strategy   wso2 coneu-2014
Apache stratos roadmap and strategy wso2 coneu-2014
 
Overview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architectureOverview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architecture
 

Recently uploaded

%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Recently uploaded (20)

%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 

Wso2 con 2014-us-talk-deep dive into apache stratos & private paas

  • 1. Deep Dive into Apache Stratos & Private PaaS Lakmal Warusawithana Director – Cloud Architecture WSO2 Inc Vise President Apache Stratos
  • 2. Agenda ๏ Introduction to PaaS ๏ Introduction to Apache Stratos / WSO2 Private PaaS ๏ Apache Stratos Architecture ๏ Discuss few Apache Stratos features - Multi-factored auto scaling - Scalable and dynamic load balancing - Smart policies - Multi tenancy - Cloud bursting - Logging, metering and monitoring ๏ Next Apache Stratos release - Apache Stratos Docker support - Apache Stratos Complex application deployment support
  • 4. What is the Middleware Platform?
  • 6. Apache Stratos ๏ Apache Stratos is a highly-extensible Platform-as-a-Service (PaaS) framework that helps run Apache Tomcat, PHP, and MySQL applications and can be extended to support many more environments on all major cloud infrastructures ๏ Stratos initially develop by WSO2 and last year donated to Apache Software Foundation ๏ After successfully complete the incubating process Stratos now graduated as Top Level Project
  • 7. What is WSO2 Private PaaS? ๏ The WSO2 Private PaaS is a complete, enterprise-grade solution, offering an open Platform as a Service (PaaS) ๏ At the core of WSO2 Private PaaS 4.0.0, lies Apache Stratos 4.0.0 , providing cloud-native capabilities such as multi-tenancy, elastic scaling, self-service provisioning, metering, billing and resource pooling among several other functionalities ๏ More significantly, it also adds functionality to host pre-integrated, fully multi-tenant WSO2 Carbon middleware products as cartridges that deliver a range of cloud PaaS services
  • 8. Apache Stratos Layered Architecture
  • 10. Pre-build WSO2 Cartridges Released Cartridges with 4.0.0 version ๏ WSO2 Enterprise Service Bus (ESB) 4.8.1 ๏ WSO2 Identity Server (IS) 5.0.0 ๏ WSO2 Business Process Server (BPS) 3.2.0 ๏ WSO2 Application Server (AS) 5.2.1 ๏ WSO2 API Manager (AM) 1.7.0 Future Cartridges ๏ WSO2 Business Activity Monitor (BAM) ๏ WSO2 Governance Registry (G-Reg) ๏ WSO2 Complex Event Processor ๏ New Docker based Cartridges
  • 11. Multi-factored Autoscaling What is it? ๏ Scaling algorithm can use multiple factors. such as - Load average of the instance - Memory consumption of the instance - In-flight request count in LB ๏ Capable of predicting future load - Real time analysis of current load status using CEP integration - Predict immediate future load based on CEP resulting streams - Predicting equation s=ut + ½ at2 - s=predicted load, u=first derivative of current average load t= time interval , a=second derivative of current load
  • 12. Multi-factored Autoscaling... Why should one care? ๏ Maximise resource utilization ๏ Easy to do capacity planning ๏ Dynamic load based resource provisioning What are the advantages? ๏ Make DevOps life easy ๏ More accurate capacity planning
  • 13. Scalable and Dynamic Load Balancing How Scalable it is? ๏ In theory infinite - horizontal scaling - limited by resource (instance capacity) availability How Dynamic it is? ๏ Load Balancers are spawned dynamically - LB too is a cartridge ๏ In case of multi-cloud, multi-region, LB can scale per cloud/region ๏ Per service cluster LB
  • 14. Scalable and Dynamic Load Balancing... What is unique about Stratos ๏ Cartridge based LB model ๏ Can bring any third-party LB - HAProxy, nginx, AWS ELB - As easy as plugging into LB extension API
  • 15. Smart Policies What are the smart policies? ๏ Auto scaling ๏ Deployment Auto scaling policy ๏ Define thresholds values pertaining scale up/down decision ๏ Auto Scaler refer this policy ๏ Defined by DevOps Deployment policy ๏ Defined how and where to spawn cartridge instances ๏ Defined min and max instances in a selected service cluster ๏ Defined by DevOps based on deployment patterns
  • 16. Multi-tenancy What MT model does it support? ๏ Container MT - virtual Machine, LXC, Docker ๏ In-container MT - within VM/LXC/Docker tenancy What is unique? ๏ Can have high tenant density What are the advantage of this model? ๏ Optimizing resource utilization - by sharing resource such as CPU, memory across tenants - low footprint, based on utilization/usage of the tenants app
  • 17. Cloud Bursting What is it? ๏ Expanding/provisioning application into another cloud to handle peak load. Why Should one care? ๏ Resource peak time can be off-loaded to third party clouds/resources What is unique about it? ๏ Can off-load to any cloud - Private, Public and Hybrid ๏ Easy to managed with the model of LB per busting cloud
  • 18. Cloud Bursting... What are the advantages? ๏ Make DevOps life easy ๏ Low TCO, and higher utilization existing dedicated resources
  • 19. Logging, Metering and Monitoring What details are? ๏ Instance up/down time ๏ Each and every instances health status - application health, load average, memory consumption ๏ Application logs Why should one care? ๏ Centralize view for all logging, metering and monitoring What are the advantages? ๏ DevOps life easy - centralize log viewer - centralize dashboard ๏ Easy to throttling
  • 20. Apache Stratos with Docker ๏ Why just not with only Docker? ๏ Apache Stratos next release is mainly into - Docker based cartridge support - integration with CoreOS - integration with Kubernetes - integration with flannel - integration with discovery service and build in docker registry support
  • 21. Two level of scalability
  • 22. Complex Application Deployment Support ๏ Json based complex application definitions ๏ Cartridge grouping ๏ Manage dependencies - startup order - termination order - maintaining ratio ๏ Manage dependency metadata ๏ Group wise scaling