SlideShare a Scribd company logo
1 of 27
Download to read offline
Introducing Apache Stratos
(Incubating) & WSO2 PaaS
Foundation

Lakmal Warusawithana
WSO2 Inc
Software Architect

Afkham Azeez
WSO2 Inc
Director, Architecture
What is a middleware Platform?
What is a middleware Platform?
What is a middleware Platform?
What is Platform as a Service?
What is Apache Stratos?
●

●

●

●

●

●

●

●

A Platform-as-a-Service (PaaS) Framework
Initially it was WSO2 Stratos, developed and
maintained by WSO2. Recently donated to Apache and
now it is in incubation.
Deploys onto an Infrastructure-as-a-Service (IaaS)
Including Amazon EC2, VMWare vCloud,
OpenStack...etc
Creates a secure, multi-tenant, elastic, metered, billed
PaaS
Supports private, public or hybrid PaaS. Capable of
cloud bursting
Can enable multiple flavours of PaaS:
Application PaaS (aPaaS), Integration PaaS (iPaaS),
Data PaaS (dPaaS), etc
Apache Stratos 3.0 Architecture
Stratos Core Components - CC
●

●

●

●

●

●

●

Communicate to IaaS level Jclouds API.
Enables your system to scale across multiple IaaS
providers
Is the central location where the service topology
resides
Responsible for sharing the service topology among
Stratos 3.0 core services
Supports hot update and deployment of its
configuration files
Currently production support in AWS EC2, SUSECloud
and Openstack, experimental support for vCloud
Enables cloud burst your system across multiple IaaS
providers.
Stratos Core Components - CC
Stratos Core Components - ELB
●

●

Failover, auto-scaling and multi-tenancy
Single load balancer route incoming requests to
clusters of different services in a tenant-aware manner

●

IaaS independent elasticity

●

Simple textual configuration language

●

Private Jet Mode for tenants

●

Some tenants load to deploy in a single tenant mode

●

Cloud Bursting to hybrid clouds
Stratos Core Components - ELB
Stratos Cartridges
●

●

●

●

●

A component which can be plugged into Stratos, so
that it can use Stratos core services of the Foundation
Layer
Cloud-aware platform environment extending legacy
technologies into the cloud and delivering cloud
benefits
Stratos operations teams may create custom cartridges
and host any application, container, or framework in a
Stratos Cloud. (Eg: A custom cartridge to bring cloud
characteristics to IBM Websphere Application Server,
IBM WebSphere ESB, Oracle WebLogic, or JBoss SOA
Platform)
Single tenant or multi-tenanted
Process level isolation and instance-level dedicated
tenancy
Stratos Cartridges
Cartridge Tenancy
●

A cartridge can operate in two modes:

●

Single tenant
–

–
●

Stratos will run and manage a separate instance for each
tenant
The PHP Cartridge runs this way

Multi-tenant
–

Stratos will run multiple instances partitioned so that
sets of tenants run on sets of instances

–

Each instance of a Cartridge may run more than one
tenant
User Roles involved in Cartridge
Architecture
●

Cartridge Creator
–

–
●

Understands the cartridge domain (e.g. PHP) plus
Cartridge SPI
Creates image and configs (including for different IaaS)

Cartridge Deployer (Stratos Admin/DevOps)
–

●

Registers cartridge with Stratos

Cartridge Subscriber(Tenant Admin)
–
–

Scaling parameters

–
●

Subscribes to the cartridge with
Other resources such as persistent file system / DB

Cartridge Users
–

Per-tenant users or developers

–

Access deployed applications

–

Upload applications to the cartridge (optional)
Artifact Distribution Coordinator
Lets setup Apache Stratos on EC2
Step 1 - setup prerequisites
●

●

●

Create a Ubuntu Linux 12.04 m1-xlarge instance on
EC2
Install and setup git, unzip and MySQL Server
Start a Message Broker (MB) to communicate with the
Cloud Controller and other products
–

Download WSO2 MB from
http://wso2.com/products/message-broker/ and extract it
into a preferred location

–

If the extracted directory is WSO2MB_HOME, in the
WSO2MB_HOME/repository/conf/carbon.xml file change
the port offset value to 5.

–

Config Java HOME

