WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

72
Cloud Na)ve Apps… from a user point of view Alexis Richardson CEO, Weaveworks WSO2 keynote – June 2 nd 2015

Transcript of WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Page 1: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Cloud  Na)ve  Apps…    from  a  user  point  of  view  

Alexis  Richardson  CEO,  Weaveworks  

 WSO2  keynote  –  June  2nd  2015    

Page 2: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

About  me  

•  Metalogic  •  Cohesive  Networks  (La  CohesiveFT)  •  RabbitMQ  •  VMware  /  Pivotal  –  vFabric,  Spring,  Redis,  Cloud  Foundry  (and  even  OpenStack..)  et  al.  

•  Weaveworks  

Page 3: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Why  start  another  company?  

Page 4: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

2015  

Page 5: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

2015      

Like  1995  but  1000x  more  awesome(*)          

(*)  if  you  want  to  make  customers  happy  using  soXware  

Page 6: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

2015      

Like  1995  but  1000x  more  awesome(*)          

(*)  if  you  want  to  make  customers  happy  using  soXware  

Page 7: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

All  Hail  Mary  Meeker  hYp://www.kpcb.com/internet-­‐trends    

Page 8: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Global  

Page 9: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 10: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Top  5  public  eCommerce  companies  approx  same  $volume  as  Swiss  GDP  

Page 11: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Mobile  

Page 12: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 13: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 14: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

On  Demand  

Page 15: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 16: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 17: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

What  ma?ers?  

Page 18: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

ME  

Page 19: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 20: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

xxx  

Our  North  Star  is  to  win  more  of  our  members’  “moments  of  truth”  

Page 21: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Our  North  Star  is  to  win  more  of  our  members’  “moments  of  truth”.      Those  decision  moments  are,  say,  on  Thursday  7:15  pm  or  Monday  2:40  am  when  our  member  wants  to  relax,  enjoy  a  shared  experience  with  friends  and  family,  or  is  just  bored.  They  could  play  a  video  game,  surf  the  web,  read  a  magazine,  channel  surf  their  MVPD/DVR  system,  buy  a  pay-­‐per-­‐view  movie,  put  on  a  DVD,  turn  on  Hulu  or  Amazon  Prime,  or  they  could  tap  on  Neglix.  We  want  our  members  to  choose  Neglix  in  these  moments  of  truth.    We  win  those  moments  of  truth  when  members  expect,  based  on  their  prior  experience  with  us,  that  Neglix  will  be  pleasurable,  compared  to  all  those  other  op)ons.  The  pleasure  comes  from  our  simple  experience  for  choosing,  control  over  when  to  start/pause/resume  the  video,  and  from  content  that  suits  their  taste  and  their  mood.    When  we  deliver  enjoyment,  members  watch  more  Neglix,  con)nue  their  membership,  and  evangelize  Neglix  to  their  friends.  

Page 22: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 23: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

2015  –  NeClix  has  60M+  subscribers,  adding  >4M  per  quarter  

Page 24: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Implica)ons  for  everyone  else?  

Page 25: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 26: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 27: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

YOU  

Page 28: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Key  takeaways  so  far  

•  On  demand  services,  powered  by  soXware,  are  the  new  MUST  HAVE    

•  And  they  are  core  to  your  business  –  cannot  be  outsourced  

•  Businesses:  ally  with  developers  or  die  

Page 29: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 30: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

The  Technology  

What  developers  need  to  know  

Page 31: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

2015  “must  have”  requirements  

• Self  Service  • Agile  &  Always  On    • Flexible  Deployment      

Page 32: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Implica)ons  of  Self  Service  

•  1-­‐click  install  &  uninstall    •  Pay  per  use,  never  pay  to  set  up  &  provision  •  Global  scale  &  customer  base  •  Measure  everything  •  Test  &  adapt  &  upgrade  in  real  )me  à   PROFIT!  

For  Developers  –  customer  “me  want  it  NOW”    

Page 33: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Best  way  of  think  about  this?    App  Store  

Page 34: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Agile + Always On à DevOps

Page 35: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

DevOps  Example  •  Target,  talk  at  DevOps  enterprise  summit,  2014  

•  Release  frequency  UP  100x      –  1/quarter  à  100/quarter  

•  Release  size  DOWN  -­‐  100x    •  Errors  and  produc)on  issues  DOWN  by  90%  •  Costs  DOWN  by  50%    

For  developers:  •  Same  team,  much  less  waste,  beYer  products,  happier  customers,  con)nuous  delivery..  

Page 36: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Take  the  DevOps  test  

1.  Can  you  redeploy  your  en)re  applica)on  in  minutes?  2.  Does  your  applica)on  depend  on  specific  IP  addresses,  ports,  file  

systems,  that  are  not  part  of  the  automated  installa)on?  3.  Can  your  applica)on  survive,  and  auto-­‐recover  from,  infrastructure  

