SlideShare a Scribd company logo
1 of 18
Download to read offline
Last Updated: March. 2014
VP	
  Developer	
  Evangalism	
  	
  
Samisa	
  Abeysinghe	
  
Building	
  a	
  Cloud	
  Na5ve	
  
Pla8orm	
  with	
  Apache	
  
Stratos	
  
*	
  *	
  
๏  Cloud	
  Na)ve	
  pla-orms	
  accelerates	
  innova)on,	
  
increases	
  opera)onal	
  efficiency,	
  reduces	
  costs	
  
๏  The	
  key	
  building	
  blocks	
  of	
  the	
  cloud	
  na)ve	
  pla-orms	
  
are	
  
	
   	
  	
  -­‐	
  service	
  provisioning	
  
	
   	
  	
  -­‐	
  load	
  balancing	
  
	
   	
  	
  -­‐	
  management	
  
	
   	
  	
  -­‐	
  policy	
  enforcement	
  
	
   	
  	
  -­‐	
  auto	
  scaling	
  
	
   	
  	
  -­‐	
  monitoring,	
  metering	
  and	
  logging	
  
	
   	
  	
  -­‐	
  mul)-­‐tenancy	
  
	
   	
  	
  -­‐	
  mul)-­‐cloud,	
  cloud	
  SLA	
  and	
  cloud	
  burs)ng	
  
	
   	
  	
  -­‐	
  control/governance	
  
	
   	
  	
  -­‐	
  extendability	
  
Cloud	
  Na5ve	
  Pla8orm	
  
*	
  *	
  
๏  Enterprise-­‐grade	
  Open	
  Pla-orm	
  as	
  a	
  Service	
  
๏  Stratos	
  ini)ally	
  developed	
  by	
  WSO2	
  and	
  donated	
  to	
  
Apache	
  Stratos	
  
What	
  is	
  Apache	
  Stratos	
  (incuba5ng)?	
  
*	
  *	
  
Apache	
  Stratos	
  PaaS	
  Layered	
  Architecture	
  
*	
  *	
  
Why	
  is	
  this	
  architecture	
  so	
  important?	
  
๏  Cartridge	
  model	
  enable	
  bringing	
  in	
  even	
  legacy	
  apps	
  
into	
  cloud	
  
๏  Unified	
  communica)on	
  across	
  components	
  in	
  the	
  PaaS	
  
using	
  message	
  broker	
  	
  
๏  Centralized	
  monitoring	
  and	
  metering	
  with	
  unified	
  
logging	
  framework	
  
	
   	
  	
  -­‐	
  ability	
  to	
  plug	
  in	
  BAM	
  
๏  Ability	
  to	
  plugin	
  any	
  IaaS	
  due	
  to	
  the	
  use	
  of	
  jclouds	
  API	
  
๏  Ability	
  to	
  plugin	
  any	
  third	
  party	
  load	
  balancer	
  using	
  
message	
  broker	
  model	
  
๏  Ability	
  to	
  plugin	
  any	
  third	
  party	
  health	
  checking/
monitoring	
  framework	
  
Apache	
  Stratos	
  PaaS	
  Architecture	
  
*	
  *	
  
How	
  Scalable	
  it	
  is?	
  
๏  In	
  theory	
  infinite	
  
	
   	
  -­‐	
  horizontal	
  scaling	
  
	
   	
  -­‐	
  limited	
  by	
  resource	
  (instance	
  capacity)	
  	
  
availability	
  
How	
  Dynamic	
  it	
  is?	
  
๏  Load	
  Balancers	
  are	
  spawned	
  dynamically	
  
	
  -­‐	
  LB	
  too	
  is	
  a	
  cartridge	
  
๏  In	
  case	
  of	
  mul)-­‐cloud,	
  mul)-­‐region,	
  LB	
  can	
  scale	
  per	
  
cloud/region	
  
๏  Per	
  service	
  cluster	
  LB	
  
Scalable	
  and	
  Dynamic	
  Load	
  Balancing	
  
*	
  *	
  
What	
  is	
  unique	
  about	
  Stratos/Private	
  PaaS	
  
๏  Cartridge	
  based	
  LB	
  model	
  
