Más contenido relacionado
A year with CF and BOSH… (Cloud Foundry Summit 2014)
- 1. © 2013 Cisco and/or its affiliates. All rights
reserved.
Cisco
Confidential
Cisco
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 Johnson
Troy Astle
- 2. © 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.
- 3. © 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
- 4. © 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
- 5. © 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...
- 6. © 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
- 7. © 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 C3CI
Joint work between Cisco and CloudCredo
Available on Github
- 8. © 2013 Cisco and/or its affiliates. All rights
reserved.
Cisco
Confidential
Cisco
Confidential
© 2013 Cisco and/or its affiliates. All rights
reserved.
C3CI Jenkins
BOSH Release
Base CF
manifest
Environment
specific manifest
BOSH + Jenkins + Spiff + NYET + Magic = CF
CF BOSH
Release
- 9. © 2013 Cisco and/or its affiliates. All rights
reserved.
Cisco
Confidential
Cisco
Confidential
© 2013 Cisco and/or its affiliates. All rights
reserved.
- 10. © 2013 Cisco and/or its affiliates. All rights
reserved.
Cisco
Confidential
Cisco
Confidential
© 2013 Cisco and/or its affiliates. All rights
reserved.
Consistency without development lockdown
Environment specific manifest
Prod Branch - Consistent base manifest
Only Environment specifics change
Dev Branch A Dev Branch B Dev Branch X
Branch allows development and testing of any
part of the deployment manifest
Base CF manifest
- 11. © 2013 Cisco and/or its affiliates. All rights
reserved.
Cisco
Confidential
Cisco
Confidential
© 2013 Cisco and/or its affiliates. All rights
reserved.
Jenkins BOSH deploy.
- 12. © 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
- 13. © 2013 Cisco and/or its affiliates. All rights
reserved.
Cisco
Confidential
Cisco
Confidential
© 2013 Cisco and/or its affiliates. All rights
reserved.
Thank you
Matt Johnson
matjohn2@cisco.com
@mattdashj
github.com/freighttrain/C3CI
Troy Astle
tastle@cisco.com
@buggalo