SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
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 !

Contenu connexe

Tendances

Expert Day 2019 - HA et SAP : How QA is done
Expert Day 2019 - HA et SAP : How QA is doneExpert Day 2019 - HA et SAP : How QA is done
Expert Day 2019 - HA et SAP : How QA is doneSUSE
 
Hacking liferay
Hacking liferayHacking liferay
Hacking liferayArmel Nene
 
Cloud foundry presentation
Cloud foundry presentation Cloud foundry presentation
Cloud foundry presentation Vipul Tope
 
Cisco ACI and_Ansible
Cisco ACI and_AnsibleCisco ACI and_Ansible
Cisco ACI and_AnsibleTakao Setaka
 
Martin Hujer: PHP ve Windows Azure cloudu
Martin Hujer: PHP ve Windows Azure clouduMartin Hujer: PHP ve Windows Azure cloudu
Martin Hujer: PHP ve Windows Azure clouduWebExpo
 
OpenStack Summit Storlets Project Update Queens
OpenStack Summit Storlets Project Update QueensOpenStack Summit Storlets Project Update Queens
OpenStack Summit Storlets Project Update QueensKota Tsuyuzaki
 
VMware vSphere 5.5 End of General Service - Xtravirt advise keep calm & don't...
VMware vSphere 5.5 End of General Service - Xtravirt advise keep calm & don't...VMware vSphere 5.5 End of General Service - Xtravirt advise keep calm & don't...
VMware vSphere 5.5 End of General Service - Xtravirt advise keep calm & don't...Xtravirt
 
Why you should be using Aegir: The Drupal-oriented hosting system
Why you should be using Aegir: The Drupal-oriented hosting systemWhy you should be using Aegir: The Drupal-oriented hosting system
Why you should be using Aegir: The Drupal-oriented hosting systemSeth Viebrock
 
OpenStack Upstream Training Cisco Live!
OpenStack Upstream Training Cisco Live!OpenStack Upstream Training Cisco Live!
OpenStack Upstream Training Cisco Live!openstackcisco
 
Firebaseの運用に役立つTips5
Firebaseの運用に役立つTips5Firebaseの運用に役立つTips5
Firebaseの運用に役立つTips5ME iBotch
 
Lviv MD Day 2015 Сергій Козирєв "Android Wear Development"
Lviv MD Day 2015 Сергій Козирєв "Android Wear Development"Lviv MD Day 2015 Сергій Козирєв "Android Wear Development"
Lviv MD Day 2015 Сергій Козирєв "Android Wear Development"Lviv Startup Club
 
Submitting and Reviewing changes lab guide
Submitting and Reviewing changes lab guideSubmitting and Reviewing changes lab guide
Submitting and Reviewing changes lab guideopenstackcisco
 
Microsoft Build2021で登場したハイブリッドクラウド関連情報をまとめてお届け!
Microsoft Build2021で登場したハイブリッドクラウド関連情報をまとめてお届け!Microsoft Build2021で登場したハイブリッドクラウド関連情報をまとめてお届け!
Microsoft Build2021で登場したハイブリッドクラウド関連情報をまとめてお届け!Masahiko Ebisuda
 
Expert Day 2019 - SUSE Linux Enterprise 15
Expert Day 2019 - SUSE Linux Enterprise 15Expert Day 2019 - SUSE Linux Enterprise 15
Expert Day 2019 - SUSE Linux Enterprise 15SUSE
 
Expert Day 2019 - SUSE Manager
Expert Day 2019 - SUSE ManagerExpert Day 2019 - SUSE Manager
Expert Day 2019 - SUSE ManagerSUSE
 

Tendances (20)

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

En vedette

Using Flame Graphs
Using Flame GraphsUsing Flame Graphs
Using Flame GraphsIsuru Perera
 
Jrr 2012 trip plans
Jrr 2012 trip plansJrr 2012 trip plans
Jrr 2012 trip plansmbaconbr
 
Grant H.S. Jp. Language & Cultural Studies Program
Grant H.S. Jp. Language & Cultural Studies ProgramGrant H.S. Jp. Language & Cultural Studies Program
Grant H.S. Jp. Language & Cultural Studies Programmbaconbr
 
Hvorfor og Hvordan Sosiale Medier for B2B selskaper
Hvorfor og Hvordan Sosiale Medier for B2B selskaperHvorfor og Hvordan Sosiale Medier for B2B selskaper
Hvorfor og Hvordan Sosiale Medier for B2B selskaperErik Eskedal
 
8th gradepresentation1 25-12k-1
8th gradepresentation1 25-12k-18th gradepresentation1 25-12k-1
8th gradepresentation1 25-12k-1mbaconbr
 
Java Performance & Profiling
Java Performance & ProfilingJava Performance & Profiling
Java Performance & ProfilingIsuru Perera
 
Java Colombo Meetup: Java Mission Control & Java Flight Recorder
Java Colombo Meetup: Java Mission Control & Java Flight RecorderJava Colombo Meetup: Java Mission Control & Java Flight Recorder
Java Colombo Meetup: Java Mission Control & Java Flight RecorderIsuru Perera
 
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI InternalsApache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI InternalsIsuru Perera
 
Using Java Mission Control & Java Flight Recorder
Using Java Mission Control & Java Flight RecorderUsing Java Mission Control & Java Flight Recorder
Using Java Mission Control & Java Flight RecorderIsuru Perera
 
Introduction European Business Solution BV
Introduction European Business Solution BVIntroduction European Business Solution BV
Introduction European Business Solution BVhytsma
 
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...Isuru Perera
 