๏  Can	
  bring	
  any	
  third-­‐party	
  LB	
  
	
   	
  -­‐	
  HAProxy,	
  nginx	
  
	
   	
  -­‐	
  As	
  easy	
  as	
  plugging	
  into	
  LB	
  extension	
  API	
  
Scalable	
  and	
  Dynamic	
  Load	
  Balancing..	
  
*	
  *	
  
What	
  is	
  it?	
  
๏  Scaling	
  algorithm	
  can	
  use	
  mul)ple	
  factors.	
  such	
  as	
  
	
   	
  -­‐	
  Load	
  avarage	
  of	
  the	
  instance	
  
	
   	
  -­‐	
  Memory	
  consump)on	
  of	
  the	
  instance	
  
	
   	
  -­‐	
  In-­‐flight	
  request	
  count	
  in	
  LB	
  
๏  Capable	
  of	
  predic)ng	
  future	
  load	
  
	
   	
  -­‐	
  Real	
  )me	
  analysis	
  of	
  current	
  load	
  status	
  using	
  
CEP	
  	
  
	
  	
  	
  integra)on	
  
-­‐	
  Predict	
  immediate	
  future	
  load	
  based	
  on	
  CEP	
  	
  
	
  	
  	
  resul)ng	
  streams	
  	
  
Mul5-­‐factored	
  Auto	
  Scaling	
  
*	
  *	
  
Why	
  should	
  one	
  care?	
  
๏  Maximise	
  resource	
  u)liza)on	
  
๏  Easy	
  to	
  do	
  capacity	
  planning	
  
๏  Dynamic	
  load	
  based	
  resource	
  provisioning	
  
๏  Op)mizing	
  across	
  mul)ple	
  clouds	
  
What	
  are	
  the	
  advantages?	
  
๏  Make	
  DevOps	
  life	
  easy	
  
๏  More	
  accurate	
  capacity	
  planning	
  
Mul5-­‐factored	
  Auto	
  Scaling...	
  
*	
  *	
  
What	
  are	
  the	
  smart	
  policies?	
  
๏  Auto	
  scaling	
  
๏  Deployment	
  
Auto	
  scaling	
  policy	
  
๏  Define	
  thresholds	
  values	
  pertaining	
  scale	
  up/down	
  
decision	
  	
  
๏  Auto	
  Scaler	
  refer	
  this	
  policy	
  
๏  Defined	
  by	
  DevOps	
  
Deployment	
  policy	
  
๏  Defined	
  how	
  and	
  where	
  to	
  spawn	
  cartridge	
  instances	
  
๏  Defined	
  min	
  and	
  max	
  instances	
  in	
  a	
  selected	
  service	
  
cluster	
  
๏  Defined	
  by	
  DevOps	
  based	
  on	
  deployment	
  paYerns	
  
Smart	
  Policies	
  
*	
  *	
  
Why	
  should	
  one	
  care?	
  
๏  Can	
  provide	
  cloud	
  SLA	
  
What	
  are	
  the	
  advantages?	
  
๏  Make	
  DevOps	
  life	
  easy	
  
	
   	
  -­‐	
  help	
  keep	
  to	
  SLA	
  
๏  Make	
  SaaS	
  app	
  delivery	
  life	
  easy	
  
	
   	
  -­‐	
  do	
  not	
  have	
  to	
  worry	
  about	
  availability	
  in	
  
applica)on	
  
	
  	
  	
  layer	
  	
  
Smart	
  Policies	
  
*	
  *	
  
What	
  MT	
  model	
  does	
  it	
  support?	
  
๏  Container	
  MT	
  
	
   	
  -­‐	
  virtual	
  Machine,	
  LXC,	
  Docker	
  
๏  In-­‐container	
  MT	
  
	
   	
  -­‐	
  within	
  VM/LXC/Docker	
  tenancy	
  
What	
  is	
  unique?	
  
๏  Can	
  have	
  high	
  tenant	
  density	
  
What	
  are	
  the	
  advantage	
  of	
  this	
  model?	
  
๏  Op)mizing	
  resource	
  u)liza)on	
  
	
   	
  -­‐	
  by	
  sharing	
  resource	
  such	
  as	
  CPU,	
  memory	
  
across	
  	
  
	
  	
  	
  tenants	
  
