Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Continuous Delivery for Microservice Architectures with Concourse & Cloud Foundry Alex Ley @alexevade
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ INTRO Alex Ley Building the Cloud Pivotal @alexevade
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1. Introduction to Continuous Delivery for Microservices. 2. Spring Boot Trader. 3. Build a Delivery Pipeline with Concourse & Cloud Foundry. 4. Getting Started Materials. What will we cover?
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ “Continuous Delivery is a software development discipline where you build software in such a way that the software can be released to production at any time.” Martin Fowler
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Why is Continuous Delivery different for Microservice Architectures?
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ There are just many more things to integrate, deliver and operate.
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ µService CD Challenges • Teams want to move fast. • Organizations expect systems to work! • Service discovery & compatibility. • Asynchronicity & Ops at scale.
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ We don’t want to deliver a monolith in lots of parts!
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ “Concourse was dreamt up and built while working on the Cloud Foundry project and experiencing the interesting CI and CD challenges that it has.” http://concourse.ci/
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Boot Trader By David Pinto
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Boot Trader By David Pinto
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Let’s create a simple Delivery Pipeline for a SpringBootTrader component with Concourse & Cloud Foundry!
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1. The quote service will be used by many systems. 2. Production already has Spring Cloud Services created. 3. We want to deploy the service every commit that passes CI. Assumptions
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ KEEP CALM AND PREPARE FOR TAKEOFF
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1. Independently deployable services. 2. Smoke tests to monitor system health. 3. Be disciplined about service versioning - breaking changes hurt. 4. Deploy to production often. 5. Leave an audit trail. Recap
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ “Concourse + Cloud Foundry makes it simple to create repeatable and robust pipeline(s) to test, integrate and deploy complex systems” @alexevade, just now, here.
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ vagrant init concourse/lite vagrant up https://concourse.ci/hello-world.html Tutorial: https://github.com/starkandwayne/concourse-tutorial GETTING STARTED WITH
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ PCF Concourse Tile v1.0.0 Coming Q4 2016
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Docs: https://docs.pivotal.io/pcf-dev/ Download: https://network.pivotal.io/products/pcfdev/ GETTING STARTED WITH
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Github: https://github.com/pivotal-bank/cf- SpringBootTrader Workshops: https://github.com/pivotal-bank/cf-SpringBootTrader/ tree/master/docs GETTING STARTED WITH SpringBootTrader
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1. Introduction to Continuous delivery for Microservices 2. Spring Boot Trader System 3. Built a Delivery Pipeline with Concourse & Cloud Foundry 4. Getting Started Materials What did we cover?
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Thanks for joining Catch me on twitter @alexevade