Share
Embed
Orchestration in 2014 - WindyCityRails
Engineers are expensive and our greatest value is to focus on business solutions; not yak shave another custom web app deployment.
This slide deck introduces the requirements for an across-organization Platform (PaaS) providing orchestration services for all our apps and workloads.
It leads to an introduction to Pivotal Web Services & Heroku; and then Cloud Foundry for private installations.
Dr Nic Williams
September 05, 2014
Transcript
64 slides
-
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 In the beginning, there was a real-world problem -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Unique business problems don't require unique deployment solutions -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 orchestration? • Costs of software systems • What we really need? • What exists today? • What's still missing? -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 @drnic • Previously at Engine Yard • Lots and lots of Ruby projects • 2 yrs consulting around Cloud Foundry • Investigates all the things -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Stark & wayne • 8 staff • Cloud Foundry training, installations, managed service • Consultancy for nextgen Platforms • blog.starkandwayne.com -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 COST OF SOFTWARE SYSTEMS -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 your business sales $$$$ profit $$$$ -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 sales $$$$ your business profit $$$$ cost of sales -$ -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 sales $$$$ your business profit $$$$ cost of sales -$ R&D -$ -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 sales $$$$ your business profit $$$$ cost of sales -$ R&D -$ operations -$ -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 cost of iT r&d • Avg salary in SF $150k ($200k total) • Costs explode with bespoke software • Risks of failure • Increases in operational costs -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 sales $$$$ your business loss $$ cost of sales -$ R&D -$$$ operations -$$ DIY software can dramatically change P&L -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 sales 0 your business losses $$$$$ cost of sales 0 R&D -$$$ operations -$$ Outages dramatically change everything -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 You are expensive :) -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 value • Amount of value from R&D? • Time until value? • Guarantee of value? -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Buy this today http://bit.ly/phoenixproject -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 We are in IT -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Embedded in conference -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Shortest name -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 WHAT WE REALLY NEED? -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 CIOs: next 10 yrs • Goal: reduce time to value • Goal: unify access to all data • Goal: mobile access -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Goal: reduce time to value • Goal: unify access to all data • Goal: mobile access • Solution: Orchestration • Solution: API everything -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 YOUR ORG -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 orchestration goals for engineering http://12factor.net/ -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 goals for orchestration • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery • . . . -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 goals for orchestration • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery • Packaging assurance/version control • Reproduce production for debugging • Auditing who/what did what change • Access controls; Share platform across organization(s) • Proportional billing to internal organizations -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 goals for orchestration • Let you focus on engineering • Let you focus on being valuable -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 WHAT EXISTS TODAY? Orchestration -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Guide to total value Every solution costs -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Use these until someone says you can't... -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Use these until someone says you can't... • $10.80/mth/512Mb • No free containers • Flexible container sizes • Portable to own infrastructure • $33.60/mth/512Mb • First container free • 512M, 1G, 6G container sizes • No portal/private option -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery yes yes Heroku buildpacks yes yes yes yes yes yes yes yes yes yes -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Packaging assurance/version control • Reproduce production for debugging • Auditing who/what did what change • Access controls; Share platform across organization(s) • Proportional billing to internal organizations • Portable platform - AWS, GCE, OpenStack, etc no yes yes no yes yes yes yes yes no Heroku buildpacks -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 We want our own orchestration -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 sales $$$$ your business loss $$ cost of sales -$ R&D -$$$ operations -$$ Beware DIY Orchestration -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 no unix app for all this • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery • Packaging assurance/version control • Reproduce production for debugging • Auditing who/what did what change • Access controls; Share platform across organization(s) • Proportional billing to internal organizations • Portable platform - AWS, GCE, OpenStack, etc -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Orchestration is a system not an app -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Double check why you can't just use these... before proceeding... -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 What about Docker? -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 docker is delightful • packaging • containers • process monitoring (v1.2) • port & data binding to host machine • big community of example Dockerfiles • demos really well! -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 1. 2. 3. Local Docker -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery yes no yes yes yes yes yes cluster of docker containers... on single docker server -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery yes no yes no no no yes cluster of docker containers... across cluster of servers that come & go -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Packaging assurance/version control • Reproduce production for debugging • Auditing who/what did what change • Access controls; Share platform across organization(s) • Proportional billing to internal organizations • Portable platform - AWS, GCE, OpenStack, etc yes no no no yes yes cluster of docker containers... across cluster of servers that come & go -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Docker is a unit to be orchestrated -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Need system-wide orchestration -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Projects orchestrating docker • Cloud Foundry • Mesos • Deis • Flynn • Flocker • Open Shift -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 trycf.starkandwayne.com -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 demo -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 running orchestration in production • Cloud Foundry - BOSH • Mesos - DIY • Deis - DIY • Flynn - DIY • Flocker - DIY • Open Shift - DIY -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery • . . . http://docs.cloudfoundry.org/concepts/architecture/ -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 BOSH also resurrects all servers No single points of failure -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 BOSH also scales servers up and out BOSH upgrades across versions v179 v180 -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Why BOSH? > Platform operators deserve nice things too -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 goals for orchestration • Deploy quickly - apps/dependencies • Deploy language/framework of choice • HTTP routing to web processes • Integrate DBs/services/APIs • Streaming logs, including platform components • Simple, fast scaling • Automatic health recovery • Packaging assurance/version control • Reproduce production for debugging • Auditing who/what did what change • Access controls; Share platform across organization(s) • Proportional billing to internal organizations • Portable platform - AWS, GCE, OpenStack, etc -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 suggestions • Avoid DIY • Try CF - trycf.starkandwayne.com • full lifecycle orchestration ‣ Cloud Foundry for running Apps ‣ BOSH for running Cloud Foundry -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 WHAT'S STILL MISSING? -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Orchestrating data services is hard -
STARK & WAYNE | DR NIC | ORCHESTRATION IN 2014
| WINDY CITY RAILS 2014 Buy this today http://bit.ly/phoenixproject