–

Start the MB server with the wso2server.sh script at
WSO2MB_HOME/bin
Step 2 - Build Apache Stratos
(incubating) from source code
●

git clone --branch 3.0.0-incubating
https://git-wip-us.apache.org/repos/asf/incubator-strato
s.git

●

cd incubator-stratos

●

mvn clean install

●

It will create 4 products (cloud-controller,
stratos-controller, elb, stratos-agent) in following
folders
–

incubator-stratos/products/<product>/modules/distributi
on/target/
Step 3 – install and config the PaaS
●

●

●

●

●

●

cd tools/stratos-installer

Create folder and copy all build products into the folder.
Download the MySql Java connector and copy the JAR
file to the above folder
Create and download the key pair from IaaS.
Open up the security rules on the IaaSs with the
specified ports, which needs to be defined in the
./conf/setup.conf
Update the ./conf/setup.conf file and configure the
parameters.
sudo ./setup.sh -p "all"
Now your Apache Stratos is ready use!!!
Demo – Usage if the Stratos
●

Tenant creation

●

Wordpress deployment
–
–

●

Subscribing to MySQL
Subscribing PHP

Artifact distribution
–

Manual sync

–

Automated sync

●

Domain mapping

●

Auto Scaling
Demo – Create WSO2 App Server
Cartridge
Thank You!

More Related Content

What's hot

SUSE Expert Days Paris 2018 – SLE 15
SUSE Expert Days Paris 2018 – SLE 15SUSE Expert Days Paris 2018 – SLE 15
SUSE Expert Days Paris 2018 – SLE 15SUSE
 
DevOps and OpenStack December 2012
DevOps and OpenStack December 2012DevOps and OpenStack December 2012
DevOps and OpenStack December 2012Matt Ray
 
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...OpenNebula Project
 
oVirt 3.5 Storage Features Overview
oVirt 3.5 Storage Features OverviewoVirt 3.5 Storage Features Overview
oVirt 3.5 Storage Features OverviewAllon Mureinik
 
Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...
Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...
Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...Anne Nicolas
 
OpenNebula - Key Aspects in CentOS
OpenNebula - Key Aspects in CentOSOpenNebula - Key Aspects in CentOS
OpenNebula - Key Aspects in CentOSOpenNebula Project
 
Ceph Day KL - Bring Ceph to Enterprise
Ceph Day KL - Bring Ceph to EnterpriseCeph Day KL - Bring Ceph to Enterprise
Ceph Day KL - Bring Ceph to EnterpriseCeph Community
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux UsersDru Lavigne
 
OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...
OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...
OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...OpenNebula Project
 
Storage best practices
Storage best practicesStorage best practices
Storage best practicesMaor Lipchuk
 
Build a Docker Swarm cluster on Azure
Build a Docker Swarm cluster on Azure Build a Docker Swarm cluster on Azure
Build a Docker Swarm cluster on Azure Julien Maitrehenry
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech dayArthur Berezin
 
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...Corley S.r.l.
 
#OSATH Deploy OpenStack: DevStack (cont'd)
#OSATH Deploy OpenStack: DevStack (cont'd)#OSATH Deploy OpenStack: DevStack (cont'd)
#OSATH Deploy OpenStack: DevStack (cont'd)Thanassis Parathyras
 
Using the Carbon Architecture to Build a Fit-for-Purpose Platform
Using the Carbon Architecture to Build a Fit-for-Purpose PlatformUsing the Carbon Architecture to Build a Fit-for-Purpose Platform
Using the Carbon Architecture to Build a Fit-for-Purpose PlatformSameera Jayasoma
 

What's hot (20)

SUSE Expert Days Paris 2018 – SLE 15
SUSE Expert Days Paris 2018 – SLE 15SUSE Expert Days Paris 2018 – SLE 15
SUSE Expert Days Paris 2018 – SLE 15
 
DevOps and OpenStack December 2012
DevOps and OpenStack December 2012DevOps and OpenStack December 2012
DevOps and OpenStack December 2012
 
3. introduction to java
3. introduction to java3. introduction to java
3. introduction to java
 
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
 
