SlideShare a Scribd company logo
Committer and PPMC member of Apache Stratos (incubating)
Senior Software Engineer, WSO2
April 2014
M. Isuru Tharanga Chrishantha Perera
Building your own
PaaS using
Apache Stratos (incubating)
*
About the Presenter
M. Isuru Tharanga Chrishantha Perera
๏ Committer and PPMC member of Apache
Stratos (incubating)
๏ Senior Software Engineer, WSO2
๏ http://about.me/chrishantha
**
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
*
Outline
๏ Brief introduction to Stratos
๏ Installing Stratos on Amazon EC2
๏ Stratos Configurations: Partitions & Smart Policies
๏ Demo
๏ Configuring Stratos and Subscribing to Cartridges
*
What is Apache Stratos?
๏ It is a Platform-as-a-Service (PaaS) Framework
๏ Currently incubating at Apache Software Foundation
๏ A Single Product with Multiple Profiles
๏ Developer Friendly!
*
Why is this a Framework?
๏ Stratos can be extended to build you own flavours of
PaaS.
๏ Application PaaS (aPaaS), Integration PaaS (iPaaS) etc.
๏ WSO2 App Cloud (WSO2 App Factory) runs on Stratos.
๏ Provides APIs & extensions
๏ Easy to bring your applications to cloud
*
Stratos Architecture
*
Stratos Product
๏ Stratos is now a single product with multiple profiles
๏ Leveraging WSO2 Carbon multiple profile support
๏ There are 3 profiles:
๏ Cloud Controller (cc)
๏ Stratos Manager (sm)
๏ Auto Scaler (as)
๏ Default profile additionally includes WSO2 CEP
*
Installation Prerequisites
๏ An Infrastructure-as-a-Service (IaaS) provider
๏ Java 1.6
๏ Message Broker with AMQP support.
๏ Apache ActiveMQ/WSO2 MB
๏ MySQL
๏ Puppet
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites
*
Why do we need Puppet?
๏ Puppet is a server automation tool
๏ Automated Cartridge Configuration
๏ Easy to manage different cartridges
๏ All configurations are in the Puppet Master
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master
*
Let’s Install Stratos
๏ We provide a setup script.
๏ Follow instructions in our wiki.
๏ Edit conf/setup.conf
๏ Run Setup
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Single+JVM+Product+Configuration
*
Stratos Manager Console
*
Stratos CLI
*
Configuring Stratos
*
Partitions
๏ Defining the cloud partition boundaries:
{
"id":"AWSEC2USWestOregonPartition1",
"provider":"ec2",
"property":[
{
"name":"region",
"value":"us-west-2"
},
{
"name":"zone",
"value":"us-west-2a"
}
]
}
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Partitions
*
Autoscale Policy
๏ When to take autoscaling decisions:
{
"id":"simpleAutoscalePolicy",
"loadThresholds":{
"requestsInFlight":{
"average":"20",
"gradient":"0",
"secondDerivative":"0",
"scaleDownMarginOfGradient":"1.0",
"scaleDownMarginOfSecondDerivative":"0.2"
},
"memoryConsumption":{
"average":"80",
"gradient":"0",
"secondDerivative":"0",
"scaleDownMarginOfGradient":"1.0",
"scaleDownMarginOfSecondDerivative":"0.2"
},
"loadAverage":{
"average":"80",
"gradient":"0",
"secondDerivative":"0",
"scaleDownMarginOfGradient":"1.0",
"scaleDownMarginOfSecondDerivative":"0.2"
}
}
}
*
Deployment Policy
๏ Defining the autoscaling partition algorithm and upper
& lower limits of number of instances required in each
partition
{
"id":"simpleDeploymentPolicy",
"partitionGroup":{
"id":"ec2",
"partitionAlgo":"one-after-another",
"partition":[
{
"id":"AWSEC2USWestOregonPartition1",
"partitionMax":"3",
"partitionMin":"1"
}
]
}
}
*
LB Cartridge
๏ Defining load balancer cartridge configuration{
"type":"lb",
"provider":"lb",
"host":"apachestratos.org",
"displayName":"Stratos Load Balancer",
"description":"LB Cartridge",
"version":"4.0",
"defaultAutoscalingPolicy":"simpleAutoscalePolicy",
"portMapping":[ {
"protocol":"http",
"port":"80"
}, {
"protocol":"https",
"port":"443"
} ],
"iaasProvider":[ {
"type":"ec2",
"imageId":"us-west-2/ami-2c412a1c",
"maxInstanceLimit":"5",
"property":[
{
"name":"instanceType",
"value":"m1.small"
}
]
} ],
"loadBalancer":{},
"property":[
{
"name":"load.balancer",
"value":"true"
} ]
}
*
PHP & Other Cartridges
๏ Defining PHP cartridge configuration:
{
"type":"php",
"provider":"apache",
"host":"apachestratos.org",
"displayName":"PHP",
"description":"PHP Cartridge",
"version":"5.0",
"portMapping":[
{
"protocol":"http",
"port":"80",
"proxyPort":"80"
}],
"iaasProvider":[
{
"type":"ec2",
"imageId":"us-west-2/ami-a0bfd490",
"property":[
{
"name":"instanceType",
"value":"t1.micro"
} ]
} ],
"loadBalancer":{
"type":"lb",
"property":{
"name":"default.load.balancer",
"value":"true"
}
}
}
*
Demo
๏ Configuring Stratos using the Console
๏ Subscribing to Cartridges
*
Subscribing to Cartridges
*
My Cartridges
https://github.com/chrishantha/stratos-drupal.git
*
Drupal on PHP Cartridge
**
Join the community
๏ Visit Apache Stratos (incubating) web site:
http://stratos.incubator.apache.org/index.html
๏ Join our mailing list:
http://stratos.incubator.apache.org/community/mailing-lists.html
๏ Google+:
https://plus.google.com/+ApacheStratos
๏ Twitter:
https://twitter.com/ApacheStratos
๏ Facebook:
https://www.facebook.com/apache.stratos
๏ LinkedIn:
http://www.linkedin.com/groups/Apache-Stratos-5131436
Contact us !