-­‐	
  low	
  footprint,	
  based	
  on	
  u)liza)on/usage	
  of	
  the	
  	
  
	
  	
  	
  tenants	
  app	
  
๏  No	
  need	
  dedicated	
  resource	
  alloca)on	
  for	
  tenants	
  
Mul5-­‐tenancy	
  
*	
  *	
  
What	
  is	
  a	
  Par55on?	
  
๏  Logically	
  group	
  IaaS	
  resource	
  loca)ons	
  
๏  Par))ons	
  are	
  important	
  to	
  make	
  applica)on	
  high	
  
availability	
  
๏  Cartridge	
  instances	
  are	
  spawned	
  inside	
  these	
  par))ons	
  
๏  Par))ons	
  are	
  defined	
  by	
  DevOps	
  
What	
  is	
  a	
  network	
  par55on?	
  
๏  Logical	
  groups	
  mul)ple	
  par))ons,	
  that	
  are	
  in	
  the	
  same	
  
network	
  
๏  Stratos	
  will	
  spawn	
  Load	
  Balancers	
  per	
  network	
  par))on	
  
๏  Since	
  LB	
  instances	
  and	
  cartridge	
  instances	
  reside	
  in	
  
same	
  network,	
  they	
  can	
  communicate	
  using	
  private	
  IP	
  
addresses	
  
๏  Used	
  in	
  deployment	
  policies	
  
Controlling	
  IaaS	
  Resources	
  
*	
  *	
  
What	
  are	
  the	
  advantages?	
  
๏  Can	
  controll	
  
	
   	
  -­‐	
  per	
  cloud,	
  per	
  region,	
  per	
  zone,	
  ...etc	
  
๏  Can	
  achieve	
  high	
  availability,	
  disaster	
  recovery	
  
๏  Help	
  for	
  cloud	
  SLA	
  
๏  Control	
  the	
  resource	
  u)liza)on	
  
๏  Help	
  with	
  geo	
  based	
  deployments	
  
	
   	
  -­‐	
  help	
  comply	
  with	
  geo	
  rules/regula)ons	
  
Controlling	
  IaaS	
  Resources	
  
*	
  *	
  
What	
  is	
  it?	
  
๏  Expanding/provisioning	
  applica)on	
  into	
  another	
  cloud	
  
to	
  handle	
  peak	
  load.	
  
Why	
  Should	
  one	
  care?	
  
๏  Resource	
  peak	
  )me	
  can	
  be	
  off-­‐loaded	
  to	
  third	
  party	
  
clouds/resources	
  
What	
  is	
  unique	
  about	
  it?	
  
๏  Can	
  off-­‐load	
  to	
  any	
  cloud	
  
-­‐	
  Private,	
  Public	
  and	
  Hybrid	
  
๏  Easy	
  to	
  managed	
  with	
  the	
  model	
  of	
  LB	
  per	
  bus)ng	
  
cloud	
  
Cloud	
  Burs5ng	
  
*	
  *	
  
What	
  are	
  the	
  advantages?	
  
๏  Make	
  DevOps	
  life	
  easy	
  
๏  Low	
  TCO,	
  and	
  higher	
  u)liza)on	
  exis)ng	
  dedicated	
  
resources	
  
Cloud	
  Burs5ng...	
  
*	
  *	
  
How	
  detail	
  it	
  is?	
  
๏  Instance	
  up/down	
  )me	
  
๏  Each	
  and	
  every	
  instance	
  public	
  health	
  status	
  
	
   	
  -­‐	
  applica)on	
  health,	
  OS	
  health	
  like	
  load	
  average,	
  	
  
	
  	
  memory	
  consump)on	
  	
  
๏  Applica)on	
  logs	
  
Why	
  should	
  one	
  care?	
  
๏  Centralize	
  view	
  for	
  all	
  logging,	
  metering	
  and	
  monitoring	
  
What	
  are	
  the	
  advantages?	
  
๏  DevOps	
  life	
  easy	
  
	
   	
  -­‐	
  centralize	
  log	
  viewer	
  
	
   	
  -­‐	
  centralize	
  dashboard	
  
๏  Easy	
  to	
  throYling	
  
Logging,	
  Metering	
  and	
  Monitoring	
  
*	
  *	
  
More	
  Informa5on	
  !	
  