oVirt 3.5 Storage Features Overview
oVirt 3.5 Storage Features OverviewoVirt 3.5 Storage Features Overview
oVirt 3.5 Storage Features Overview
 
Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...
Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...
Distro Recipes 2013 : Introduction to Arch Linux: a simple, rolling-release d...
 
OpenNebula - Key Aspects in CentOS
OpenNebula - Key Aspects in CentOSOpenNebula - Key Aspects in CentOS
OpenNebula - Key Aspects in CentOS
 
Rails on windows
Rails on windowsRails on windows
Rails on windows
 
Ceph Day KL - Bring Ceph to Enterprise
Ceph Day KL - Bring Ceph to EnterpriseCeph Day KL - Bring Ceph to Enterprise
Ceph Day KL - Bring Ceph to Enterprise
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux Users
 
OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...
OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...
OpenNebulaconf2017US: Configuration management with OpenNebula and Ansible by...
 
Storage best practices
Storage best practicesStorage best practices
Storage best practices
 
OpenNebula - The Project
OpenNebula - The ProjectOpenNebula - The Project
OpenNebula - The Project
 
Build a Docker Swarm cluster on Azure
Build a Docker Swarm cluster on Azure Build a Docker Swarm cluster on Azure
Build a Docker Swarm cluster on Azure
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 
Posscon2013
Posscon2013Posscon2013
Posscon2013
 
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
 
#OSATH Deploy OpenStack: DevStack (cont'd)
#OSATH Deploy OpenStack: DevStack (cont'd)#OSATH Deploy OpenStack: DevStack (cont'd)
#OSATH Deploy OpenStack: DevStack (cont'd)
 
Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12
 
Using the Carbon Architecture to Build a Fit-for-Purpose Platform
Using the Carbon Architecture to Build a Fit-for-Purpose PlatformUsing the Carbon Architecture to Build a Fit-for-Purpose Platform
Using the Carbon Architecture to Build a Fit-for-Purpose Platform
 

Similar to Introducing apache stratos (incubating) & wso2 paa s foundation

Apache stratos (incubation) technical deep dive
Apache stratos (incubation) technical deep diveApache stratos (incubation) technical deep dive
Apache stratos (incubation) technical deep diveLakmal Warusawithana
 
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
 
WSO2 Stratos 2 - Your all in one Cloud Platform
WSO2 Stratos 2 - Your all in one Cloud PlatformWSO2 Stratos 2 - Your all in one Cloud Platform
WSO2 Stratos 2 - Your all in one Cloud PlatformWSO2
 
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackShapeBlue
 
Dockerization of Azure Platform
Dockerization of Azure PlatformDockerization of Azure Platform
Dockerization of Azure Platformnirajrules
 
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
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersLakmal Warusawithana
 
Deploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersDeploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersImesh Gunaratne
 
Understanding Platform as a Service
Understanding Platform as a ServiceUnderstanding Platform as a Service
Understanding Platform as a ServicePaul Fremantle
 
Red Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure TechRed Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure TechProxyServices
 
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
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppetbuildacloud
 
Cloud init and cloud provisioning [openstack summit vancouver]
Cloud init and cloud provisioning [openstack summit vancouver]Cloud init and cloud provisioning [openstack summit vancouver]
Cloud init and cloud provisioning [openstack summit vancouver]Joshua Harlow
 
Google Anthos - Azure Stack - AWS Outposts :Comparison
Google Anthos - Azure Stack - AWS Outposts :ComparisonGoogle Anthos - Azure Stack - AWS Outposts :Comparison
Google Anthos - Azure Stack - AWS Outposts :ComparisonKrishna-Kumar
 
Introduction to containers a practical session using core os and docker
Introduction to containers  a practical session using core os and dockerIntroduction to containers  a practical session using core os and docker
Introduction to containers a practical session using core os and dockerAlessandro Martellone
 
WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...
WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...
WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...WSO2
 
Deploying at scale with PaaS
Deploying at scale with PaaSDeploying at scale with PaaS
Deploying at scale with PaaSWSO2
 
Docker Internet Money Gateway
Docker Internet Money GatewayDocker Internet Money Gateway
Docker Internet Money GatewayMathieu Buffenoir
 

Similar to Introducing apache stratos (incubating) & wso2 paa s foundation (20)

