Date post: | 27-Nov-2014 |
Category: |
Software |
Upload: | chris-haddad |
View: | 234 times |
Download: | 5 times |
Last Updated: October. 2014
Java and PaaS: Apache Stratos
*2
About the PresenterChris Haddad
๏ VP Platform Evangelism
๏ F500/G2000 Advisor
๏ Cloudy DevOps for Dev guy
๏ Former Gartner research team leader
๏ SaaS Pioneer Learn more about meFollow me @cobiacomm on Twitter
Blog: http://blog.cobia.net/cobiacomm
Decks: http://www.slideshare.net/cobiacomm/
Profle: http://www.linkedin.com/in/cobiacomm/
On Google+ too
**
Agenda
Presentation๏ Motivators and Use Cases๏ Technical overview
PaaS Demo๏ Create service and link to runtime artifact repository๏ Upload application๏ Demonstrate multi-tenancy๏ Scale instances
**
Why Do You Cloud?๏ Obtain the right tool bits๏ Access a pre-built platform๏ Rely on embedded compliance, governance, and security
policies
๏ Creative experimentation ๏ Spin up and down on demand๏ Lower startup cost
๏ Meet business demand๏ Fulfill dynamic and spiky usage requirements ๏ Optimize Spend
**
Why Do You PaaS?
๏ Ready to DevOps๏ Hug a virtual server (or container)๏ Configure a run-time environment๏ Provision software development lifecycle repos and tools
๏ Build better software and accelerate software delivery๏ Offer a pre-built platform to development teams๏ No QoS worries
*
What is a Cloud Native Platform?
**
What is a Java PaaS?
3 Dimensions
๏ Run-time Framework๏ Application, Service, and API Platform๏ Development Environment
*
What is Apache Stratos ?
● A Platform-as-a-Service (PaaS) Framework from Apache Community
● Initially developed and maintained by WSO2
● Donated to Apache Software Foundation
● Evolved within the Apache Community for nearly a year
● Significantly re-architected and improved in Apache
● Graduated to an Apache TLP last month (May 2014)
**
Apache Stratos Use Cases
๏ Deploy on all major cloud infrastructures
๏ Provision and Scale Middleware Cartridges๏ Run Apache Tomcat, PHP, and MySQL applications๏ Host services, APIs, and integration flows๏ .NET support in the works
๏ Share platform across multiple teams, departments, channels
๏ Setup Once and Take an Automation Break๏ Configure scale and burst policies
*
Deploy on Your IaaS
**
Provision and Scale Your App
*
Differentiator: Real Time Event Bus
**
Multi-Tenancy Models [measure your density]๏ Container MT
- virtual Machine, LXC, Docker๏ In-container MT
- within VM/LXC/Docker tenancy
What is the MT advantage?๏ Optimizing resource utilization๏ Reduce dedicated resource allocation
Share platform across multiple teams, departments, channels
**
Apache Stratos L1 Deployment Architecture for VM based Cartridges
**
Apache Stratos L1 Deployment Architecture for Docker based Cartridges
**
Stratos Architecture with Docker Support
**
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
Setup Once and Take an Automation Break
**
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
Scalable and Dynamic Load Balancing..
**
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
Smart Policies
**
What are the advantages?๏ Make DevOps life easy๏ Low TCO, and higher utilization existing dedicated
resources
Cloud Bursting...
**
Apache Stratos 4.0 Layered Architecture
*
Stratos Controller
**
๏ 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
๏ Support docker top of VM- provide two level of scalability- support for integrated with any existing IaaS- any public, private cloud support which can run
docker host VM
Apache Stratos 4.1 - Docker support.
**
Platform as a Service Demo
PaaS Demo๏ Create service and link to runtime artifact repository๏ Upload application๏ Demonstrate multi-tenancy๏ Scale instances
*25
DevOps PaaS: AppFactory
**
Advanced Extra Credit
Using Apache Stratos 4.1.0-m2 developer preview
๏ setup with 3 node CoreOS cluster, Discovery service, Kubernetes master and 3 minions and flannel
๏ Configure Stratos๏ Register Kubernetes-CoreOS host cluster to Stratos๏ Deploy Docker based PHP Cartridge๏ Deploy PHP application using PHP Cartridge๏ Automated artifact updates๏ Manual Scaling๏ Autoscaling based on load avarage
*
Apache Stratos
● Try it!
● Be part of it!!!๏Contribute Cartridges – Cartridge Store๏Join the community!!!
● http://stratos.apache.org/index.html
๏ Facebook: https://www.facebook.com/apache.stratos
๏ LinkedIn: http://www.linkedin.com/groups/Apache-Stratos-5131436
๏ Twitter: https://twitter.com/ApacheStratos
**
More Information !
๏ Apache Stratoshttp://stratos.apache.org/
๏ Apache Stratos 4.1.0-m2 developer previewhttps://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Stratos+M2+Developer+Preview
๏ Why Apache Stratos is the preferred choice in the PaaS Space
http://wso2.com/library/articles/2014/05/why-apache-stratos-is-the-preferred-choice-in-the-paas-space/
๏ Sneak peak into Apache Stratos 4.0.0http://lakmalsview.blogspot.com/2013/12/sneak-peek-into-apache-stratos.html
**
What WSO2 delivers
*30
WSO2 Advantage
API-Centric, Cloud-Native, DevOps Friendly, Enterprise-Ready Open Source
30
**
Business Model
*
Strategic Success Requires Adopting New IT Disciplines
Contact us !