SlideShare a Scribd company logo
1 of 25
Download to read offline
Apache Stratos Tutorial
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture
WSO2 Inc
Amila Maha Arachchi
Senior Technical Lead
WSO2 Inc
Conventional Software
What is the Middleware Platform
What is Platform as a Service
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
Why is Apache Stratos so Important
๏ True community ecosystem
๏ Open extensible architecture
๏ True flexibility for customer services
๏ Intelligent capacity on demand
๏ Multi-factored auto scaling
๏ Scalable and dynamic load balancing
๏ Multi-tenancy
๏ Multi cloud and cloud bursting
๏ Logging, Metering and Monitoring
๏ Multi provider echo system
๏ Efficiency and security
๏ Controlling IaaS resources
True Community Ecosystem
๏ Apache Stratos is the only open community controlled open-source PaaS
offering
๏ The Apache community is based on participation and meritocracy instead
of financial sponsorship
๏ In the Apache community meritocratic process, known as "The Apache
Way," more than 400 individual members and 3,500 committers
successfully collaborate to develop freely-available, enterprise-grade
software, benefiting millions of users worldwide
๏ The Apache Software Foundation was established in 1999; the all-
volunteer Foundation oversees more than 170 leading open source
projects
Apache Stratos Layered Architecture
Apache Stratos L1 Architecture
Apache Stratos Cartridges
Open Extensible Architecture
Why is this architecture so important?
๏ Cartridge model enable bringing in even legacy apps into cloud
๏ Unified communication across components in the PaaS using message
broker
๏ Centralized monitoring and metering with unified logging framework
- ability to plug in BAM
๏ Ability to plugin any IaaS due to the use of jclouds API
๏ Ability to plugin any third party load balancer using message broker
model
๏ Ability to plugin any third party health checking/monitoring framework
True Flexibility for Customer Services
๏ In most cases, you have to make-do with what’s available and work your
solution around it
๏ With the Apache Stratos cartridge model, you can create a custom
service without having to deal with any limitations or boundaries.
- Cartridge can be fully configured (installed all
software, configuration, etc.) or
- zero configured (enable cartridge user to install
and configure what they want) or
- something in-between
๏ This will allow you to customize your PaaS to be in sync with your current
business workflows
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
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
Controlling IaaS Resources
What is a Partition?
๏ Logically group IaaS resource locations
๏ Partitions are important to make application high availability
๏ Cartridge instances are spawned inside these partitions
๏ Partitions are defined by DevOps
What is a network partition?
๏ Logical groups multiple partitions, that are in the same network
๏ Stratos will spawn Load Balancers per network partition
๏ Since LB instances and cartridge instances reside in same network, they
can communicate using private IP addresses
๏ Used in deployment policies
Controlling IaaS Resources...
What are the advantages?
๏ Can controll
- per cloud, per region, per zone, ...etc
๏ Can achieve high availability, disaster recovery
๏ Help for cloud SLA
๏ Control the resource utilization
๏ Help with geo based deployments
- help comply with geo rules/regulations
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
๏ No need dedicated resource allocation for tenants
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 - Demo
What we will be doing
๏ Setup Stratos base components
๏ Create a base cartridge AMI
๏ Configure the Stratos environment
๏ Create a tenant
๏ Subscribe to available services
๏ Unsubscribe
Thank You

More Related Content

What's hot

Introduction to Windows Azure Service Bus Relay Service
Introduction to Windows Azure Service Bus Relay ServiceIntroduction to Windows Azure Service Bus Relay Service
Introduction to Windows Azure Service Bus Relay Service
Tamir Dresher
 
Successfully deploy build manage your cloud with cloud stack2
Successfully deploy build manage your cloud with cloud stack2Successfully deploy build manage your cloud with cloud stack2
Successfully deploy build manage your cloud with cloud stack2
ke4qqq
 

What's hot (20)

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
 
Secret Techniques to Manage Apache Cloudstack with ActOnCloud
Secret Techniques to Manage Apache Cloudstack with ActOnCloudSecret Techniques to Manage Apache Cloudstack with ActOnCloud
Secret Techniques to Manage Apache Cloudstack with ActOnCloud
 
CloudStack Meetup - Introduction
CloudStack Meetup - IntroductionCloudStack Meetup - Introduction
CloudStack Meetup - Introduction
 
Calgary azure dev camp - Service Bus
Calgary azure dev camp - Service BusCalgary azure dev camp - Service Bus
Calgary azure dev camp - Service Bus
 