๏  Apache Stratos (Incubating)
- http://stratos.incubator.apache.org/
๏  WSO2 Private PaaS
- http://wso2.com/cloud/private-paas/

More Related Content

What's hot

NetflixOSS meetup lightning talks and roadmap
NetflixOSS meetup lightning talks and roadmapNetflixOSS meetup lightning talks and roadmap
NetflixOSS meetup lightning talks and roadmapRuslan Meshenberg
 
Containers and CloudStack
Containers and CloudStackContainers and CloudStack
Containers and CloudStackShapeBlue
 
Introduction and news
Introduction and newsIntroduction and news
Introduction and newsShapeBlue
 
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
 Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E... Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...ShapeBlue
 
Paul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackPaul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackShapeBlue
 
Introduction and CloudStack news
Introduction and CloudStack newsIntroduction and CloudStack news
Introduction and CloudStack newsShapeBlue
 
Boyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceBoyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceShapeBlue
 
Managing Ceph operational complexity with Juju
Managing Ceph operational complexity with JujuManaging Ceph operational complexity with Juju
Managing Ceph operational complexity with JujuShapeBlue
 
Directions for CloudStack Networking
Directions for CloudStack  NetworkingDirections for CloudStack  Networking
Directions for CloudStack NetworkingChiradeep Vittal
 
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...Jelastic Multi-Cloud PaaS
 
OpenStack HA
OpenStack HAOpenStack HA
OpenStack HAtcp cloud
 
Kubernetes User Group: 維運 Kubernetes 的兩三事
Kubernetes User Group: 維運 Kubernetes 的兩三事Kubernetes User Group: 維運 Kubernetes 的兩三事
Kubernetes User Group: 維運 Kubernetes 的兩三事smalltown
 
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
Adam Dagnall: Advanced S3 compatible storage integration in CloudStackAdam Dagnall: Advanced S3 compatible storage integration in CloudStack
Adam Dagnall: Advanced S3 compatible storage integration in CloudStackShapeBlue
 
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVMSven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVMShapeBlue
 
CloudStack news
CloudStack newsCloudStack news
CloudStack newsShapeBlue
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...ShapeBlue
 
OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...
OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...
OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...OpenNebula Project
 
XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert ShapeBlue
 
Brian Bulkowski : what startups can learn from real-time bidding
Brian Bulkowski : what startups can learn from real-time biddingBrian Bulkowski : what startups can learn from real-time bidding
Brian Bulkowski : what startups can learn from real-time biddingAerospike
 
Ceph Management and Monitoring with Dashboard v2 - Lenz Grimmer
Ceph Management and Monitoring with Dashboard v2 - Lenz GrimmerCeph Management and Monitoring with Dashboard v2 - Lenz Grimmer
Ceph Management and Monitoring with Dashboard v2 - Lenz GrimmerCeph Community
 

What's hot (20)

NetflixOSS meetup lightning talks and roadmap
NetflixOSS meetup lightning talks and roadmapNetflixOSS meetup lightning talks and roadmap
NetflixOSS meetup lightning talks and roadmap
 
Containers and CloudStack
Containers and CloudStackContainers and CloudStack
Containers and CloudStack
 
Introduction and news
Introduction and newsIntroduction and news
Introduction and news
 
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
 Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E... Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
 
Paul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackPaul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStack
 
Introduction and CloudStack news
Introduction and CloudStack newsIntroduction and CloudStack news
Introduction and CloudStack news
 
Boyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceBoyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experience
 
Managing Ceph operational complexity with Juju
Managing Ceph operational complexity with JujuManaging Ceph operational complexity with Juju
Managing Ceph operational complexity with Juju
 
Directions for CloudStack Networking
Directions for CloudStack  NetworkingDirections for CloudStack  Networking
Directions for CloudStack Networking
 
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
 
OpenStack HA
OpenStack HAOpenStack HA
OpenStack HA
 
Kubernetes User Group: 維運 Kubernetes 的兩三事
Kubernetes User Group: 維運 Kubernetes 的兩三事Kubernetes User Group: 維運 Kubernetes 的兩三事
Kubernetes User Group: 維運 Kubernetes 的兩三事
 
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
Adam Dagnall: Advanced S3 compatible storage integration in CloudStackAdam Dagnall: Advanced S3 compatible storage integration in CloudStack
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
 
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVMSven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
 
