SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler 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/

Mais conteúdo relacionado

Mais procurados

NetflixOSS meetup lightning talks and roadmap
NetflixOSS meetup lightning talks and roadmapNetflixOSS meetup lightning talks and roadmap
NetflixOSS meetup lightning talks and roadmap
Ruslan Meshenberg
 

Mais procurados (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
 

Semelhante a Building a cloud native platform with Apache 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
Lakmal Warusawithana
 
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
WSO2
 
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
Lakmal Warusawithana
 
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
WSO2
 
Essential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaSEssential Elements of an Enterprise PaaS
Essential Elements of an Enterprise PaaS
Lakmal Warusawithana
 

Semelhante a 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
 

Último

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

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/