19
Cloud Native Java Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer [email protected]

Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer [email protected]

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java –

Getting Started!

NovaTec Consulting GmbH

Java Forum Stuttgart 06. Juli 2017

Christian Schwörer

[email protected]

Page 2: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

So what’s all the buzz about „Cloud“ and „Microservices“?

Page 3: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

And what is this talk about?

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Page 4: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Spring Boot

Page 5: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Spring Boot

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

• Create stand-alone Spring applications

– Embed Tomcat, Jetty or Undertow

• Convention over configuration / Auto-configuration

• Starter dependencies

• Actuator: built-in metrics and health checks

Page 6: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Spring Boot

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Page 7: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Demo

Page 8: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Cloud Foundry

Page 9: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Platform as a Service (PaaS)

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

open source | multi cloud | developer-friendly

Page 10: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Open source PaaS

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

• “Cloud Foundry is the world’s leading open source platform for cloud applications.” Source: https://www.cloudfoundry.org/members/

• Governed by the Cloud Foundry Foundation

• Backed by industry leaders in IT and a spectrum of end user organizations

Page 11: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Multi-cloud PaaS

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Source: https://yourdailytech.com/cloud-architecture/review-a-peek-into-pivotal-cloud-foundry/

Page 12: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Foundry – some public platform providers

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Page 13: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

PCF Dev – PCF for Local Development

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

“PCF Dev is a small footprint distribution of Pivotal Cloud Foundry

(PCF) intended to be run locally on a developer

machine. It delivers the essential elements of the

Pivotal Cloud Foundry experience quickly

through a condensed set of components.”

Source: https://pivotal.io/pcf-dev

Page 14: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Demo

Page 15: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Developer-friendly PaaS

cf push haiku “Here is my source code. Run it in the cloud for me. I do not care how.” — @onsijoe

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Page 16: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Spring Cloud Config

Cloud Native Java – Getting Further!

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Zuul Gateway Service

UI: Single Page Application

Football Manager

Comments User Images

Image Resizing Service

Service Registration & Discovery

Spring Cloud Sleuth

Page 17: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Further!

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Page 18: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Further!

Cloud Native Java – Getting Started! NovaTec Consulting GmbH

Cloud Foundry Meetups

Stuttgart: https://www.meetup.com/de-DE/Stuttgart-Cloud-Foundry-Meetup

Page 19: Cloud Native Java - Getting Started! · 2017-10-05 · Cloud Native Java – Getting Started! NovaTec Consulting GmbH Java Forum Stuttgart 06. Juli 2017 Christian Schwörer christian.schwoerer@novatec-gmbh.de

Cloud Native Java – Getting Further!

blog.novatec-gmbh.de

http://blog.novatec-gmbh.de/howto-get-started-pivotal-cloudfoundry-local-public

http://blog.novatec-gmbh.de/managing-concurrency-in-a-distributed-restful-environment-with-spring-boot-and-angular2

http://blog.novatec-gmbh.de/service-discovery-eureka-cloud-foundry

spring.io

http://spring.io/guides/gs/spring-boot

http://projects.spring.io/spring-cloud

cloudfoundry.org

http://docs.cloudfoundry.org/devguide/index.html

pivotal.io

http://pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry

[email protected] // NovaTec Consulting GmbH