active state stackato morningstar build a-cloud-day2012-09-09

48
DEPLOYING A PRIVATE PAAS ON CLOUDSTACK Diane Mueller, Director, Cloud Evangelism Ac7veState So9ware @ac7vestate @pythondj [email protected] mst@r

Upload: activestate

Post on 04-Dec-2014

1.021 views

Category:

Technology


1 download

DESCRIPTION

ActiveState The Private PaaS for Enterprise Why Private PaaS Deploying PaaS on CloudStack De

TRANSCRIPT

Page 1: Active state stackato morningstar build a-cloud-day2012-09-09

DEPLOYING  A  PRIVATE  PAAS                                                      ON  CLOUDSTACK  

Diane  Mueller,    Director,  Cloud  Evangelism  Ac7veState  So9ware  

@ac7vestate  @pythondj  [email protected]  

 mst@r  

Page 2: Active state stackato morningstar build a-cloud-day2012-09-09

ABOUT  ACTIVESTATE  

§ Founded  1997  § 2  million  developers,  97%  of  Fortune  1000  § “Ac7veState  empowers  innova7on  from  code  to  cloud  smarter,  safer,  and  faster”  

§ Some  customers:  

Page 3: Active state stackato morningstar build a-cloud-day2012-09-09

STACKATO:  PR IVATE  PAAS  FOR  THE  ENTERPRISE    MULT I -­‐CHOICE ,   END-­‐TO-­‐END,  PORTABLE  

 

Page 4: Active state stackato morningstar build a-cloud-day2012-09-09

TODAY’S  AGENDA  

§  Why  a  Private  PaaS?  §  A  Brief  Stackato  Overview  §  DIY  Instruc7ons:  Deploying  Stackato  on  CloudStack  

§  Crea7ng  your    own  CloudStack  Stackato  Template  §  Configuring    Stackato  on  CloudStack  

§  Live  Demo:  Deploying  Applica7ons  to  Cloud  with  Stackato  §  Web  Management  Console  Walk-­‐Thru  §  App  Store,  User  &  Group  mgmt  §  Q  &  A  h]p://www.ac7vestate.com/blog/2012/05/deploying-­‐private-­‐paas-­‐cloudstack-­‐stackato  

Page 5: Active state stackato morningstar build a-cloud-day2012-09-09

WANT  TO  FOLLOW-­‐ALONG?  

§  Some  logis7cs…  §  Create  an  account  on  our  Stackato  Sandbox  

§  h]p://www.ac7vestate.com/stackato/sandbox  §  Remember  to  Tweet  when  you  complete:    

§  #MyFirstStackatoApp  on  #Stackato  plus  your  URL  §  There  are  prizes..    

Page 6: Active state stackato morningstar build a-cloud-day2012-09-09

§  Reduced  Cost  §  Increased  Storage  §  Highly  Automated    §  Control  §  Flexibility  §  Agility    §  Quicker  Time  to  Market  §  Allows  IT  to  Shi9  to  Service  focus  

Page 7: Active state stackato morningstar build a-cloud-day2012-09-09

§ Developers  just  want  to:  § Code!  

§ Corporate  IT  wants  to:  § Deliver  IT  as  a  service  and  consump7on-­‐based  pay  per  use  

§ Cloud  Hos7ng  &  Managed  Service  Providers  want  to:  § Ensure  seamless  service  experiences  § Offer  more  value-­‐added  services  &  SLAs  § Sell  more  compu7ng  7me  

§ Cloud  Infrastructure  Vendors  want  to:  § Sell  more  compu7ng  7me      

Page 8: Active state stackato morningstar build a-cloud-day2012-09-09

§  Full  applica7on  lifecycle  experiences  §  Enabling  apps  to  get  onto  cloud  §  Re-­‐deploy  work  where  &  when  required  §  On-­‐demand  commissioning    of  resources    §  Seamless  service  experiences  

Page 9: Active state stackato morningstar build a-cloud-day2012-09-09

ENTER  PLATFORM  AS  A  SERVICE  

§  h]p://answers.oreilly.com/topic/2928-­‐what-­‐is-­‐a-­‐private-­‐paas-­‐and-­‐when-­‐should-­‐i-­‐deploy-­‐one/  

So9ware  as  a  Service  

Plakorm  as  a  Service  