Apache stratos (incubation) technical deep dive
Apache stratos (incubation) technical deep diveApache stratos (incubation) technical deep dive
Apache stratos (incubation) technical deep dive
 
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
 
WSO2 Stratos 2 - Your all in one Cloud Platform
WSO2 Stratos 2 - Your all in one Cloud PlatformWSO2 Stratos 2 - Your all in one Cloud Platform
WSO2 Stratos 2 - Your all in one Cloud Platform
 
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
 
OpenStack on SmartOS
OpenStack on SmartOSOpenStack on SmartOS
OpenStack on SmartOS
 
Dockerization of Azure Platform
Dockerization of Azure PlatformDockerization of Azure Platform
Dockerization of Azure Platform
 
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
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
 
Deploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersDeploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on Containers
 
Understanding Platform as a Service
Understanding Platform as a ServiceUnderstanding Platform as a Service
Understanding Platform as a Service
 
Red Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure TechRed Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure Tech
 
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
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
 
Cloud init and cloud provisioning [openstack summit vancouver]
Cloud init and cloud provisioning [openstack summit vancouver]Cloud init and cloud provisioning [openstack summit vancouver]
Cloud init and cloud provisioning [openstack summit vancouver]
 
Google Anthos - Azure Stack - AWS Outposts :Comparison
Google Anthos - Azure Stack - AWS Outposts :ComparisonGoogle Anthos - Azure Stack - AWS Outposts :Comparison
Google Anthos - Azure Stack - AWS Outposts :Comparison
 
Introduction to containers a practical session using core os and docker
Introduction to containers  a practical session using core os and dockerIntroduction to containers  a practical session using core os and docker
Introduction to containers a practical session using core os and docker
 
WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...
WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...
WSO2Con US 2013 - Using the Carbon Architecture To Build a Fit-for-Purpose Pl...
 
Deploying at scale with PaaS
Deploying at scale with PaaSDeploying at scale with PaaS
Deploying at scale with PaaS
 
Docker Internet Money Gateway
Docker Internet Money GatewayDocker Internet Money Gateway
Docker Internet Money Gateway
 
Docker img-no-disclosure
Docker img-no-disclosureDocker img-no-disclosure
Docker img-no-disclosure
 

More from Lakmal Warusawithana

[Lakmal] Automate Microservice to API
[Lakmal] Automate Microservice to API[Lakmal] Automate Microservice to API
[Lakmal] Automate Microservice to APILakmal Warusawithana
 
Microservices, Containers, and Beyond
Microservices, Containers, and BeyondMicroservices, Containers, and Beyond
Microservices, Containers, and BeyondLakmal Warusawithana
 
Future of Cloud Computing with Containers
Future of Cloud Computing with ContainersFuture of Cloud Computing with Containers
Future of Cloud Computing with ContainersLakmal Warusawithana
 
DevOps & cloud : Lessons & Stories
DevOps & cloud : Lessons & StoriesDevOps & cloud : Lessons & Stories
DevOps & cloud : Lessons & StoriesLakmal Warusawithana
 
Unleashing k8 s to reduce complexities of an entire middleware platform
Unleashing k8 s to reduce complexities of an entire middleware platformUnleashing k8 s to reduce complexities of an entire middleware platform
Unleashing k8 s to reduce complexities of an entire middleware platformLakmal Warusawithana
 
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
WSO2 Virtual Hackathon Big Data in the Cloud Case StudyWSO2 Virtual Hackathon Big Data in the Cloud Case Study
WSO2 Virtual Hackathon Big Data in the Cloud Case StudyLakmal Warusawithana
 
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
 
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 StratosLakmal Warusawithana
 
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015Lakmal Warusawithana
 
How to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackHow to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackLakmal Warusawithana
 
Building a Paa s with CloudStack and Apache Stratos
Building a Paa s with CloudStack and Apache StratosBuilding a Paa s with CloudStack and Apache Stratos
Building a Paa s with CloudStack and Apache StratosLakmal Warusawithana
 
Apache stratos roadmap and strategy
Apache stratos roadmap and strategyApache stratos roadmap and strategy
Apache stratos roadmap and strategyLakmal Warusawithana
 
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...Lakmal Warusawithana
 