CloudStack news
CloudStack newsCloudStack news
CloudStack news
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
 
OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...
OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...
OpenNebulaConf2015 1.06 Fermilab Virtual Facility: Data-Intensive Computing i...
 
XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert
 
Brian Bulkowski : what startups can learn from real-time bidding
Brian Bulkowski : what startups can learn from real-time biddingBrian Bulkowski : what startups can learn from real-time bidding
Brian Bulkowski : what startups can learn from real-time bidding
 
Ceph Management and Monitoring with Dashboard v2 - Lenz Grimmer
Ceph Management and Monitoring with Dashboard v2 - Lenz GrimmerCeph Management and Monitoring with Dashboard v2 - Lenz Grimmer
Ceph Management and Monitoring with Dashboard v2 - Lenz Grimmer
 

Similar to Building a cloud native platform with Apache PaaS

QCon New York 2014 - Apache Stratos
QCon New York 2014  - Apache StratosQCon New York 2014  - Apache Stratos
QCon New York 2014 - Apache StratosSamisa Abeysinghe
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSWSO2
 
ApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaSApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaSLakmal Warusawithana
 
PaaS Design & Architecture: A Deep Dive into Apache Stratos
PaaS Design & Architecture: A Deep Dive into Apache StratosPaaS Design & Architecture: A Deep Dive into Apache Stratos
PaaS Design & Architecture: A Deep Dive into Apache StratosWSO2
 
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
 
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
 
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
 
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaSWSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaSWSO2
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSLakmal 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
 
Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...
Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...
Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...Veritas Technologies LLC
 
Openstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformOpenstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformNagaraj Shenoy
 
Introductory webinar-composite-app-2
Introductory webinar-composite-app-2Introductory webinar-composite-app-2
Introductory webinar-composite-app-2Reka Ajanthan
 
Multi-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud ComputingMulti-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud ComputingWSO2
 
IBM Cloud Integration Platform High Availability - Integration Tech Conference
IBM Cloud Integration Platform High Availability - Integration Tech ConferenceIBM Cloud Integration Platform High Availability - Integration Tech Conference
IBM Cloud Integration Platform High Availability - Integration Tech ConferenceRobert Nicholson
 
Java PaaS Apache Stratos
Java PaaS   Apache StratosJava PaaS   Apache Stratos
Java PaaS Apache StratosChris Haddad
 
Apache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxApache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxPaul Fremantle
 

Similar to Building a cloud native platform with Apache PaaS (20)

QCon New York 2014 - Apache Stratos
QCon New York 2014  - Apache StratosQCon New York 2014  - Apache Stratos
QCon New York 2014 - Apache Stratos
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
 
ApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaSApacheCon Essential Elements of an Enterprise PaaS
ApacheCon Essential Elements of an Enterprise PaaS
 
PaaS Design & Architecture: A Deep Dive into Apache Stratos
PaaS Design & Architecture: A Deep Dive into Apache StratosPaaS Design & Architecture: A Deep Dive into Apache Stratos
PaaS Design & Architecture: A Deep Dive into Apache Stratos
 
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
 
PaaS: An Introduction
PaaS: An IntroductionPaaS: An Introduction
PaaS: An Introduction
 
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
 
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
 
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaSWSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
 
Demystifying the cloud
Demystifying the cloudDemystifying the cloud
Demystifying the cloud
 
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 ...
 
Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...
Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...
Cloud Bursting: Leveraging the Cloud to Maintain App Performance during Peak ...
 
Openstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformOpenstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platform
 
Introductory webinar-composite-app-2
Introductory webinar-composite-app-2Introductory webinar-composite-app-2
Introductory webinar-composite-app-2
 
Multi-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud ComputingMulti-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud Computing
 
IBM Cloud Integration Platform High Availability - Integration Tech Conference
IBM Cloud Integration Platform High Availability - Integration Tech ConferenceIBM Cloud Integration Platform High Availability - Integration Tech Conference
IBM Cloud Integration Platform High Availability - Integration Tech Conference
 
Java PaaS Apache Stratos
Java PaaS   Apache StratosJava PaaS   Apache Stratos
Java PaaS Apache Stratos
 
