made for each other: microservices + paas
DESCRIPTION
Companies need to build better software faster to compete. But existing monolithic applications, legacy platforms, and lengthy operational deployment cycles are holding innovation back. Microservices are becoming the cloud architecture of choice because they offer the ability to loosely couple applications into discrete services that can be surgically changed without requiring disruptive overhauls. This approach enables the responsiveness and rapid change needed by the business. Enterprise PaaS is a critical foundation to simplify the operations, governance, and health management of these new architectures. Together with a DevOps culture, microservices and PaaS are the engine that drives innovation at speed.TRANSCRIPT
DevOps, !microservices,!& the new !composable enterprise
Donnie Berkholz!@dberkholz
What in the world !is DevOps, anyhow?
Agile, truly tip to tail Business to customer
Flickr: kalandrakas
Tear down all the silos
“Infrastructure as code”
#monitoringsucks/#monitoringlove
Organizations with high performing DevOps organizations were 2x more likely to exceed profitability, market share and productivity
goals…!!!!!
Source: Puppet Labs 2014 State Of DevOps Gene Kim
…and had 50% higher market capitalization growth over 3 years…
Who Is Doing DevOps? § Google, Amazon, Netflix, Etsy, Spotify, Twitter, Facebook … § CSC, IBM, CA, SAP, HP, Microsoft, Red Hat … § GE Capital, Nationwide, BNP Paribas, BNY Mellon, !
World Bank, Paychex, Intuit … § The Gap, Nordstrom, Macy’s, Williams-Sonoma, Target … § General Motors, Northrop Grumman, LEGO, Bosche … § UK Government, US Department of Homeland Security … § Kansas State University…
Who else?
Gene Kim
CI/CD & the !changing roles !of Devs and Ops
Test your infrastructure like your code
The composable enterprise! and the Yegge memo
Containerization
Stack Overflow container traction
Microservices (not monoliths)
Separation of (business) concerns into services accessed via REST APIs
Resilient to failure, easily reusable, etc
Platform as a Service (PaaS)
Has its time finally arrived?
The view from 40,000 feet
continuousautomation.com
Minimizing risk, Maximizing agility
l Architecture: Microservices, monitoring l Code: Continuous integration, feature flags l Servers: Continuous delivery, infrastructure as code l Services: Rolling updates, resilient engineering l Product: Continuous deployment, restricted audience
Donnie Berkholz [email protected] Twitter/IRC: dberkholz
‹#› © 2014 Pivotal Software, Inc. All rights reserved. © 2014 Pivotal Software, Inc. All rights reserved.
Made for Each Other: Microservices + PaaS How Pivotal CF and Spring Cloud Enable Architectural Innovation
Matt Stine (@mstine) Platform Engineer
21 © 2014 Pivotal Software, Inc. All rights reserved.
Infrastructure
Applications
Monoliths
Microservices
Physical/Virtual Pivotal CF Continuous Delivery
DevOps
Feedback Rapid Iteration
Horizontal Scale
Diversity of Clients
22 © 2014 Pivotal Software, Inc. All rights reserved.
New Architectural Constraints
• Pivotal CF optimizes for 12 Factor Linux applications
23 © 2014 Pivotal Software, Inc. All rights reserved.
Twelve Factors
• One Codebase/Many Deploys • Explicit Isolated
Dependencies • Config via Environment • Attached Backing Services • Separate Build/Release/Run • Stateless Processes • Export Services via Port
Bindings
• Scale Out via Processes • Disposable Instances • Dev/Prod Parity • Logs == Event Streams • Admin Tasks == Processes
24 © 2014 Pivotal Software, Inc. All rights reserved.
New Architectural Constraints
• Pivotal CF optimizes for 12 Factor Linux applications • Microservices: a radical departure from traditional
monolithic applications • In both cases, the enterprise is
forced to “think different.”
25 © 2014 Pivotal Software, Inc. All rights reserved.
How XP Practices Support Each Other
http://www.kusmin.eu/wiki/index.php/How_XP_Practices_Support_Each_Other
26 © 2014 Pivotal Software, Inc. All rights reserved.
A Mutualistic Symbiotic Relationship…
Microservices Pivotal CF
http://en.wikipedia.org/wiki/Symbiosis#Mutualism
27 © 2014 Pivotal Software, Inc. All rights reserved. 27 © 2014 Pivotal Software, Inc. All rights reserved.
http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html
28 © 2014 Pivotal Software, Inc. All rights reserved.
Paying for your lunch…
• Significant Operations Overhead • Substantial DevOps Skills Required • Implicit Interfaces • Duplication of Effort • Distributed System Complexity • Asynchronicity is Difficult! • Testability Challenges
29 © 2014 Pivotal Software, Inc. All rights reserved.
You must be this tall to use Microservices…
• RAPID PROVISIONING • BASIC MONITORING • RAPID APPLICATION
DEPLOYMENT • DEVOPS CULTURE
http://martinfowler.com/bliki/MicroservicePrerequisites.html
https://www.flickr.com/photos/gusset/3723961589
30 © 2014 Pivotal Software, Inc. All rights reserved.
It’s gonna take a platform…
Pivotal CF Spring Cloud
31 © 2014 Pivotal Software, Inc. All rights reserved.
Platform Features
• Environment Provisioning • On-Demand/Automatic Scaling • Failover/Resilience • Routing/Load Balancing • Data Service Operations • Monitoring
• Distributed/Versioned Config • Service Registration/Discovery • Routing/Load Balancing • Service Integration • Fault Tolerance • Asynchronous Messaging
32 © 2014 Pivotal Software, Inc. All rights reserved.
http://projects.spring.io/spring-cloud
33 © 2014 Pivotal Software, Inc. All rights reserved.
• Eureka • Hystrix + Turbine • Ribbon • Feign • Zuul • Archaius
+
http://netflix.github.io
34 © 2014 Pivotal Software, Inc. All rights reserved.
Pivotal CF + Spring Cloud + Netflix OSS!
Live Demo https://www.youtube.com/watch?v=vm8PcbcsYxU#t=2787
35 © 2014 Pivotal Software, Inc. All rights reserved.
Supporting Rapid Change
Microservices is the first architectural style developed:
POST
POST &
Continuous Delivery
DevOps ∆
36 © 2014 Pivotal Software, Inc. All rights reserved.
Architecture is abstract until it is operationalized.
Neal Ford
37 © 2014 Pivotal Software, Inc. All rights reserved.
Architectures that aren’t operationalized exist only on whiteboards.
Matt Stine
38 © 2014 Pivotal Software, Inc. All rights reserved.
OPERATIONALIZED ARCHITECTURE
Microservices
Pivotal CF
Spring Cloud
39 © 2014 Pivotal Software, Inc. All rights reserved.
Thank you!
• @dberkholz • "The interface from Dev to Ops isn’t going away; it’s rotating” bit.ly/devops-rotating
• "The parallel universes of DevOps and cloud developers” bit.ly/devops-parallel
• "DevOps and cloud: A view from outside the Bay Area bubble" bit.ly/devops-bubble
Cloud Foundry
twitter.com/cloudfoundry
youtube.com/user/CloudFoundry
Spring
twitter.com/springcentral
spring.io/video
40 © 2014 Pivotal Software, Inc. All rights reserved.