Containerizing the cloud with docker
Containerizing the cloud with dockerContainerizing the cloud with docker
Containerizing the cloud with dockerLakmal Warusawithana
 
Apache Stratos tutorial WSO2Con Europe-2014
Apache Stratos tutorial WSO2Con Europe-2014Apache Stratos tutorial WSO2Con Europe-2014
Apache Stratos tutorial WSO2Con Europe-2014Lakmal Warusawithana
 
An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014Lakmal Warusawithana
 

More from Lakmal Warusawithana (20)

[Lakmal] Automate Microservice to API
[Lakmal] Automate Microservice to API[Lakmal] Automate Microservice to API
[Lakmal] Automate Microservice to API
 
Api Management with Service Mesh
Api Management with Service MeshApi Management with Service Mesh
Api Management with Service Mesh
 
Microservices, Containers, and Beyond
Microservices, Containers, and BeyondMicroservices, Containers, and Beyond
Microservices, Containers, and Beyond
 
Container Native Architecture
Container Native ArchitectureContainer Native Architecture
Container Native Architecture
 
Future of Cloud Computing with Containers
Future of Cloud Computing with ContainersFuture of Cloud Computing with Containers
Future of Cloud Computing with Containers
 
DevOps & cloud : Lessons & Stories
DevOps & cloud : Lessons & StoriesDevOps & cloud : Lessons & Stories
DevOps & cloud : Lessons & Stories
 
Unleashing k8 s to reduce complexities of an entire middleware platform
Unleashing k8 s to reduce complexities of an entire middleware platformUnleashing k8 s to reduce complexities of an entire middleware platform
Unleashing k8 s to reduce complexities of an entire middleware platform
 
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
WSO2 Virtual Hackathon Big Data in the Cloud Case StudyWSO2 Virtual Hackathon Big Data in the Cloud Case Study
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
 
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
 
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
 
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015Deep dive into Apache Stratos & Private PaaS   WSO2Con EU 2015
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
PaaS: An Introduction
PaaS: An IntroductionPaaS: An Introduction
PaaS: An Introduction
 
How to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackHow to deploy your own private cloud with openstack
How to deploy your own private cloud with openstack
 
Building a Paa s with CloudStack and Apache Stratos
Building a Paa s with CloudStack and Apache StratosBuilding a Paa s with CloudStack and Apache Stratos
Building a Paa s with CloudStack and Apache Stratos
 
Apache stratos roadmap and strategy
Apache stratos roadmap and strategyApache stratos roadmap and strategy
Apache stratos roadmap and strategy
 
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
 
Containerizing the cloud with docker
Containerizing the cloud with dockerContainerizing the cloud with docker
Containerizing the cloud with docker
 
Apache Stratos tutorial WSO2Con Europe-2014
Apache Stratos tutorial WSO2Con Europe-2014Apache Stratos tutorial WSO2Con Europe-2014
Apache Stratos tutorial WSO2Con Europe-2014
 
An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014An introduction to wso2 private paas wso2coneu-2014
An introduction to wso2 private paas wso2coneu-2014
 

