Last Updated: May. 2014 Lakmal Warusawithana Demystifying the Cloud
Last Updated: May. 2014
Lakmal Warusawithana
Demystifying the Cloud
**
About the Presenter
Lakmal WarusawithanaVise President, Apache StratosDirector - Cloud Architecture, WSO2 [email protected] / [email protected]
**
About WSO2
๏ Global enterprise, founded in 2005 by acknowledged leaders in XML, web services technologies, standards and open source
๏ Provides only open source platform-as-a-service for private, public and hybrid cloud deployments
๏ All WSO2 products are 100% open source and released under the Apache License Version 2.0.
๏ Is an Active Member of OASIS, Cloud Security Alliance, OSGi Alliance, AMQP Working Group, OpenID Foundation and W3C.
๏ Driven by Innovation
๏ Launched first open source API Management solution in 2012
๏ Launched App Factory in 2Q 2013
๏ Launched Enterprise Store and first open source Mobile solution in 4Q 2013
**
What WSO2 delivers
**
Business Model
**
๏ Introduction to Cloud
๏ Essential Elements of the Cloud
๏ WSO2 Cloud Offering
๏ Apache Stratos
๏ WSO2 Private PaaS
๏ WSO2 App Factory
๏ WSO2 Cloud Demo
Agenda
**
What is the Middleware Platform
**
What is the Middleware Platform
**
What is Platform as Service
**
๏ Load balancing๏ Autoscaling๏ Multi-tenancy๏ Cloud Bursting๏ Logging๏ Metering๏ Monitoring๏ Security๏ Self Provisioning๏ Availability
Essential Elements of the Cloud
**
๏ Load balancers distribute incoming traffic into relevant service node, clusters or application
๏ Its maximise the throughput, minimise the response time
๏ Load balancing algorithms - round robin, random, fastest, least connections ...etc
๏ Provide mechanism to scale application based on load
๏ Service aware load balancing
๏ Tenant aware load balancing
Load Balancing
**
Load Balancing...
**
๏ Scale up system when the load increases
๏ Scale down the system when the load decreases
๏ Should not have idling nodes
๏ Pay only for actual computing power and bandwidth utilized
๏ Cloud independant autoscaling
Autoscaling
**
Autoscaling...
Deploying service into a cloud
**
Autoscaling...
Deploying service into a cloud
**
Autoscaling...
Deploying service into a cloud
**
Autoscaling...
Deploying service into a cloud
**
Autoscaling...
Autoscaling - Steady Load
**
Autoscaling...
Autoscaling - Load Increasing
**
Autoscaling...
Autoscaling - Load Increasing
**
Autoscaling...
Autoscaling - Steady Load
**
Autoscaling...
Autoscaling - Load Decreasing
**
Autoscaling - Load Decreasing
Autoscaling...
**
Multi Tenancy
๏ Container MT- virtual Machine, LXC, Docker, Physical hardware
๏ In-container MT- within VM/LXC/Docker tenancy
๏ Can have high tenant density
๏ 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 cloud bursting? and why someone need?
๏ Expanding/provisioning application into another cloud to handle peak load.
๏ Resource peak time can be off-loaded to third party clouds/resources
๏ Can off-load to any cloud- Private, Public and Hybrid
๏ Low TCO, and higher utilization existing dedicated resources
**
Logging, Metering and Monitoring
๏ Instance up/down time
๏ Each and every instances health status- application health, load average, memory consumption - Application logs
๏ Centralize view for all logging, metering and monitoring
๏ Centralize log viewer, centralize dashboard
๏ Throttling - restrict tenants from using more than allocated resources
**
WSO2 Cloud Offering
**
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
**
Apache Stratos
**
Apache Stratos - Advanced Features
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
**
Apache Stratos - Advanced FeaturesMulti-factored Autoscaling๏ 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
**
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
WSO2 App Factory
WSO2 App Factory
**
Shape The Cloud
**
WSO2 Cloud Preview
Demo
https://cloudpreview.wso2.com/
Contact us !