37
Last Updated: May. 2014 Lakmal Warusawithana Demystifying the Cloud

Demystifying the cloud

Embed Size (px)

Citation preview

Page 1: Demystifying the cloud

Last Updated: May. 2014

Lakmal Warusawithana

Demystifying the Cloud

Page 2: Demystifying the cloud

**

About the Presenter

Lakmal WarusawithanaVise President, Apache StratosDirector - Cloud Architecture, WSO2 [email protected] / [email protected]

Page 3: Demystifying the cloud

**

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

Page 4: Demystifying the cloud

**

What WSO2 delivers

Page 5: Demystifying the cloud

**

Business Model

Page 6: Demystifying the cloud

**

๏ Introduction to Cloud

๏ Essential Elements of the Cloud

๏ WSO2 Cloud Offering

๏ Apache Stratos

๏ WSO2 Private PaaS

๏ WSO2 App Factory

๏ WSO2 Cloud Demo

Agenda

Page 7: Demystifying the cloud

**

What is the Middleware Platform

Page 8: Demystifying the cloud

**

What is the Middleware Platform

Page 9: Demystifying the cloud

**

What is Platform as Service

Page 10: Demystifying the cloud

**

๏ Load balancing๏ Autoscaling๏ Multi-tenancy๏ Cloud Bursting๏ Logging๏ Metering๏ Monitoring๏ Security๏ Self Provisioning๏ Availability

Essential Elements of the Cloud

Page 11: Demystifying 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

Page 12: Demystifying the cloud

**

Load Balancing...

Page 13: Demystifying the cloud

**

๏ 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

Page 14: Demystifying the cloud

**

Autoscaling...

Deploying service into a cloud

Page 15: Demystifying the cloud

**

Autoscaling...

Deploying service into a cloud

Page 16: Demystifying the cloud

**

Autoscaling...

Deploying service into a cloud

Page 17: Demystifying the cloud

**

Autoscaling...

Deploying service into a cloud

Page 18: Demystifying the cloud

**

Autoscaling...

Autoscaling - Steady Load

Page 19: Demystifying the cloud

**

Autoscaling...

Autoscaling - Load Increasing

Page 20: Demystifying the cloud

**

Autoscaling...

Autoscaling - Load Increasing

Page 21: Demystifying the cloud

**

Autoscaling...

Autoscaling - Steady Load

Page 22: Demystifying the cloud

**

Autoscaling...

Autoscaling - Load Decreasing

Page 23: Demystifying the cloud

**

Autoscaling - Load Decreasing

Autoscaling...

Page 24: Demystifying the cloud

**

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

Page 25: Demystifying the cloud

**

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

Page 26: Demystifying the cloud

**

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

Page 27: Demystifying the cloud

**

WSO2 Cloud Offering

Page 28: Demystifying the 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

Page 29: Demystifying the cloud

**

Apache Stratos

Page 30: Demystifying the cloud

**

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

Page 31: Demystifying the cloud

**

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

Page 32: Demystifying the cloud

**

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

Page 33: Demystifying the cloud

WSO2 App Factory

Page 35: Demystifying the cloud

**

Shape The Cloud

Page 36: Demystifying the cloud

**

WSO2 Cloud Preview

Demo

https://cloudpreview.wso2.com/

Page 37: Demystifying the cloud

Contact us !