(compute,  network,  storage)  failures?  4.  Can  you  upgrade  and  downgrade,  your  applica)on  (or  parts  of  the  

applica)on)  without  any  impact  to  users?  5.  Can  you  run  mul)ple  versions  of  your  applica)on  services,  in  the  same  

environment  at  the  same  )me?  6.  Can  you  safely  test  in  produc)on?  7.  If  a  part  of  an  applica)on  fails,  will  other  parts  con)nue  to  operate?  8.  Can  parts  of  your  applica)on  scale-­‐up  and  scale-­‐down  automa)cally,  

based  on  user  load  or  other  factors?  9.  Can  you  deploy  applica)on  components  across  cloud  providers?  10.  Can  you  deploy  an  applica)on  component  on  a  different  cloud  provider?  

Jim  Bugwadia  

Page 37: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 38: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

xxx  

Business  value  –  beYer  to  spend  $100M  on  making  House  of  Cards,  than  on  building  a  data  center  

Page 39: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Flexible  Deployment  

•  Cloud  •  Global  infra  for  metered  on  demand  services    •  Super  scalable,  Ideal  for  DevOps,  “Always  On”,  CI  

Implica)on  for  developers  •  Basically  a  RANDOM  environment  •  Can  your  app  pass  the  20%  test?  •  Can  your  app  monitor  &  measure  everything?  

Page 40: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 41: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 42: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Key  Takeaways  so  far!  

•  Developers:  –  Op)mize  for  speed  instead  of  cost  –  Assume  that  cloud  is  random  

 •  This  applies  to:  

–  What  you  design  –  How  you  develop    –  Where  you  deploy  

 In  the  Moment  of  Truth,  the  customer  doesn’t  care  about  you,  they  care  about  “me”  

Page 43: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 44: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Not  just  Neglix,  also:  

GOOGLE  

Page 45: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Google  Scale  for  all?  

•  2  billion  containers  started  per  week    •  100  billion  per  year  •  Google  has  ~1%  of  world’s  servers  

à Current  poten)al  of  100*100B  =  10  trillion  server  side  containers  per  year  globally  

à But  there  are  10-­‐50M  developers  

Page 46: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

AutomaPon  

Page 47: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Choice  

Page 48: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Composable  

Page 49: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Developing  in  the  ‘me’  genera)on  

•  Google  shows  we  need  automa)on  to  scale  •  Developers  tell  us  they  need  choice  •  Reject  “one  size  fits  all”.    Embrace  “composable”  

à  Cloud  Na)ve  

Page 50: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Cloud  Na)ve  Apps  

 

Container  packaged  Dynamically  Scheduled  Micro-­‐services  oriented    

Page 51: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Cloud  Na)ve  Apps  

In  a  nutshell:  everything  is  decoupled  for  scale    Decouple  soXware  from  physical  deployment    Decouple  users  from  service  instances  Decouple  soXware  into  components  

Page 52: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Containers!  

Fast,  Easy,  Portable  Packaging    •  Lightweight  VMs  –  mobile  &  isolated  env.  •  Enables  portability  &  idempotency  •  More  efficient  than  VMs  –  “lean  and  fast”  

•  Docker  adds  “make  it  easy  for  developers”  

Page 53: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

What  is  Docker?  

Page 54: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Docker  at  the  Moment  of  Truth  

•  Jason  Hoffman:  –  I  think  Linux  took  off  because  of  package  management.  I  think  that’s  basically  it.  Docker’s  taking  off  because  it’s  the  new  package  management.  It’s  just  that  simple.  

 

Page 55: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Convenience  

Page 56: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Safety?  

Page 57: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Managing  Docker  in  enterprise  

•  Performance  Management  •  Security  •  Monitoring  •  Provenance    •  Policy  

à  It’s  in  the  (weave)  works    

Page 58: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Dynamically  Scheduled  &  Metered  

•  Mesosphere    •  Kubernetes  &  GKE  •  Docker  Swarm  •  Cloud  Foundry  Diego  /  LazceCF  •  Amazon  ECS  •  Azure?  

à  WSO2  Stratos  uses  Kubernetes,  so  does  Fabric8,  so  does  OpenShiX…  

Page 59: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Microservices  

Page 60: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

All  Hail  Adrian  CockroU  hYp://www.slideshare.net/adriancockcroX/dockercon-­‐state-­‐of-­‐the-­‐art-­‐in-­‐microservices    

Page 61: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 62: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 63: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 64: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 65: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 66: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Wix  

Page 67: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 68: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
Page 69: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Summary  

• User  needs  have  changed  •  Business  needs  lots  more  developers  •  Cloud  Na)ve  is  the  way  forward    

Page 70: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

Adapt  or  …  

Page 71: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view

So  why  I  am  doing  Weave?  

Plumbing  for  cloud  na)ve  applica)ons  

•  Simple,  Portable,  Transparent  •  Cloud  Na)ve  apps  made  easy  for  developers    •  NO  need  to  rewrite  app  code  or  re-­‐tool  apps!  

Check  out  hYp://weave.works  

Page 72: WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view