Recently uploaded

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Recently uploaded (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Introducing apache stratos (incubating) & wso2 paa s foundation

  • 1. Introducing Apache Stratos (Incubating) & WSO2 PaaS Foundation Lakmal Warusawithana WSO2 Inc Software Architect Afkham Azeez WSO2 Inc Director, Architecture
  • 2. What is a middleware Platform?
  • 3. What is a middleware Platform?
  • 4. What is a middleware Platform?
  • 5. What is Platform as a Service?
  • 6. What is Apache Stratos? ● ● ● ● ● ● ● ● A Platform-as-a-Service (PaaS) Framework Initially it was WSO2 Stratos, developed and maintained by WSO2. Recently donated to Apache and now it is in incubation. Deploys onto an Infrastructure-as-a-Service (IaaS) Including Amazon EC2, VMWare vCloud, OpenStack...etc Creates a secure, multi-tenant, elastic, metered, billed PaaS Supports private, public or hybrid PaaS. Capable of cloud bursting Can enable multiple flavours of PaaS: Application PaaS (aPaaS), Integration PaaS (iPaaS), Data PaaS (dPaaS), etc
  • 7. Apache Stratos 3.0 Architecture
  • 8. Stratos Core Components - CC ● ● ● ● ● ● ● Communicate to IaaS level Jclouds API. Enables your system to scale across multiple IaaS providers Is the central location where the service topology resides Responsible for sharing the service topology among Stratos 3.0 core services Supports hot update and deployment of its configuration files Currently production support in AWS EC2, SUSECloud and Openstack, experimental support for vCloud Enables cloud burst your system across multiple IaaS providers.
  • 10. Stratos Core Components - ELB ● ● Failover, auto-scaling and multi-tenancy Single load balancer route incoming requests to clusters of different services in a tenant-aware manner ● IaaS independent elasticity ● Simple textual configuration language ● Private Jet Mode for tenants ● Some tenants load to deploy in a single tenant mode ● Cloud Bursting to hybrid clouds
  • 12. Stratos Cartridges ● ● ● ● ● A component which can be plugged into Stratos, so that it can use Stratos core services of the Foundation Layer Cloud-aware platform environment extending legacy technologies into the cloud and delivering cloud benefits Stratos operations teams may create custom cartridges and host any application, container, or framework in a Stratos Cloud. (Eg: A custom cartridge to bring cloud characteristics to IBM Websphere Application Server, IBM WebSphere ESB, Oracle WebLogic, or JBoss SOA Platform) Single tenant or multi-tenanted Process level isolation and instance-level dedicated tenancy
  • 14. Cartridge Tenancy ● A cartridge can operate in two modes: ● Single tenant – – ● Stratos will run and manage a separate instance for each tenant The PHP Cartridge runs this way Multi-tenant – Stratos will run multiple instances partitioned so that sets of tenants run on sets of instances – Each instance of a Cartridge may run more than one tenant
  • 15. User Roles involved in Cartridge Architecture ● Cartridge Creator – – ● Understands the cartridge domain (e.g. PHP) plus Cartridge SPI Creates image and configs (including for different IaaS) Cartridge Deployer (Stratos Admin/DevOps) – ● Registers cartridge with Stratos Cartridge Subscriber(Tenant Admin) – – Scaling parameters – ● Subscribes to the cartridge with Other resources such as persistent file system / DB Cartridge Users – Per-tenant users or developers – Access deployed applications – Upload applications to the cartridge (optional)
  • 17. Lets setup Apache Stratos on EC2
  • 18. Step 1 - setup prerequisites ● ● ● Create a Ubuntu Linux 12.04 m1-xlarge instance on EC2 Install and setup git, unzip and MySQL Server Start a Message Broker (MB) to communicate with the Cloud Controller and other products – Download WSO2 MB from http://wso2.com/products/message-broker/ and extract it into a preferred location – If the extracted directory is WSO2MB_HOME, in the WSO2MB_HOME/repository/conf/carbon.xml file change the port offset value to 5. – Config Java HOME – Start the MB server with the wso2server.sh script at WSO2MB_HOME/bin
  • 19. Step 2 - Build Apache Stratos (incubating) from source code ● git clone --branch 3.0.0-incubating https://git-wip-us.apache.org/repos/asf/incubator-strato s.git ● cd incubator-stratos ● mvn clean install ● It will create 4 products (cloud-controller, stratos-controller, elb, stratos-agent) in following folders – incubator-stratos/products/<product>/modules/distributi on/target/
  • 20. Step 3 – install and config the PaaS ● ● ● ● ● ● cd tools/stratos-installer Create folder and copy all build products into the folder. Download the MySql Java connector and copy the JAR file to the above folder Create and download the key pair from IaaS. Open up the security rules on the IaaSs with the specified ports, which needs to be defined in the ./conf/setup.conf Update the ./conf/setup.conf file and configure the parameters. sudo ./setup.sh -p "all"
  • 21. Now your Apache Stratos is ready use!!!
  • 22.
  • 23. Demo – Usage if the Stratos ● Tenant creation ● Wordpress deployment – – ● Subscribing to MySQL Subscribing PHP Artifact distribution – Manual sync – Automated sync ● Domain mapping ● Auto Scaling
  • 24.
  • 25. Demo – Create WSO2 App Server Cartridge
  • 26.