a year with cloud foundry and bosh

13
© 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 ©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Upload: troy-astle

Post on 15-Jan-2015

979 views

Category:

Technology


6 download

DESCRIPTION

Lightning tall from Cloud Foundry Summit 2014. Presented 11th June 2014, by Matt Johnson and Troy Astle

TRANSCRIPT

Page 1: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 2: A year with Cloud Foundry and BOSH

© 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.

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 3: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 4: A year with Cloud Foundry and BOSH

© 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

Page 5: A year with Cloud Foundry and BOSH

© 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...

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 6: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 7: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 8: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 9: A year with Cloud Foundry and BOSH

© 2013 Cisco and/or its affiliates. All rights reserved.

Cisco ConfidentialCisco Confidential

© 2013 Cisco and/or its affiliates. All rights reserved.

Page 10: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 11: A year with Cloud Foundry and BOSH

© 2013 Cisco and/or its affiliates. All rights reserved.

Cisco ConfidentialCisco Confidential

© 2013 Cisco and/or its affiliates. All rights reserved.

Jenkins BOSH deploy.

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 12: A year with Cloud Foundry and BOSH

© 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

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Page 13: A year with Cloud Foundry and BOSH

© 2013 Cisco and/or its affiliates. All rights reserved.

Cisco ConfidentialCisco Confidential

© 2013 Cisco and/or its affiliates. All rights reserved.

Thank youMatt Johnson

[email protected]@mattdashj

github.com/freighttrain/C3CI

Troy Astle

[email protected]@buggalo

©Cisco System 2014 - This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.