Post on 27-Jan-2015
description
transcript
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco ConfidentialCisco Confidential
© 2013 Cisco and/or its affiliates. All rights reserved.
A year with CF and BOSH…Automating yourself out of a job (don’t worry, EVERYONE in CF is hiring)
Matt JohnsonTroy Astle
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
© 2014 Cisco. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Who are we?
Cisco.
Based in London.
Giving people nice things.
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
© 2014 Cisco. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
In the beginning…
Playing with CloudFoundry
Deploying by trial and error
Learning through debugging
Tripped up V1 documentation
“Borrowing” manifests and chunks of yaml
Manually building and verifying CF deployments
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
“I’ve got a running CloudFoundry system, and if you’ve ever tried to run CloudFoundry and BOSH, you may never have got to this point…”
Dr Nic Williams, CEO Stark & Wayne, CF Platform 2013
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
© 2014 Cisco. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The BOSH learning curve
Day 1: Why do I need BOSH?
Day 2: I already know X why should I learn BOSH
Day 10: BOSH is OK
Day 12: BOSH is Awesome
Day 30: I got to get me some more BOSH
Day 100: I can make BOSH better...
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
© 2014 Cisco. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Things got a whole lot better
Fortnightly open source CF releases
BOSH public stemcells
Spiff is great
Community support
Sample manifests
Got us to developer beta…
Too many CF’s to manage maintain
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
© 2014 Cisco. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
More Cloud Foundry, less pain
Deploy, Test and Upgrade CF using Jenkins & BOSH
Separate CF manifest from environment manifest, merge with Spiff
Create new deployments using the same CF manifest, guarantee consistency
Project named C3CIJoint work between Cisco and CloudCredoAvailable on Github
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco ConfidentialCisco Confidential
© 2013 Cisco and/or its affiliates. All rights reserved.
C3CI JenkinsBOSH Release
Base CFmanifest
Environment specific manifest
BOSH + Jenkins + Spiff + NYET + Magic = CF
CF BOSH Release
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco ConfidentialCisco Confidential
© 2013 Cisco and/or its affiliates. All rights reserved.
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco ConfidentialCisco Confidential
© 2013 Cisco and/or its affiliates. All rights reserved.
Consistency without development lockdown
Environment specific manifest
Prod Branch - Consistent base manifestOnly Environment specifics change
Dev Branch A Dev Branch B Dev Branch X
Branch allows development and testing of anypart of the deployment manifest
Base CF manifest
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco ConfidentialCisco Confidential
© 2013 Cisco and/or its affiliates. All rights reserved.
Jenkins BOSH deploy.
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
© 2014 Cisco. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Whats next for us?
We’re still working… Haven’t automated all the things (yet)
Scalable monitoring
Persistent log storage and analysis
Custom services & brokers
Scaling Out
Multi-DC
Sharing the love
Developer Training
BOSH Skills Transfer
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco ConfidentialCisco Confidential
© 2013 Cisco and/or its affiliates. All rights reserved.
Thank youMatt Johnson
matjohn2@cisco.com@mattdashj
github.com/freighttrain/C3CI
Troy Astle
tastle@cisco.com@buggalo