a year with cf and bosh… (cloud foundry summit 2014)

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

Upload: pivotal

Post on 27-Jan-2015

107 views

Category:

Technology


1 download

DESCRIPTION

Matt Johnson & Troy Astle from Cisco present a year with CF and BOSH.

TRANSCRIPT

Page 1: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 2: A year with CF and BOSH… (Cloud Foundry Summit 2014)

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

Page 3: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 4: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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 CF and BOSH… (Cloud Foundry Summit 2014)

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

Page 6: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 7: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 8: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 9: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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 CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 11: A year with CF and BOSH… (Cloud Foundry Summit 2014)

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

Cisco ConfidentialCisco Confidential

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

Jenkins BOSH deploy.

Page 12: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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

Page 13: A year with CF and BOSH… (Cloud Foundry Summit 2014)

© 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