Java Performance and Using Java Flight Recorder
Java Performance and Using Java Flight RecorderJava Performance and Using Java Flight Recorder
Java Performance and Using Java Flight RecorderIsuru Perera
 

En vedette (16)

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

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

Java PaaS Apache Stratos
Java PaaS   Apache StratosJava PaaS   Apache Stratos
Java PaaS Apache StratosChris Haddad
 
Product Release Webinar- WSO2 Developer Studio 3.5
Product Release Webinar- WSO2 Developer Studio 3.5Product Release Webinar- WSO2 Developer Studio 3.5
Product Release Webinar- WSO2 Developer Studio 3.5WSO2
 
Introduction to WSO2 Developer Studio
Introduction to WSO2 Developer Studio Introduction to WSO2 Developer Studio
Introduction to WSO2 Developer Studio WSO2
 
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 PaaSWSO2
 
Leveraging federation capabilities of identity server for api gateway
Leveraging federation capabilities  of identity server for api gatewayLeveraging federation capabilities  of identity server for api gateway
Leveraging federation capabilities of identity server for api gatewayPushpalanka Jayawardhana
 
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
Wso2 con 2014-us-talk-deep dive into apache stratos & private paasWso2 con 2014-us-talk-deep dive into apache stratos & private paas
Wso2 con 2014-us-talk-deep dive into apache stratos & private paasLakmal Warusawithana
 
Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio WSO2
 
Building a dev ops paas with puppet, docker, openstack and apache stratos
Building a dev ops paas with puppet, docker, openstack and apache stratosBuilding a dev ops paas with puppet, docker, openstack and apache stratos
Building a dev ops paas with puppet, docker, openstack and apache stratosLakmal Warusawithana
 
Stratos Grouping
Stratos GroupingStratos Grouping
Stratos GroupingWSO2
 
Scalable deployment options in WSO2 API Manager
Scalable deployment options in WSO2 API ManagerScalable deployment options in WSO2 API Manager
Scalable deployment options in WSO2 API ManagerWSO2
 
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 StratosLakmal Warusawithana
 
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 ...WSO2
 
Introductory webinar-composite-app-2
Introductory webinar-composite-app-2Introductory webinar-composite-app-2
Introductory webinar-composite-app-2Reka Ajanthan
 
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 stratosWSO2
 
WSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
WSO2 ESB - The Fastest Open Source ESB with Superior Integration CapabilitiesWSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
WSO2 ESB - The Fastest Open Source ESB with Superior Integration CapabilitiesWSO2
 
Stratos and PaaS for London Java Community
Stratos and PaaS for London Java CommunityStratos and PaaS for London Java Community
Stratos and PaaS for London Java CommunityPaul Fremantle
 
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaSPrivate PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaSImesh Gunaratne
 
Restful Integration with WSO2 ESB
Restful Integration with WSO2 ESB Restful Integration with WSO2 ESB
Restful Integration with WSO2 ESB WSO2
 
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 stratosWSO2
 

Similaire à Building your own PaaS using Apache Stratos - Webinar 2014-04-10 (20)

Java PaaS Apache Stratos
Java PaaS   Apache StratosJava PaaS   Apache Stratos
Java PaaS Apache Stratos
 
Product Release Webinar- WSO2 Developer Studio 3.5
Product Release Webinar- WSO2 Developer Studio 3.5Product Release Webinar- WSO2 Developer Studio 3.5
Product Release Webinar- WSO2 Developer Studio 3.5
 
Introduction to WSO2 Developer Studio
Introduction to WSO2 Developer Studio Introduction to WSO2 Developer Studio
Introduction to WSO2 Developer Studio
 
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
 
Leveraging federation capabilities of identity server for api gateway
Leveraging federation capabilities  of identity server for api gatewayLeveraging federation capabilities  of identity server for api gateway
Leveraging federation capabilities of identity server for api gateway
 
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
Wso2 con 2014-us-talk-deep dive into apache stratos & private paasWso2 con 2014-us-talk-deep dive into apache stratos & private paas
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
 
Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio Best Practices with WSO2 Developer Studio
Best Practices with WSO2 Developer Studio
 
Building a dev ops paas with puppet, docker, openstack and apache stratos
Building a dev ops paas with puppet, docker, openstack and apache stratosBuilding a dev ops paas with puppet, docker, openstack and apache stratos
Building a dev ops paas with puppet, docker, openstack and apache stratos
 
Stratos Grouping
Stratos GroupingStratos Grouping
Stratos Grouping
 
Demystifying the cloud
Demystifying the cloudDemystifying the cloud
Demystifying the cloud
 
Scalable deployment options in WSO2 API Manager
Scalable deployment options in WSO2 API ManagerScalable deployment options in WSO2 API Manager
Scalable deployment options in WSO2 API Manager
 
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
 
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 ...
 
Introductory webinar-composite-app-2
Introductory webinar-composite-app-2Introductory webinar-composite-app-2
Introductory webinar-composite-app-2
 
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
 
WSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
WSO2 ESB - The Fastest Open Source ESB with Superior Integration CapabilitiesWSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
WSO2 ESB - The Fastest Open Source ESB with Superior Integration Capabilities
 
Stratos and PaaS for London Java Community
Stratos and PaaS for London Java CommunityStratos and PaaS for London Java Community
Stratos and PaaS for London Java Community
 
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaSPrivate PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
 
Restful Integration with WSO2 ESB
Restful Integration with WSO2 ESB Restful Integration with WSO2 ESB
Restful Integration with WSO2 ESB
 
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
 

Dernier

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 

Dernier (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 

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