More Related Content

PDF
Cloud Service Integration with WSO2 Developer Studio and WSO2 ESB
PDF
Connectors for the New Enterprise with WSO2 ESB 4.8
PPTX
RBAC in Swift
PPTX
AlienVault USM Anywhere: Building a Security SaaS in AWS in Six Months
PDF
Elastic jenkins with mesos and dcos (2016 01-20)
PPT
Part 8 - Enforcing modularity of JasForge using OSGI and Futures Evolutions
PDF
Ubuntu Cloud Core Deck Feb2014
PDF
6.1
Cloud Service Integration with WSO2 Developer Studio and WSO2 ESB
Connectors for the New Enterprise with WSO2 ESB 4.8
RBAC in Swift
AlienVault USM Anywhere: Building a Security SaaS in AWS in Six Months
Elastic jenkins with mesos and dcos (2016 01-20)
Part 8 - Enforcing modularity of JasForge using OSGI and Futures Evolutions
Ubuntu Cloud Core Deck Feb2014
6.1

What's hot (20)

PDF
Expert Day 2019 - HA et SAP : How QA is done
PPTX
Hacking liferay
PDF
Cloud foundry presentation
PDF
Cisco ACI and_Ansible
PPTX
Martin Hujer: PHP ve Windows Azure cloudu
PDF
OpenStack Summit Storlets Project Update Queens
PPTX
Aegir Introduction
PPTX
VMware vSphere 5.5 End of General Service - Xtravirt advise keep calm & don't...
PPT
Why you should be using Aegir: The Drupal-oriented hosting system
PDF
OpenStack Upstream Training Cisco Live!
PDF
Firebaseの運用に役立つTips5
PDF
Lviv MD Day 2015 Сергій Козирєв "Android Wear Development"
PDF
Submitting and Reviewing changes lab guide
PDF
Openstack bug list
PDF
Microsoft Build2021で登場したハイブリッドクラウド関連情報をまとめてお届け!
PDF
Expert Day 2019 - SUSE Linux Enterprise 15
PDF
GlassFish Community and future larochelle
PDF
Olf2018
PDF
GlassFish OSGi - Java2days 2010
PDF
Expert Day 2019 - SUSE Manager
Expert Day 2019 - HA et SAP : How QA is done
Hacking liferay
Cloud foundry presentation
Cisco ACI and_Ansible
Martin Hujer: PHP ve Windows Azure cloudu
OpenStack Summit Storlets Project Update Queens
Aegir Introduction
VMware vSphere 5.5 End of General Service - Xtravirt advise keep calm & don't...
Why you should be using Aegir: The Drupal-oriented hosting system
OpenStack Upstream Training Cisco Live!
Firebaseの運用に役立つTips5
Lviv MD Day 2015 Сергій Козирєв "Android Wear Development"
Submitting and Reviewing changes lab guide
Openstack bug list
Microsoft Build2021で登場したハイブリッドクラウド関連情報をまとめてお届け!
Expert Day 2019 - SUSE Linux Enterprise 15
GlassFish Community and future larochelle
Olf2018
GlassFish OSGi - Java2days 2010
Expert Day 2019 - SUSE Manager
Ad

Viewers also liked (16)

