Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Cloud Native Advantage

The Cloud Native Advantage

Overview of the what, why, and how of a cloud native organization with a focus on the principles and capabilities including people, process, and tools.

Learn to be cloud native with experts from Pivotal.
Over the course of the day, you will learn about the Pivotal Cloud Foundry platform, building microservices with Spring Boot, architecting for resilience with Spring Cloud, and integrating analytics with Spring Cloud Data Flow. You will see first-hand how the platform and application framework come together to boost developers’ productivity by streamlining the workflow so they can focus on adding value.

Come and see how Pivotal Cloud Foundry and Spring Boot can be brought together to create a continuous delivery pipeline and learn about the power of Spring Cloud to build microservice architectures and data analytics.

sergiubodiu

August 19, 2016
Tweet

More Decks by sergiubodiu

Other Decks in Technology

Transcript

  1. 5 2 Near-free
 computing costs Mobile devices
 and connectivity Ubiquity

    of
 embedded sensors Global scale
 of operations KEY TRENDS The cost and ubiquity of computing enables cloud native software companies to reshape the world
  2. WE BELIEVE Competitive advantage or innovative cost reduction can only

    come from custom built software, not packaged applications.
  3. An idea in the morning, is running in production by

    evening https://www.wealthfront.com/engineering Can you release new features to your customers every week?
  4. © Copyright 2016 Pivotal. All rights reserved. “Operations is the

    secret sauce” http://radar.oreilly.com/2007/10/operations-is-a-competitive-ad.html
  5. © Copyright 2016 Pivotal. All rights reserved. Opinionated Platform Database

    Web Server Messaging Your Application Code Application Platform Virtualized Infrastructure PAAS Platform Operations Application Developers Application Operations • Deploys platform • Makes standard runtimes and services available • Monitors platform • Scales platform (ensuring sufficient capacity) • Upgrades platform with zero-downtime • Creates deployable artifact • Config Prod environment • Deploys application to Prod • Monitors application • Scales application (capacity) • Deploys new app version with zero downtime.
  6. “Here is my source code
 Run it on the cloud

    for me
 I do not care how”
  7. 14

  8. 15

  9. 17 Focus On First Principles • Everything run as a

    service before it’s shipped as software • Zero human intervention in individual machines through lifecycle; immutable platform infrastructure • Service automation’s goal is to ship holistic cloud services not ad-hoc automation simplicity • Multi-cloud primitives vs. AWS only features etc
  10. 18 OSS API driven cloud integration drives broad industry collaboration

    Azure CPI donation VMware on team 2 engineers on CPI Openstack CPI helped by Pivotal, SAP, IBM Google green light to contribute to CPI
  11. 19

  12. 21 First Principles • Velocity and autonomy of delivery for

    large teams in enterprise environments
 • Enterprise safety/security with startup cycle time (simple repeatable deploys) • Optimized for Cloud Native applications 
 • “Velocity on the JVM is the Killer App”
  13. 22 Innovation Speed in Java WINS “Velocity on 
 the

    JVM is the 
 Killer App” 
 Andy Glover (Netflix Cloud Ops) 
 @ SpringOne2GX 2014 Keynote – 
 Early Spring Boot adopters
 Youtube Link to Video
  14. + Spring Boot From 0 to app in < 5

    min Enterprise Java with dynamic language productivity Spring Cloud Designed for fragile infrastructure in partnership with Netflix Java Microservice Framework 100% Spring Boot enabled
  15. 25 • Runtimes and their client libraries for: – Service

    Discovery – Configuration Management – Circuit Breakers – Intelligent Client Side Routing – Reverse Proxies – ….and much more • Security (encrypt, SSO, roles) • Connectors for CF, Heroku, AWS Spring Cloud application coordination patterns
  16. 27 • Fully integrated to Cloud Foundry Service – dramatically

    lower operational complexity
 • Enterprise Security – OAUTH2, HTTPS, CF UAA integration, RBAC
 • Simple provisioning and setup – Lower operational costs and time to provision Spring Cloud Services for PCF NetflixOSS-as-a-service in Pivotal Cloud Foundry
  17. 28

  18. 29 PCF Metrix • Fast feedback loop • Live stream

    and 24 hours of data • Works without an embedded agent • Metrics include: – HTTP requests and errors – Avg. response latency – CPU, memory and disk – App events like start, stop, scale, update, and crash
  19. 31

  20. 33

  21. Data Flow Developer Experience dataflow:> module register --name uppercase --type

    processor --coordinates group:artifact:version dataflow:> stream create demo --definition "http --server.port=9000 | uppercase | file --directory=/tmp/devnexus" 1: Implement Spring Cloud Stream Microservice App: 2: Build and Install: $ mvn clean install 3: Register Module with Data Flow: 4: Define Stream via DSL: @EnableBinding(Processor.class) public class UpperCase { @Transformer(inputChannel = Processor.INPUT, outputChannel=Processor.OUTPUT) public String process(String message) { return message.toUpperCase(); } }
  22. Wire Tap dataflow:> stream create tap --definition ":demo.http > counter

    --store=redis" dataflow:> stream create demo --definition "http --server.port=9000 | uppercase | file --directory=/tmp/devnexus"
  23. 36

  24. KEEP CALM
 AND PUSH
 APPS-aaS! Idea Write a Story Develop

    Code Deploy Code http://pivotal.io/spring-app-framework
  25. Download: 
 network.pivotal.io/products/pcfdev cf login -a 
 api.local.pcfdev.io
 -skip-ssl-validation
 cf

    push <app> #deploy app
 cf app <app> #see details
 cf scale <app> #scale
 cf ssh <app> #troubleshoot First Experience
  26. Concourse CI • Concourse is originally made for Pivotal Cloud

    Foundry • But it’s independent from PCF can be outside of PCF too

  27. 47 • Software product that is always ready to ship

    • Always current visibility into product and requirements status • 100% focus on development, no effort wasted below the value line • Ongoing assessment of priorities and resource allocation to optimize for highest impact