Introduction to Windows Azure Service Bus Relay Service
Introduction to Windows Azure Service Bus Relay ServiceIntroduction to Windows Azure Service Bus Relay Service
Introduction to Windows Azure Service Bus Relay Service
 
What are clouds made from
What are clouds made fromWhat are clouds made from
What are clouds made from
 
AWS Study Group - Chapter 09 - Storage Option [Solution Architect Associate G...
AWS Study Group - Chapter 09 - Storage Option [Solution Architect Associate G...AWS Study Group - Chapter 09 - Storage Option [Solution Architect Associate G...
AWS Study Group - Chapter 09 - Storage Option [Solution Architect Associate G...
 
AWS Study Group - Chapter 10 - Matching Supply and Demand [Solution Architect...
AWS Study Group - Chapter 10 - Matching Supply and Demand [Solution Architect...AWS Study Group - Chapter 10 - Matching Supply and Demand [Solution Architect...
AWS Study Group - Chapter 10 - Matching Supply and Demand [Solution Architect...
 
Successfully deploy build manage your cloud with cloud stack2
Successfully deploy build manage your cloud with cloud stack2Successfully deploy build manage your cloud with cloud stack2
Successfully deploy build manage your cloud with cloud stack2
 
Microservices Using Docker Containers for Magento 2
Microservices Using Docker Containers for Magento 2Microservices Using Docker Containers for Magento 2
Microservices Using Docker Containers for Magento 2
 
Adaptiva OneSite Cloud: Software Delivery Everywhere
Adaptiva OneSite Cloud: Software Delivery EverywhereAdaptiva OneSite Cloud: Software Delivery Everywhere
Adaptiva OneSite Cloud: Software Delivery Everywhere
 
So what is about Content Delivery Network you need to know
So what is about Content Delivery Network you need to knowSo what is about Content Delivery Network you need to know
So what is about Content Delivery Network you need to know
 
Best Features of Azure Service Bus
Best Features of Azure Service BusBest Features of Azure Service Bus
Best Features of Azure Service Bus
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
 
Kubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning ControllerKubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning Controller
 
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
 
The Good Cluster and Auto Scaling Made Simple
The Good Cluster and Auto Scaling Made SimpleThe Good Cluster and Auto Scaling Made Simple
The Good Cluster and Auto Scaling Made Simple
 
Myths and facts of cloud hosting services
Myths and facts of cloud hosting servicesMyths and facts of cloud hosting services
Myths and facts of cloud hosting services
 
Discover the Capabilities of Windows Azure Service Bus to Power Agile Busines...
Discover the Capabilities of Windows Azure Service Bus to Power Agile Busines...Discover the Capabilities of Windows Azure Service Bus to Power Agile Busines...
Discover the Capabilities of Windows Azure Service Bus to Power Agile Busines...
 
7 Common Questions About a Cloud Management Platform
7 Common Questions About a Cloud Management Platform7 Common Questions About a Cloud Management Platform
7 Common Questions About a Cloud Management Platform
 

Similar to Apache Stratos tutorial WSO2Con Europe-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
Lakmal Warusawithana
 
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
 
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
 
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
 
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
 
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
 
Mongo DB on Apache Stratos
Mongo DB on Apache StratosMongo DB on Apache Stratos
Mongo DB on Apache Stratos
WSO2
 

Similar to Apache Stratos tutorial WSO2Con Europe-2014 (20)

Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
 
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
 
QCon New York 2014 - Apache Stratos
QCon New York 2014  - Apache StratosQCon New York 2014  - Apache Stratos
QCon New York 2014 - Apache Stratos
 
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
 
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
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
 
PaaS: An Introduction
PaaS: An IntroductionPaaS: An Introduction
PaaS: An Introduction
 
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 ...
 
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
 
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
 
Amazon EKS 그리고 Service Mesh (김세호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
Amazon EKS 그리고 Service Mesh (김세호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018Amazon EKS 그리고 Service Mesh (김세호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
Amazon EKS 그리고 Service Mesh (김세호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
 
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
 
Stratos Grouping
Stratos GroupingStratos Grouping
Stratos Grouping
 
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...
 
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
 
JELASTIC IS THE PIONEER AND VISIONARY IN THE CLOUD INDUSTRY
JELASTIC IS THE PIONEER AND VISIONARY IN THE CLOUD INDUSTRYJELASTIC IS THE PIONEER AND VISIONARY IN THE CLOUD INDUSTRY
JELASTIC IS THE PIONEER AND VISIONARY IN THE CLOUD INDUSTRY
 
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
 
Mongo DB on Apache Stratos
Mongo DB on Apache StratosMongo DB on Apache Stratos
Mongo DB on Apache Stratos
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
 

More from 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
 
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
 
Apache stratos roadmap and strategy
Apache stratos roadmap and strategyApache stratos roadmap and strategy
Apache stratos roadmap and strategy
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
 
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 (20)

[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
 
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
 
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
 
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
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
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
 
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 roadmap and strategy
Apache stratos roadmap and strategyApache stratos roadmap and strategy
Apache stratos roadmap and strategy
 
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...
 
Containerizing the cloud with docker
Containerizing the cloud with dockerContainerizing the cloud with docker
Containerizing the cloud with docker
 
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
 
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

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Apache Stratos tutorial WSO2Con Europe-2014

  • 1. Apache Stratos Tutorial Lakmal Warusawithana Vice President, Apache Stratos Director - Cloud Architecture WSO2 Inc Amila Maha Arachchi Senior Technical Lead WSO2 Inc
  • 3. What is the Middleware Platform
  • 4. What is Platform as a Service
  • 5. 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
  • 6. Why is Apache Stratos so Important ๏ True community ecosystem ๏ Open extensible architecture ๏ True flexibility for customer services ๏ Intelligent capacity on demand ๏ Multi-factored auto scaling ๏ Scalable and dynamic load balancing ๏ Multi-tenancy ๏ Multi cloud and cloud bursting ๏ Logging, Metering and Monitoring ๏ Multi provider echo system ๏ Efficiency and security ๏ Controlling IaaS resources
  • 7. True Community Ecosystem ๏ Apache Stratos is the only open community controlled open-source PaaS offering ๏ The Apache community is based on participation and meritocracy instead of financial sponsorship ๏ In the Apache community meritocratic process, known as "The Apache Way," more than 400 individual members and 3,500 committers successfully collaborate to develop freely-available, enterprise-grade software, benefiting millions of users worldwide ๏ The Apache Software Foundation was established in 1999; the all- volunteer Foundation oversees more than 170 leading open source projects
  • 8. Apache Stratos Layered Architecture
  • 9. Apache Stratos L1 Architecture
  • 11. Open Extensible Architecture Why is this architecture so important? ๏ Cartridge model enable bringing in even legacy apps into cloud ๏ Unified communication across components in the PaaS using message broker ๏ Centralized monitoring and metering with unified logging framework - ability to plug in BAM ๏ Ability to plugin any IaaS due to the use of jclouds API ๏ Ability to plugin any third party load balancer using message broker model ๏ Ability to plugin any third party health checking/monitoring framework
  • 12. True Flexibility for Customer Services ๏ In most cases, you have to make-do with what’s available and work your solution around it ๏ With the Apache Stratos cartridge model, you can create a custom service without having to deal with any limitations or boundaries. - Cartridge can be fully configured (installed all software, configuration, etc.) or - zero configured (enable cartridge user to install and configure what they want) or - something in-between ๏ This will allow you to customize your PaaS to be in sync with your current business workflows
  • 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. 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
  • 16. 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
  • 17. Controlling IaaS Resources What is a Partition? ๏ Logically group IaaS resource locations ๏ Partitions are important to make application high availability ๏ Cartridge instances are spawned inside these partitions ๏ Partitions are defined by DevOps What is a network partition? ๏ Logical groups multiple partitions, that are in the same network ๏ Stratos will spawn Load Balancers per network partition ๏ Since LB instances and cartridge instances reside in same network, they can communicate using private IP addresses ๏ Used in deployment policies
  • 18. Controlling IaaS Resources... What are the advantages? ๏ Can controll - per cloud, per region, per zone, ...etc ๏ Can achieve high availability, disaster recovery ๏ Help for cloud SLA ๏ Control the resource utilization ๏ Help with geo based deployments - help comply with geo rules/regulations
  • 19. 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
  • 20. 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 ๏ No need dedicated resource allocation for tenants
  • 21. 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
  • 22. Cloud Bursting... What are the advantages? ๏ Make DevOps life easy ๏ Low TCO, and higher utilization existing dedicated resources
  • 23. 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
  • 24. Apache Stratos - Demo What we will be doing ๏ Setup Stratos base components ๏ Create a base cartridge AMI ๏ Configure the Stratos environment ๏ Create a tenant ๏ Subscribe to available services ๏ Unsubscribe