Apache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxApache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and Equinox
 
Un-clouding the cloud
Un-clouding the cloudUn-clouding the cloud
Un-clouding the cloud
 

Recently uploaded

Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesMohammad Hassany
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxraviapr7
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxraviapr7
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 

Recently uploaded (20)

Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming Classes
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptx
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptx
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 

Building a cloud native platform with Apache PaaS

  • 1. Last Updated: March. 2014 VP  Developer  Evangalism     Samisa  Abeysinghe   Building  a  Cloud  Na5ve   Pla8orm  with  Apache   Stratos  
  • 2. *  *   ๏  Cloud  Na)ve  pla-orms  accelerates  innova)on,   increases  opera)onal  efficiency,  reduces  costs   ๏  The  key  building  blocks  of  the  cloud  na)ve  pla-orms   are        -­‐  service  provisioning        -­‐  load  balancing        -­‐  management        -­‐  policy  enforcement        -­‐  auto  scaling        -­‐  monitoring,  metering  and  logging        -­‐  mul)-­‐tenancy        -­‐  mul)-­‐cloud,  cloud  SLA  and  cloud  burs)ng        -­‐  control/governance        -­‐  extendability   Cloud  Na5ve  Pla8orm  
  • 3. *  *   ๏  Enterprise-­‐grade  Open  Pla-orm  as  a  Service   ๏  Stratos  ini)ally  developed  by  WSO2  and  donated  to   Apache  Stratos   What  is  Apache  Stratos  (incuba5ng)?  
  • 4. *  *   Apache  Stratos  PaaS  Layered  Architecture  
  • 5. *  *   Why  is  this  architecture  so  important?   ๏  Cartridge  model  enable  bringing  in  even  legacy  apps   into  cloud   ๏  Unified  communica)on  across  components  in  the  PaaS   using  message  broker     ๏  Centralized  monitoring  and  metering  with  unified   logging  framework        -­‐  ability  to  plug  in  BAM   ๏  Ability  to  plugin  any  IaaS  due  to  the  use  of  jclouds  API   ๏  Ability  to  plugin  any  third  party  load  balancer  using   message  broker  model   ๏  Ability  to  plugin  any  third  party  health  checking/ monitoring  framework   Apache  Stratos  PaaS  Architecture  
  • 6. *  *   How  Scalable  it  is?   ๏  In  theory  infinite      -­‐  horizontal  scaling      -­‐  limited  by  resource  (instance  capacity)     availability   How  Dynamic  it  is?   ๏  Load  Balancers  are  spawned  dynamically    -­‐  LB  too  is  a  cartridge   ๏  In  case  of  mul)-­‐cloud,  mul)-­‐region,  LB  can  scale  per   cloud/region   ๏  Per  service  cluster  LB   Scalable  and  Dynamic  Load  Balancing  
  • 7. *  *   What  is  unique  about  Stratos/Private  PaaS   ๏  Cartridge  based  LB  model   ๏  Can  bring  any  third-­‐party  LB      -­‐  HAProxy,  nginx      -­‐  As  easy  as  plugging  into  LB  extension  API   Scalable  and  Dynamic  Load  Balancing..  
  • 8. *  *   What  is  it?   ๏  Scaling  algorithm  can  use  mul)ple  factors.  such  as      -­‐  Load  avarage  of  the  instance      -­‐  Memory  consump)on  of  the  instance      -­‐  In-­‐flight  request  count  in  LB   ๏  Capable  of  predic)ng  future  load      -­‐  Real  )me  analysis  of  current  load  status  using   CEP          integra)on   -­‐  Predict  immediate  future  load  based  on  CEP          resul)ng  streams     Mul5-­‐factored  Auto  Scaling  
  • 9. *  *   Why  should  one  care?   ๏  Maximise  resource  u)liza)on   ๏  Easy  to  do  capacity  planning   ๏  Dynamic  load  based  resource  provisioning   ๏  Op)mizing  across  mul)ple  clouds   What  are  the  advantages?   ๏  Make  DevOps  life  easy   ๏  More  accurate  capacity  planning   Mul5-­‐factored  Auto  Scaling...  
  • 10. *  *   What  are  the  smart  policies?   ๏  Auto  scaling   ๏  Deployment   Auto  scaling  policy   ๏  Define  thresholds  values  pertaining  scale  up/down   decision     ๏  Auto  Scaler  refer  this  policy   ๏  Defined  by  DevOps   Deployment  policy   ๏  Defined  how  and  where  to  spawn  cartridge  instances   ๏  Defined  min  and  max  instances  in  a  selected  service   cluster   ๏  Defined  by  DevOps  based  on  deployment  paYerns   Smart  Policies  
  • 11. *  *   Why  should  one  care?   ๏  Can  provide  cloud  SLA   What  are  the  advantages?   ๏  Make  DevOps  life  easy      -­‐  help  keep  to  SLA   ๏  Make  SaaS  app  delivery  life  easy      -­‐  do  not  have  to  worry  about  availability  in   applica)on        layer     Smart  Policies  
  • 12. *  *   What  MT  model  does  it  support?   ๏  Container  MT      -­‐  virtual  Machine,  LXC,  Docker   ๏  In-­‐container  MT      -­‐  within  VM/LXC/Docker  tenancy   What  is  unique?   ๏  Can  have  high  tenant  density   What  are  the  advantage  of  this  model?   ๏  Op)mizing  resource  u)liza)on      -­‐  by  sharing  resource  such  as  CPU,  memory   across          tenants   -­‐  low  footprint,  based  on  u)liza)on/usage  of  the          tenants  app   ๏  No  need  dedicated  resource  alloca)on  for  tenants   Mul5-­‐tenancy  
  • 13. *  *   What  is  a  Par55on?   ๏  Logically  group  IaaS  resource  loca)ons   ๏  Par))ons  are  important  to  make  applica)on  high   availability   ๏  Cartridge  instances  are  spawned  inside  these  par))ons   ๏  Par))ons  are  defined  by  DevOps   What  is  a  network  par55on?   ๏  Logical  groups  mul)ple  par))ons,  that  are  in  the  same   network   ๏  Stratos  will  spawn  Load  Balancers  per  network  par))on   ๏  Since  LB  instances  and  cartridge  instances  reside  in   same  network,  they  can  communicate  using  private  IP   addresses   ๏  Used  in  deployment  policies   Controlling  IaaS  Resources  
  • 14. *  *   What  are  the  advantages?   ๏  Can  controll      -­‐  per  cloud,  per  region,  per  zone,  ...etc   ๏  Can  achieve  high  availability,  disaster  recovery   ๏  Help  for  cloud  SLA   ๏  Control  the  resource  u)liza)on   ๏  Help  with  geo  based  deployments      -­‐  help  comply  with  geo  rules/regula)ons   Controlling  IaaS  Resources  
  • 15. *  *   What  is  it?   ๏  Expanding/provisioning  applica)on  into  another  cloud   to  handle  peak  load.   Why  Should  one  care?   ๏  Resource  peak  )me  can  be  off-­‐loaded  to  third  party   clouds/resources   What  is  unique  about  it?   ๏  Can  off-­‐load  to  any  cloud   -­‐  Private,  Public  and  Hybrid   ๏  Easy  to  managed  with  the  model  of  LB  per  bus)ng   cloud   Cloud  Burs5ng  
  • 16. *  *   What  are  the  advantages?   ๏  Make  DevOps  life  easy   ๏  Low  TCO,  and  higher  u)liza)on  exis)ng  dedicated   resources   Cloud  Burs5ng...  
  • 17. *  *   How  detail  it  is?   ๏  Instance  up/down  )me   ๏  Each  and  every  instance  public  health  status      -­‐  applica)on  health,  OS  health  like  load  average,        memory  consump)on     ๏  Applica)on  logs   Why  should  one  care?   ๏  Centralize  view  for  all  logging,  metering  and  monitoring   What  are  the  advantages?   ๏  DevOps  life  easy      -­‐  centralize  log  viewer      -­‐  centralize  dashboard   ๏  Easy  to  throYling   Logging,  Metering  and  Monitoring  
  • 18. *  *   More  Informa5on  !   ๏  Apache Stratos (Incubating) - http://stratos.incubator.apache.org/ ๏  WSO2 Private PaaS - http://wso2.com/cloud/private-paas/