ODP
Imunita v zimě
PDF
Using Flame Graphs
PPTX
Jrr 2012 trip plans
PPT
Grant H.S. Jp. Language & Cultural Studies Program
PDF
Hvorfor og Hvordan Sosiale Medier for B2B selskaper
PDF
Stres a únava
PPT
8th gradepresentation1 25-12k-1
PDF
Detoxikace těla
PDF
Cloud foundry
PDF
Java Performance & Profiling
PDF
Java Colombo Meetup: Java Mission Control & Java Flight Recorder
PDF
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
PDF
Using Java Mission Control & Java Flight Recorder
PDF
Introduction European Business Solution BV
PDF
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
PDF
Java Performance and Using Java Flight Recorder
Imunita v zimě
Using Flame Graphs
Jrr 2012 trip plans
Grant H.S. Jp. Language & Cultural Studies Program
Hvorfor og Hvordan Sosiale Medier for B2B selskaper
Stres a únava
8th gradepresentation1 25-12k-1
Detoxikace těla
Cloud foundry
Java Performance & Profiling
Java Colombo Meetup: Java Mission Control & Java Flight Recorder
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
Using Java Mission Control & Java Flight Recorder
Introduction European Business Solution BV
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Java Performance and Using Java Flight Recorder
Ad

Similar to Building your own PaaS using Apache Stratos - Webinar 2014-04-10 (20)

PPTX
Java PaaS Apache Stratos
PDF
Product Release Webinar- WSO2 Developer Studio 3.5
PDF
Introduction to WSO2 Developer Studio
PDF
Building a Cloud Native Platform with WSO2 Private PaaS
PDF
Leveraging federation capabilities of identity server for api gateway
PDF
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
PDF
Best Practices with WSO2 Developer Studio
PDF
Building a dev ops paas with puppet, docker, openstack and apache stratos
PPTX
Stratos Grouping
PDF
Demystifying the cloud
PDF
Scalable deployment options in WSO2 API Manager
PDF
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
PPT
Apache Stratos (Incubating) is the Platform as a Service (PaaS) project from ...
PPTX
Introductory webinar-composite-app-2
PPTX
Containers in production with docker, coreos, kubernetes and apache stratos
PDF
WSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
PPT
Stratos and PaaS for London Java Community
PDF
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
PDF
Restful Integration with WSO2 ESB
PPTX
Deploy in scale with docker, coreos, kubernetes and apache stratos
Java PaaS Apache Stratos
Product Release Webinar- WSO2 Developer Studio 3.5
Introduction to WSO2 Developer Studio
Building a Cloud Native Platform with WSO2 Private PaaS
Leveraging federation capabilities of identity server for api gateway
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
Best Practices with WSO2 Developer Studio
Building a dev ops paas with puppet, docker, openstack and apache stratos
Stratos Grouping
Demystifying the cloud
Scalable deployment options in WSO2 API Manager
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Apache Stratos (Incubating) is the Platform as a Service (PaaS) project from ...
Introductory webinar-composite-app-2
Containers in production with docker, coreos, kubernetes and apache stratos
WSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
Stratos and PaaS for London Java Community
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Restful Integration with WSO2 ESB
Deploy in scale with docker, coreos, kubernetes and apache stratos

Recently uploaded (20)

PDF
AI in Product Development-omnex systems
PDF
top salesforce developer skills in 2025.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Digital Strategies for Manufacturing Companies
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
ai tools demonstartion for schools and inter college
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
AI in Product Development-omnex systems
top salesforce developer skills in 2025.pdf
Operating system designcfffgfgggggggvggggggggg
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Digital Strategies for Manufacturing Companies
VVF-Customer-Presentation2025-Ver1.9.pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Softaken Excel to vCard Converter Software.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Odoo Companies in India – Driving Business Transformation.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Understanding Forklifts - TECH EHS Solution
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Reimagine Home Health with the Power of Agentic AI​
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
How to Migrate SBCGlobal Email to Yahoo Easily
ai tools demonstartion for schools and inter college
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Upgrade and Innovation Strategies for SAP ERP Customers