Infrastructure  as  a  Service  

Hardware  

Page 10: Active state stackato morningstar build a-cloud-day2012-09-09

FROM  DEV  TO  PRODUCTION  –  FASTER!  

§  Standard,  replicated  environments  throughout  dev  cycle  §  Whether  developers  are  in-­‐house  or  outsourced,  whether  tes7ng/

staging  clusters  are  internal  or  external  in  cloud  or  not  §  Eliminate  need  for  re-­‐configuring  stacks,  re-­‐coding  applica7ons  §  Seamless,  faster  way  to  get  from  code  to  cloud  

Testing Staging

Apps

Development Production

Page 11: Active state stackato morningstar build a-cloud-day2012-09-09

§  Another  cloud  provider  might  not  have  a  clue  how  to  install,  deploy,  run  &  manage  your  applica7on  §  Deep  detailed  informa7on  about  the  applica7on  and  its  underlying  stack  is  needed  that  “arbitrary”  providers  typically  don’t  have  

§  Virtual  images  do  not  suffice  at  all  •  They  are  “just”  snapshots  of  the  actual  state  of  your  applica7on  

Page 12: Active state stackato morningstar build a-cloud-day2012-09-09

§  Heroku,  EngineYard,  GAE  §  A  Swipe  of  the  Credit  Card  and  away  we  go!  §  Very  Convenient  but:  

•  Limited  to  Available  Services,  Languages,  Frameworks  •  Locked  into  their  cloud  

§  Great  for:  •   Start-­‐ups  in  MVP  mode  &  Shadow  IT  projects  

   

Page 13: Active state stackato morningstar build a-cloud-day2012-09-09
Page 14: Active state stackato morningstar build a-cloud-day2012-09-09

 WHY  A  PRIVATE  PLATFORM-­‐AS-­‐A-­‐SERVICE?  

§  Reduce  Time  to  Market  §  Standardize  Applica7on  Deployment  §  Security  of  Data  §  Privacy  and  Control  Over  Data  §  Control  for  Corporate  IT  §  Customize  to  Your  Requirements  §  Mi7gate  Risk  of  Down7me  §  Actually  Deliver  on  Inflated  Cloud  Expecta7ons    

Page 15: Active state stackato morningstar build a-cloud-day2012-09-09

ENTER  PRIVATE PAAS FOR ENTERPRISES  

The Enterprise Private PaaS Any Language, Any Stack, Any Cloud

Page 16: Active state stackato morningstar build a-cloud-day2012-09-09

STACKATO:  PR IVATE  PAAS  FOR  THE  ENTERPRISE    MULT I -­‐CHOICE ,   END-­‐TO-­‐END,  PORTABLE  

 

Page 17: Active state stackato morningstar build a-cloud-day2012-09-09

“CODE  TO  CLOUD”   IS  A  PROCESS  

Micro  Cloud  

Public  

Private  

ProducHon  

Trial/Test/Stage  

Page 18: Active state stackato morningstar build a-cloud-day2012-09-09

PUSH  YOUR  APP  TO  ANY  CLOUD  

Micro  Cloud  

Amazon  vSphere  

OpenStack  

Your  Private              Cloud  

HP  Cloud  

Rackspace  

Any  Cloud  Foundry  

     

CloudStack  

Page 19: Active state stackato morningstar build a-cloud-day2012-09-09

Stackato VM

Client (IDE or

Command Line)

Your App

Deployed to the

Cloud

+ + =

Page 20: Active state stackato morningstar build a-cloud-day2012-09-09

Setup & Scale

•  Create an AUTO-CONFIGURING private PaaS on top of private cloud or IaaS in minutes

Develop & Deploy

•  Deploy NEW, migrating EXISTING applications to the cloud in 3 simple steps

Manage & Monitor

•  Manage updates, upgrades

•  Monitor application performance

Page 21: Active state stackato morningstar build a-cloud-day2012-09-09

STACKATO  ARCHITECTURE  

\  

Page 22: Active state stackato morningstar build a-cloud-day2012-09-09

DIY:  DEPLOYING  STACKATO  PASS                          (ON  CLOUDSTACK)    

Page 23: Active state stackato morningstar build a-cloud-day2012-09-09

FIRST,  DOWNLOAD  AN  STACKATO  VM   IMAGE  

