Slide 1

Slide 1 text

The Cloud Native
 Advantage Sergiu Bodiu Platform Architect Asia Pacific & Japan @sergiu_bodiu

Slide 2

Slide 2 text

Platform Architect
 Asia Pacific & Japan Singapore Spring User
 Group DevOpsDays Singapore
 Conference

Slide 3

Slide 3 text

3 Software is eating the world

Slide 4

Slide 4 text

4 75% of application development supporting digital business will be built not bought by 2020 Source: Gartner

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

WE BELIEVE Competitive advantage or innovative cost reduction can only come from custom built software, not packaged applications.

Slide 7

Slide 7 text

7 CASE STUDY: DAIMLER The engine behind the Mercedes-Benz connected car

Slide 8

Slide 8 text

8 CASE STUDY: GENERAL ELECTRIC The engine behind GE Predix

Slide 9

Slide 9 text

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?

Slide 10

Slide 10 text

“Think of a product on a Monday and deliver on Friday.”

Slide 11

Slide 11 text

© Copyright 2016 Pivotal. All rights reserved. “Operations is the secret sauce” http://radar.oreilly.com/2007/10/operations-is-a-competitive-ad.html

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

“Here is my source code
 Run it on the cloud for me
 I do not care how”

Slide 14

Slide 14 text

14

Slide 15

Slide 15 text

15

Slide 16

Slide 16 text

16 “How much value do 
 you get from managing operating systems”

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

19

Slide 20

Slide 20 text

Spring Boot Adoption
 Source: oss.sonatype.org 4.2M Monthly Maven downloads

Slide 21

Slide 21 text

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”

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

+ 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

Slide 24

Slide 24 text

Spring Cloud

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

26 Service Registration / Discovery

Slide 27

Slide 27 text

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

Slide 28

Slide 28 text

28

Slide 29

Slide 29 text

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

Slide 30

Slide 30 text

30 Zipkin Tracing: Operational Visibility: Distributed Tracing

Slide 31

Slide 31 text

31

Slide 32

Slide 32 text

Route Services

Slide 33

Slide 33 text

33

Slide 34

Slide 34 text

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(); } }

Slide 35

Slide 35 text

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"

Slide 36

Slide 36 text

36

Slide 37

Slide 37 text

Slide 38

Slide 38 text

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

Slide 39

Slide 39 text

KEEP CALM
 AND PUSH
 APPS-aaS! Idea Write a Story Develop Code Deploy Code http://pivotal.io/spring-app-framework

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

Running Cloud Foundry Locally

Slide 42

Slide 42 text

Download: 
 network.pivotal.io/products/pcfdev cf login -a 
 api.local.pcfdev.io
 -skip-ssl-validation
 cf push #deploy app
 cf app #see details
 cf scale #scale
 cf ssh #troubleshoot First Experience

Slide 43

Slide 43 text

KEEP CALM
 AND PUSH
 APPS-aaS! Idea Write a Story Develop Code Deploy Code Build Pipeline

Slide 44

Slide 44 text

Concourse CI • Concourse is originally made for Pivotal Cloud Foundry • But it’s independent from PCF can be outside of PCF too


Slide 45

Slide 45 text

Idea Write a Story Develop Code Deploy Code Build Pipeline ☹

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

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

Slide 48

Slide 48 text

Let’s build something
 MEANINGFUL