Building your own PaaS using Apache Stratos - Webinar 2014-04-10

  • 1. Committer and PPMC member of Apache Stratos (incubating) Senior Software Engineer, WSO2 April 2014 M. Isuru Tharanga Chrishantha Perera Building your own PaaS using Apache Stratos (incubating)
  • 2. * About the Presenter M. Isuru Tharanga Chrishantha Perera ๏ Committer and PPMC member of Apache Stratos (incubating) ๏ Senior Software Engineer, WSO2 ๏ http://about.me/chrishantha
  • 3. ** 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
  • 6. * Outline ๏ Brief introduction to Stratos ๏ Installing Stratos on Amazon EC2 ๏ Stratos Configurations: Partitions & Smart Policies ๏ Demo ๏ Configuring Stratos and Subscribing to Cartridges
  • 7. * What is Apache Stratos? ๏ It is a Platform-as-a-Service (PaaS) Framework ๏ Currently incubating at Apache Software Foundation ๏ A Single Product with Multiple Profiles ๏ Developer Friendly!
  • 8. * Why is this a Framework? ๏ Stratos can be extended to build you own flavours of PaaS. ๏ Application PaaS (aPaaS), Integration PaaS (iPaaS) etc. ๏ WSO2 App Cloud (WSO2 App Factory) runs on Stratos. ๏ Provides APIs & extensions ๏ Easy to bring your applications to cloud
  • 10. * Stratos Product ๏ Stratos is now a single product with multiple profiles ๏ Leveraging WSO2 Carbon multiple profile support ๏ There are 3 profiles: ๏ Cloud Controller (cc) ๏ Stratos Manager (sm) ๏ Auto Scaler (as) ๏ Default profile additionally includes WSO2 CEP
  • 11. * Installation Prerequisites ๏ An Infrastructure-as-a-Service (IaaS) provider ๏ Java 1.6 ๏ Message Broker with AMQP support. ๏ Apache ActiveMQ/WSO2 MB ๏ MySQL ๏ Puppet https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites
  • 12. * Why do we need Puppet? ๏ Puppet is a server automation tool ๏ Automated Cartridge Configuration ๏ Easy to manage different cartridges ๏ All configurations are in the Puppet Master https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master
  • 13. * Let’s Install Stratos ๏ We provide a setup script. ๏ Follow instructions in our wiki. ๏ Edit conf/setup.conf ๏ Run Setup https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Single+JVM+Product+Configuration
  • 17. * Partitions ๏ Defining the cloud partition boundaries: { "id":"AWSEC2USWestOregonPartition1", "provider":"ec2", "property":[ { "name":"region", "value":"us-west-2" }, { "name":"zone", "value":"us-west-2a" } ] } https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Partitions
  • 18. * Autoscale Policy ๏ When to take autoscaling decisions: { "id":"simpleAutoscalePolicy", "loadThresholds":{ "requestsInFlight":{ "average":"20", "gradient":"0", "secondDerivative":"0", "scaleDownMarginOfGradient":"1.0", "scaleDownMarginOfSecondDerivative":"0.2" }, "memoryConsumption":{ "average":"80", "gradient":"0", "secondDerivative":"0", "scaleDownMarginOfGradient":"1.0", "scaleDownMarginOfSecondDerivative":"0.2" }, "loadAverage":{ "average":"80", "gradient":"0", "secondDerivative":"0", "scaleDownMarginOfGradient":"1.0", "scaleDownMarginOfSecondDerivative":"0.2" } } }
  • 19. * Deployment Policy ๏ Defining the autoscaling partition algorithm and upper & lower limits of number of instances required in each partition { "id":"simpleDeploymentPolicy", "partitionGroup":{ "id":"ec2", "partitionAlgo":"one-after-another", "partition":[ { "id":"AWSEC2USWestOregonPartition1", "partitionMax":"3", "partitionMin":"1" } ] } }
  • 20. * LB Cartridge ๏ Defining load balancer cartridge configuration{ "type":"lb", "provider":"lb", "host":"apachestratos.org", "displayName":"Stratos Load Balancer", "description":"LB Cartridge", "version":"4.0", "defaultAutoscalingPolicy":"simpleAutoscalePolicy", "portMapping":[ { "protocol":"http", "port":"80" }, { "protocol":"https", "port":"443" } ], "iaasProvider":[ { "type":"ec2", "imageId":"us-west-2/ami-2c412a1c", "maxInstanceLimit":"5", "property":[ { "name":"instanceType", "value":"m1.small" } ] } ], "loadBalancer":{}, "property":[ { "name":"load.balancer", "value":"true" } ] }
  • 21. * PHP & Other Cartridges ๏ Defining PHP cartridge configuration: { "type":"php", "provider":"apache", "host":"apachestratos.org", "displayName":"PHP", "description":"PHP Cartridge", "version":"5.0", "portMapping":[ { "protocol":"http", "port":"80", "proxyPort":"80" }], "iaasProvider":[ { "type":"ec2", "imageId":"us-west-2/ami-a0bfd490", "property":[ { "name":"instanceType", "value":"t1.micro" } ] } ], "loadBalancer":{ "type":"lb", "property":{ "name":"default.load.balancer", "value":"true" } } }
  • 22. * Demo ๏ Configuring Stratos using the Console ๏ Subscribing to Cartridges
  • 25. * Drupal on PHP Cartridge
  • 26. ** Join the community ๏ Visit Apache Stratos (incubating) web site: http://stratos.incubator.apache.org/index.html ๏ Join our mailing list: http://stratos.incubator.apache.org/community/mailing-lists.html ๏ Google+: https://plus.google.com/+ApacheStratos ๏ Twitter: https://twitter.com/ApacheStratos ๏ Facebook: https://www.facebook.com/apache.stratos ๏ LinkedIn: http://www.linkedin.com/groups/Apache-Stratos-5131436