§  h]p://www.ac7vestate.com/stackato/download_vm  

Page 24: Active state stackato morningstar build a-cloud-day2012-09-09

CONVERT  VM  TO  VDH  FORMAT  

Or  Use  Virtual  Box’s  Conversion  Func6on  

Page 25: Active state stackato morningstar build a-cloud-day2012-09-09

PUT   IT   IN  AN  ACCESSIBLE  PLACE  

Page 26: Active state stackato morningstar build a-cloud-day2012-09-09

LOG   IN  TO  YOUR  CLOUDSTACK  ACCOUNT  

Page 27: Active state stackato morningstar build a-cloud-day2012-09-09

CREATE  A  TEMPLATE  

Page 28: Active state stackato morningstar build a-cloud-day2012-09-09

45  MINUTES  LATER…  

Page 29: Active state stackato morningstar build a-cloud-day2012-09-09

NOW,  CREATE  AN  CLOUDSTACK   INSTANCE  

Page 30: Active state stackato morningstar build a-cloud-day2012-09-09

WAIT!  THERE’S  MORE  

Page 31: Active state stackato morningstar build a-cloud-day2012-09-09

NOW  LOOK  UP  THE   INSTANCE’S   IP  ADDRESS  &  CONFIGURE  STACKATO. .  

Page 32: Active state stackato morningstar build a-cloud-day2012-09-09

GOT  A  DOMAIN  NAME?  

Page 33: Active state stackato morningstar build a-cloud-day2012-09-09

LOG   IN  TO  YOUR  CLOUDSTACK   INSTANCE  

Page 34: Active state stackato morningstar build a-cloud-day2012-09-09

 ASSOCIATE  YOUR  DOMAIN  NAME  WITH  YOUR  STACKATO   INSTANCE 'S   IP  ADDRESS    §  Edit  the  /etc/hosts  file  

Page 35: Active state stackato morningstar build a-cloud-day2012-09-09

BECOMING  “STACKATO”  

§  Stackato  admin  commands  “kato”  

$  kato  admin  grant  [email protected]  

$  sudo  reboot  

$  kato  become  all  –m  72.52.67.26  –e  api.cloudstack-­‐stackato.dns1.us  –  n  cloudstack  -­‐o  

Page 36: Active state stackato morningstar build a-cloud-day2012-09-09

CREATE  MORE   INSTANCES  FROM  TEMPLATE  &  CLUSTER  

§  Next:  Build  a  Cluster!  

§  h]p://docs.stackato.com/server/opera7ons.html#index-­‐2  

Page 37: Active state stackato morningstar build a-cloud-day2012-09-09

DEMO  TIME:      DEPLOYING  &  SCALING  APPS  

WITH  STACKATO    

Page 38: Active state stackato morningstar build a-cloud-day2012-09-09

STACKATO  OVERVIEW  

§  Stackato  Sandbox(s)  §  HP  Cloud  §  Amazon  EC2  §  Micro  Cloud  (Desktop  Virtual  Machine)  §  CloudStack  (DevCamp)  

§  Web  Console  §  Login  (h]p://api.stacka.to)    

§  Stackato  Client  –  (open  source)  §  Click  to  see  download  page..    

Page 39: Active state stackato morningstar build a-cloud-day2012-09-09

WANT  TO  FOLLOW-­‐ALONG?  

§  Some  logis7cs…  §  Create  an  account  on  our  Stackato  Sandbox  

§  h]p://www.ac7vestate.com/stackato/sandbox  §  Remember  to  Tweet  when  you  complete:    

§  #MyFirstStackatoApp  on  #EC2  plus  URL  #Python  §  There  are  prizes..    

Page 40: Active state stackato morningstar build a-cloud-day2012-09-09

NOW,        BACK  OUR  REGULARLY  SCHEDULED  PROGRAM  

Page 41: Active state stackato morningstar build a-cloud-day2012-09-09

WEB  MANAGEMENT  CONSOLE  Deploying  Applica7ons  to  Stacakto  on  CloudStack  

Page 42: Active state stackato morningstar build a-cloud-day2012-09-09

LOG-­‐IN!  

h]ps://api.stacka.to  

Page 43: Active state stackato morningstar build a-cloud-day2012-09-09

L IVE  DEMO  

Page 44: Active state stackato morningstar build a-cloud-day2012-09-09

WHAT’S  NEW?  A  LOT!  

§  Configurable  user  group  administra7on  

§  Persistent  file  system  as  a  Service  §  New  app  store  capabili7es  §  Be]er  cluster  management  §  kato,  a  be]er  replacement  for  

stackato-­‐admin  §  Central  mul7-­‐node  configura7on  

through  doozer  §  CLI  to  edit  configura7on  on  all  nodes:  

kato  config  §  New  Memcached  as  a  service  §  New  Java  Play  framework,  also  

supported  via  Buildpacks  §  Integrated  support  for  Iron  

Foundry  .NET  run7me    

§  Database  service  versions  upgrades  §  Postgresql  upgraded  to  v9.1  (-­‐>  v8.4)  §  MySQL  upgraded  to  v5.5  (-­‐>  v5.1)  §  Redis  upgraded  to  v2.4  (-­‐>  2.2)  

§  Python  §  Custom  pypm/pip  op7ons  via  $PYPM_OPTS  

and  $PIP_OPTS  environment  variables  §  Scala  support  via  Buildpack  §  Java  EE  6  support  §  New  java_ee  framework  via  Apache  

TomEE  §  Run7me  upgrades  

§  Node.js  v0.6.18  §  PHP  5.3.10  

Page 45: Active state stackato morningstar build a-cloud-day2012-09-09

§  WebSocket  API  support  Using  Stackato  2.2,  enterprise  customers  (par6cularly  financial-­‐services  firms  or  game  developers)  can  push  “stateful”  applica6ons  to  the  cloud.  Applica6ons  requiring  protected,  real-­‐6me  channel  communica6on  between  server  and  browser  can  now  be  deployed  to  a  secure  private  PaaS  and  managed  within  Stackato  2.2.  

§  Support  for  mulHple-­‐cloud-­‐controller  architectures  Stackato  2.2  provides  easy  setup  of  mul6ple  cloud  controller  nodes  for  high-­‐availability  (HA),  highly-­‐scalable  mission-­‐cri6cal  app  deployment  environments.  Addi6onal  cloud  controllers  can  be  used  as  high  availability  failover  safety  nets  or  as  load  balancers  to  remove  poten6al  boOlenecks  and  improve  performance  and  reliability.  

§  Management  views  for  mobile  devices  Enterprise  IT  leads  can  now  take  their  cloud  with  them.  Stackato  2.2  now  offers  its  best-­‐in-­‐class  Management  Console  in  mobile-­‐view  form,  available  for  IT  managers  to  monitor  the  cloud  on  their  portable  device.  

§  JBoss  compaHbility  Stackato  2.2  now  supports  apps  developed  for  the  JBoss  applica6on  server.  Enterprises  that  have  built  Java  apps  on  the  JBoss  applica6on  server  can  move  them  to  and  manage  them  in  a  Stackato  2.2  cloud  without  having  to  recode  or  modify  those  apps.  

Page 46: Active state stackato morningstar build a-cloud-day2012-09-09

§  A  networking  giant  is  deploying  Stackato  to  simplify  cloud  management  processes  and  speed  7me-­‐to-­‐market  for  support  applica7ons.  

§  A  major  marke7ng  So9ware-­‐as-­‐a-­‐Service  (SaaS)  solu7on  provider  is  using  Stackato  for  its  mission-­‐cri7cal  produc7on  cloud  applica7ons.  Their  developers  use  Stackato  to  deploy  apps  faster  and  easier,  le{ng  them  focus  on  their  own  imagina7on  rather  than  ge{ng  bogged  down  in  administra7on,  troubleshoo7ng,  and  rework.  

§  A  F100  cloud  service  provider  is  using  Stackato  to  reduce  7me  spent  configuring  enterprise  middleware,  streamlining  deployment  from  development  to  produc7on.  

Page 47: Active state stackato morningstar build a-cloud-day2012-09-09

QUESTIONS?  

Page 48: Active state stackato morningstar build a-cloud-day2012-09-09

THANK  YOU!  

Get  Free  Micro  Cloud  Trial,  White  Papers,  Demos:  www.acHvestate.com/stackato    

 Diane  Mueller  

Email:  [email protected]  Twi]er:  @ac7vestate    @pythondj