SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
Cloud Native Java with
Spring Cloud Services
Chris Sterling
Principal Product Manager Spring Cloud Services
@csterwa
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Outline
• Overview of Spring Cloud Services
• The Service Broker
• Service Overviews
• Config Server
• Service Registry
• Circuit Breaker Dashboard
• Client Application Dependencies
• What’s New?
• What’s Coming?
2
We’ve got 30 minutes
so here we go!
Overview of Spring Cloud Services
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Microservices Architecture
4
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Spring
Boot
App
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Common Needs in Microservices Architecture
Netflix learned through running real
world production operations,
deployments and development. Some
of this learning lead to Netflix OSS
contributions that implemented
patterns such as:
• Service Discovery
• Circuit Breakers
• Externalized Configuration
5
Spring Cloud OSS has incorporated
Netflix OSS projects and implemented
additional capabilities to support
Spring developers:
• Eureka
• Hystrix
• Config Server
Developers can deploy their own
Spring Cloud OSS applications and
configure them for their needs.
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services (SCS) for Pivotal
Cloud Foundry packages server-side
components of Spring Cloud OSS
projects and makes them available as
services in the PCF Marketplace. This
frees you from having to implement
and maintain your own managed
services. SCS focuses on:
What is Spring Cloud Services for PCF?
6
Config Server Service RegistryCircuit Breaker
Dashboard
Ease of use
Security
Reliability
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Ease of Use: Create Spring Cloud Server
Do it yourself:
• Create a Spring Boot app
• Add Spring Cloud starters
• Add @EnableXxxxServer
• Add configuration
• Add security
• Deploy and…
• Manage updates
7
With Spring Cloud Services:
• `cf create-service …`
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Ease of Use: Create Spring Cloud Client App
Do it yourself:
• Create a Spring Boot app
• Add Spring Cloud starters
• Add configuration
• Eureka-first or Config Server-first
bootstrapping?
• Environment profiles?
• Add security
8
With Spring Cloud Services:
• Create a Spring Boot app
• Add Spring Cloud Services starters
• `cf bind-service …`
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Security - OAuth2 Service Access
Spring Cloud Services (SCS) service
instances are secured with OAuth2 via a
dedicated identity zone on Pivotal Cloud
Foundry’s UAA service.
Generated client ID and secret is provided
to client applications when binding to a
SCS service instance.
Client applications then exchange client ID
and secret for authorization token via
OAuth2 flow with UAA that enables secure
API access to SCS service instances.
9
Spring Cloud Services
App
Identity Server
2. Generate
1. Bind
3. Token exchange
4. Access API
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Reliability - Provided by Pivotal Cloud Foundry
High availability and health management are provided by the platform
10
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS is Built on Spring OSS Projects
Spring Boot
Spring Cloud Netflix
Spring Cloud Config Server
Spring Cloud Connectors
Spring Security
11
Spring Security OAuth2
Spring Data JPA
Spring AMQP
Spring Boot CF Service Broker
Cloud Foundry Java Client
SCS Service Broker
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Cloud Foundry Service Brokers
Service brokers extend Cloud Foundry
to provide resources that can be
consumed by applications.
http://docs.cloudfoundry.org/services/
Spring Cloud Services provides a
service broker that can provision
service instances.
13
Cloud
Foundry
Service
Broker
provision instance
get catalog
delete binding
delete instance
create binding
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services Service Broker
14
Cloud
Foundry
Broker
App
provision instance
get catalog
create binding
delete binding
delete instance
Worker
App
RabbitMQ
create, delete, configure app and service instances
SCS Config Server
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Config Server Overview
Service
• Enable client applications to consume centralized configuration property values
• Deploys a Spring Cloud Config server for each service instance provisioned
• Supports Git and HashiCorp Vault backends
• Supports Git basic auth and SSH private key authentication
• Allows composition of multiple backends
Security
• Only bound applications are able to access configuration
Client Applications
• SCS Starter automatically adds a property source configured for the Config Server
16
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Config Server Composite Configuration
{
"composite": [
{
“vault": {
"host": “vault.example.io”,
"port": 443,
"scheme": “https"
}
},
{
“git": {
"uri": “https://github.com/spring-cloud-services-samples/cook-config"
}
}
]
}
17
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Config Server Flow
18
SCS Service Registry
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Service Registry Overview
Service
• Enables client applications to discover service instances dynamically
• Deploys a Spring Cloud Netflix Eureka server for each service instance provisioned
Security
• Only the application that originally creates a registration is allowed to update or remove
that registration
• Prevents Man In The Middle attacks against the Registry
Client Applications
• SCS Starter automatically configures a DiscoveryClient
20
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Service Registry Flow
21
FortuneTellerService
Where can I find
FortuneTellerService?
Give me a
random fortune
<application>
<name>FortuneTellerService</
name>
<instance>
<hostName>chip</hostName>
<ipAddr>fortune-
service.blue.springapps.io</
ipAddr>
…
<application>
GET http://fortune-service.blue.springapps.io/random
SCS Circuit Breaker Dashboard
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Circuit Breaker Dashboard Overview
Service
• Provides visibility into a collection of application’s circuit breakers status
• Deploys the following for each service instance provisioned:
• Spring Cloud Netflix Hystrix dashboard application
• Spring Cloud Netflix Turbine server application
• Pivotal RabbitMQ for PCF service instance
Client Applications
• Starter automatically configures a Turbine AMQP client
23
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Circuit Breaker Dashboard Flow
24
SCS Client Application Dependencies
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services Client Dependencies
26
<dependencies>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-config-client</artifactId>
</dependency>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-service-registry</artifactId>
</dependency>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-circuit-breaker</artifactId>
</dependency>
</dependencies>
What’s New?
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services for PCF v1.2 (Nov 2016)
• Service Registry service instances can now be configured to replicate service
registrations across PCF organization and space boundaries, as well as across
multiple PCF installations and availability zones.
• Service Registry service instances now allow multiple apps within a single space
to register with the same app name. This allows registered apps to use a blue/
green deployment strategy.
• Service Registry service instance dashboards display the URI, and if operating in
HA mode, the local node count of the service instance.
• Added enhanced security to the Service Registration by requiring consistency
across Eureka’s appname, virtualHostname, and secureVirtualHostname
properties.
28
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Service Registry Peer Replication
29
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services for PCF in 2017
SCS v1.3 (Feb 2017)
• Updated to Spring Cloud OSS Camden
support
• Config Server encryption support
• Allow access to `/encrypt` endpoint
• Symmetric and asymmetric keys
supported
30
SCS v1.4 (Sep 2017)
• Updated to Spring Cloud OSS Dalston
support
• Config Server supports HashiCorp
Vault as backend
• Added support for composite
configuration of multiple backends
(Vault + Git)
• Improved Config Server
troubleshooting information in logs and
dashboard
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SCS Cloud Foundry CLI Plugin
Enables CLI interaction with SCS service
instances.
To install:
$ cf install-plugin -r CF-Community "Spring Cloud Services"
31
Current Commands:
• config-server-encrypt-value
• scs-stop
• scs-start
• scs-restart
• scs-restage
• service-registry-list
• service-registry-enable
• service-registry-deregister
• service-registry-disable
https://github.com/pivotal-cf/spring-cloud-services-cli-plugin
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services Client Connectors
• v1.4.x
• Support for instance specific
routing
• Support for experimental `direct`
routing to enable Container-to-
Container (C2C) networking rather
than via PCF grouter mapped
routes
32
• v1.5.x
• Automatically renew Vault
application configured tokens via
bound Config Server service
instance
• Redact properties sourced from
Vault backend in the bound Config
Server’s `/env` actuator endpoint
https://github.com/pivotal-cf/spring-cloud-services-connector
What’s Coming?
Unless otherwise indicated, these slides are © 2013-2016 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Safe Harbor Statement
The following is intended to outline the general direction of Pivotal's offerings. It is
intended for information purposes only and may not be incorporated into any
contract. Any information regarding pre-release of Pivotal offerings, future updates or
other planned modifications is subject to ongoing evaluation by Pivotal and is subject
to change. This information is provided without warranty or any kind, express or
implied, and is not a commitment to deliver any material, code, or functionality, and
should not be relied upon in making purchasing decisions regarding Pivotal's
offerings. These purchasing decisions should only be based on features currently
available. The development, release, and timing of any features or functionality
described for Pivotal's offerings in this presentation remain at the sole discretion of
Pivotal. Pivotal has no obligation to update forward looking information in this
presentation.
34
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Services for PCF v1.5 (COMING SOON)
• Update to Spring Cloud OSS Edgware support
• Adds support for Cloud Foundry’s CredHub service to secure service instance credentials
• Service broker stores service instance credentials in CredHub
• Client applications with SCS Connectors use Spring CredHub to automatically resolve
CredHub credentials
• Configurable Data Services
• Make MySQL & RabbitMQ services used for SCS service broker configurable
• Config Server Backend Enhancements
• Adds `pattern` and `searchPaths` to composite Git backend properties to support same
capabilities as Multi-repository Git configuration `git.repos`
• Recommend Config Servers v1.5.0+ use `composite` rather than `git.repos` going forward
35
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Data Flow for PCF v1.0 (COMING SOON)
• Create Data Flow servers via standard Cloud Foundry Service Broker
• Integration with Pivotal Cloud Foundry (PCF) UAA security model for Data Flow server
dashboard and shell
• Based on upcoming Spring Cloud Data Flow OSS version 1.3.0 release
• Works with the following Pivotal managed data services out of the box:
• MySQL for PCF
• RabbitMQ for PCF
• Redis for PCF
• Ability to configure alternative data services per Data Flow service instance
• Integrated Metrics collector and Skipper package manager with each Data Flow service
instance
36
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Data Flow OSS
Here are some resources to learn more about SCDF:
• SCDF Project site - http://cloud.spring.io/spring-cloud-dataflow/
• Github sample repository - https://github.com/spring-cloud/spring-cloud-dataflow-
samples
• Data Microservices with SCDF - https://www.youtube.com/watch?v=Z6_ttC33N0U
• SCDF shell tips and tricks - https://www.youtube.com/watch?v=uyN8ttlTvUM
• Skipper package manager - https://github.com/spring-cloud/spring-cloud-skipper
37
Learn More. Stay Connected.
Chris Sterling
@csterwa
Thank you!
38
#springone@s1p
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons
Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Other Sessions You Might Be Interested In…
39

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

What Is Spring?
What Is Spring?What Is Spring?
What Is Spring?
 
15.3 student guide web application tool time overviewtodays c
15.3 student guide web application tool time overviewtodays c15.3 student guide web application tool time overviewtodays c
15.3 student guide web application tool time overviewtodays c
 
Unleash the True Power of Spring Cloud: Learn How to Customize Spring Cloud
Unleash the True Power of Spring Cloud: Learn How to Customize Spring CloudUnleash the True Power of Spring Cloud: Learn How to Customize Spring Cloud
Unleash the True Power of Spring Cloud: Learn How to Customize Spring Cloud
 
Kubernetes for the Spring Developer
Kubernetes for the Spring DeveloperKubernetes for the Spring Developer
Kubernetes for the Spring Developer
 
The Path Towards Spring Boot Native Applications
The Path Towards Spring Boot Native ApplicationsThe Path Towards Spring Boot Native Applications
The Path Towards Spring Boot Native Applications
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
Observability Enhancements in Steeltoe
Observability Enhancements in Steeltoe Observability Enhancements in Steeltoe
Observability Enhancements in Steeltoe
 
Not Just Initializing
Not Just InitializingNot Just Initializing
Not Just Initializing
 
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
 
Serverless Spring 오충현
Serverless Spring 오충현Serverless Spring 오충현
Serverless Spring 오충현
 
Pivotal Cloud Foundry 2.0: First Look
Pivotal Cloud Foundry 2.0: First LookPivotal Cloud Foundry 2.0: First Look
Pivotal Cloud Foundry 2.0: First Look
 
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
 
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsMonitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
 
Implementing Microservices Security Patterns & Protocols with Spring
Implementing Microservices Security Patterns & Protocols with SpringImplementing Microservices Security Patterns & Protocols with Spring
Implementing Microservices Security Patterns & Protocols with Spring
 
Build12 factorappusingmp
Build12 factorappusingmpBuild12 factorappusingmp
Build12 factorappusingmp
 
Kubernetes for the VI Admin
Kubernetes for the VI AdminKubernetes for the VI Admin
Kubernetes for the VI Admin
 
Mobile Cloud Demo
Mobile Cloud DemoMobile Cloud Demo
Mobile Cloud Demo
 
Core Spring + Reactive 김민석
Core Spring + Reactive  김민석Core Spring + Reactive  김민석
Core Spring + Reactive 김민석
 
PKS: The What and How of Enterprise-Grade Kubernetes
PKS: The What and How of Enterprise-Grade KubernetesPKS: The What and How of Enterprise-Grade Kubernetes
PKS: The What and How of Enterprise-Grade Kubernetes
 
Spring Tools 4: Bootiful Spring Tooling for the Masses
Spring Tools 4: Bootiful Spring Tooling for the MassesSpring Tools 4: Bootiful Spring Tooling for the Masses
Spring Tools 4: Bootiful Spring Tooling for the Masses
 

Ähnlich wie Cloud Native Java with Spring Cloud Services

Cloud Configuration Ecosystem at Intuit
Cloud Configuration Ecosystem at IntuitCloud Configuration Ecosystem at Intuit
Cloud Configuration Ecosystem at Intuit
VMware Tanzu
 

Ähnlich wie Cloud Native Java with Spring Cloud Services (20)

It’s a Multi-Cloud World, But What About The Data?
It’s a Multi-Cloud World, But What About The Data?It’s a Multi-Cloud World, But What About The Data?
It’s a Multi-Cloud World, But What About The Data?
 
Connecting All Abstractions with Istio
Connecting All Abstractions with IstioConnecting All Abstractions with Istio
Connecting All Abstractions with Istio
 
S1P: Spring Cloud on PKS
S1P: Spring Cloud on PKSS1P: Spring Cloud on PKS
S1P: Spring Cloud on PKS
 
Steeltoe: Develop .NET Microservices Without Cloud Platform Lock-In
Steeltoe: Develop .NET Microservices Without Cloud Platform Lock-InSteeltoe: Develop .NET Microservices Without Cloud Platform Lock-In
Steeltoe: Develop .NET Microservices Without Cloud Platform Lock-In
 
Lattice: A Cloud-Native Platform for Your Spring Applications
Lattice: A Cloud-Native Platform for Your Spring ApplicationsLattice: A Cloud-Native Platform for Your Spring Applications
Lattice: A Cloud-Native Platform for Your Spring Applications
 
P to V to C: The Value of Bringing “Everything” to Containers
P to V to C: The Value of Bringing “Everything” to ContainersP to V to C: The Value of Bringing “Everything” to Containers
P to V to C: The Value of Bringing “Everything” to Containers
 
Extending the Platform
Extending the PlatformExtending the Platform
Extending the Platform
 
Extending the Platform with Spring Boot and Cloud Foundry
Extending the Platform with Spring Boot and Cloud FoundryExtending the Platform with Spring Boot and Cloud Foundry
Extending the Platform with Spring Boot and Cloud Foundry
 
Developer Secure Containers for the Cyberspace Battlefield
Developer Secure Containers for the Cyberspace BattlefieldDeveloper Secure Containers for the Cyberspace Battlefield
Developer Secure Containers for the Cyberspace Battlefield
 
Deploying Spring Boot apps on Kubernetes
Deploying Spring Boot apps on KubernetesDeploying Spring Boot apps on Kubernetes
Deploying Spring Boot apps on Kubernetes
 
riffing on Knative - Scott Andrews
riffing on Knative - Scott Andrewsriffing on Knative - Scott Andrews
riffing on Knative - Scott Andrews
 
12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...
12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...
12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...
 
How to Build More Secure Service Brokers
How to Build More Secure Service BrokersHow to Build More Secure Service Brokers
How to Build More Secure Service Brokers
 
Quickly Build Spring Boot Applications to Consume Public Cloud Services
Quickly Build Spring Boot Applications to Consume Public Cloud ServicesQuickly Build Spring Boot Applications to Consume Public Cloud Services
Quickly Build Spring Boot Applications to Consume Public Cloud Services
 
The Beginner’s Guide To Spring Cloud
The Beginner’s Guide To Spring CloudThe Beginner’s Guide To Spring Cloud
The Beginner’s Guide To Spring Cloud
 
Containers Were Never Your End State
Containers Were Never Your End StateContainers Were Never Your End State
Containers Were Never Your End State
 
Spring Cloud on Kubernetes
Spring Cloud on KubernetesSpring Cloud on Kubernetes
Spring Cloud on Kubernetes
 
Experience + Education = Empowerment
Experience + Education = EmpowermentExperience + Education = Empowerment
Experience + Education = Empowerment
 
Caching for Microservives - Introduction to Pivotal Cloud Cache
Caching for Microservives - Introduction to Pivotal Cloud CacheCaching for Microservives - Introduction to Pivotal Cloud Cache
Caching for Microservives - Introduction to Pivotal Cloud Cache
 
Cloud Configuration Ecosystem at Intuit
Cloud Configuration Ecosystem at IntuitCloud Configuration Ecosystem at Intuit
Cloud Configuration Ecosystem at Intuit
 

Mehr von Chris Sterling

The DevOps Revolution And Beyond...
The DevOps Revolution And Beyond...The DevOps Revolution And Beyond...
The DevOps Revolution And Beyond...
Chris Sterling
 
Reduce Time to Value: Focus First on Configuration Management Debt
Reduce Time to Value: Focus First on Configuration Management DebtReduce Time to Value: Focus First on Configuration Management Debt
Reduce Time to Value: Focus First on Configuration Management Debt
Chris Sterling
 
Managing Software Debt - Quality Debt Focus - QASIG Kirkland
Managing Software Debt - Quality Debt Focus - QASIG KirklandManaging Software Debt - Quality Debt Focus - QASIG Kirkland
Managing Software Debt - Quality Debt Focus - QASIG Kirkland
Chris Sterling
 
Managing Software Debt Workshop at Intel
Managing Software Debt Workshop at IntelManaging Software Debt Workshop at Intel
Managing Software Debt Workshop at Intel
Chris Sterling
 
Managing softwaredebt agilepalooza-redmond-sept2010
Managing softwaredebt agilepalooza-redmond-sept2010Managing softwaredebt agilepalooza-redmond-sept2010
Managing softwaredebt agilepalooza-redmond-sept2010
Chris Sterling
 
UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...
UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...
UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...
Chris Sterling
 
UW Agile CP202 Class 3 Managing Software Debt
UW Agile CP202 Class 3 Managing Software DebtUW Agile CP202 Class 3 Managing Software Debt
UW Agile CP202 Class 3 Managing Software Debt
Chris Sterling
 

Mehr von Chris Sterling (20)

The DevOps Revolution And Beyond...
The DevOps Revolution And Beyond...The DevOps Revolution And Beyond...
The DevOps Revolution And Beyond...
 
From Zero to Continuous Validated Learning: Lean Startup on PaaS
From Zero to Continuous Validated Learning: Lean Startup on PaaSFrom Zero to Continuous Validated Learning: Lean Startup on PaaS
From Zero to Continuous Validated Learning: Lean Startup on PaaS
 
Microservices: Aren't Microservices Just SOA?
Microservices: Aren't Microservices Just SOA?Microservices: Aren't Microservices Just SOA?
Microservices: Aren't Microservices Just SOA?
 
Reduce Time to Value: Focus First on Configuration Management Debt
Reduce Time to Value: Focus First on Configuration Management DebtReduce Time to Value: Focus First on Configuration Management Debt
Reduce Time to Value: Focus First on Configuration Management Debt
 
Managing Software Debt - Quality Debt Focus - QASIG Kirkland
Managing Software Debt - Quality Debt Focus - QASIG KirklandManaging Software Debt - Quality Debt Focus - QASIG Kirkland
Managing Software Debt - Quality Debt Focus - QASIG Kirkland
 
Managing Software Debt - Quality Debt Focus for QASIG Seattle
Managing Software Debt - Quality Debt Focus for QASIG SeattleManaging Software Debt - Quality Debt Focus for QASIG Seattle
Managing Software Debt - Quality Debt Focus for QASIG Seattle
 
Managing Software Debt Workshop at Intel
Managing Software Debt Workshop at IntelManaging Software Debt Workshop at Intel
Managing Software Debt Workshop at Intel
 
Recognizing Software Debt - Beyond Agile Puget Sound
Recognizing Software Debt - Beyond Agile Puget SoundRecognizing Software Debt - Beyond Agile Puget Sound
Recognizing Software Debt - Beyond Agile Puget Sound
 
Dollars and Dates are Killing Agile
Dollars and Dates are Killing AgileDollars and Dates are Killing Agile
Dollars and Dates are Killing Agile
 
Integrating Quality into Project Portfolio Management
Integrating Quality into Project Portfolio ManagementIntegrating Quality into Project Portfolio Management
Integrating Quality into Project Portfolio Management
 
The Software Debt Bubble: Is It About to Burst
The Software Debt Bubble: Is It About to BurstThe Software Debt Bubble: Is It About to Burst
The Software Debt Bubble: Is It About to Burst
 
Towards a Push-Button Release
Towards a Push-Button ReleaseTowards a Push-Button Release
Towards a Push-Button Release
 
Testing in an Agile Context 2011
Testing in an Agile Context 2011Testing in an Agile Context 2011
Testing in an Agile Context 2011
 
Managing Software Debt in Practice 2011
Managing Software Debt in Practice 2011Managing Software Debt in Practice 2011
Managing Software Debt in Practice 2011
 
Managing Software Debt - Federal Reserve Bank
Managing Software Debt - Federal Reserve BankManaging Software Debt - Federal Reserve Bank
Managing Software Debt - Federal Reserve Bank
 
Managing softwaredebt agilepalooza-redmond-sept2010
Managing softwaredebt agilepalooza-redmond-sept2010Managing softwaredebt agilepalooza-redmond-sept2010
Managing softwaredebt agilepalooza-redmond-sept2010
 
UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...
UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...
UW Agile CP202 Adv Topics Class 4 Scaling Multi-Level Planning Portfolio Mana...
 
UW Agile CP202 Class 3 Managing Software Debt
UW Agile CP202 Class 3 Managing Software DebtUW Agile CP202 Class 3 Managing Software Debt
UW Agile CP202 Class 3 Managing Software Debt
 
UW Agile CP202 - Class 1 User Stories
UW Agile CP202 - Class 1 User StoriesUW Agile CP202 - Class 1 User Stories
UW Agile CP202 - Class 1 User Stories
 
Managing Software Debt Agile Bazaar
Managing Software Debt Agile BazaarManaging Software Debt Agile Bazaar
Managing Software Debt Agile Bazaar
 

Kürzlich hochgeladen

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Kürzlich hochgeladen (20)

8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

Cloud Native Java with Spring Cloud Services

  • 1. Cloud Native Java with Spring Cloud Services Chris Sterling Principal Product Manager Spring Cloud Services @csterwa
  • 2. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Outline • Overview of Spring Cloud Services • The Service Broker • Service Overviews • Config Server • Service Registry • Circuit Breaker Dashboard • Client Application Dependencies • What’s New? • What’s Coming? 2 We’ve got 30 minutes so here we go!
  • 3. Overview of Spring Cloud Services
  • 4. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Microservices Architecture 4 Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App Spring Boot App
  • 5. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Common Needs in Microservices Architecture Netflix learned through running real world production operations, deployments and development. Some of this learning lead to Netflix OSS contributions that implemented patterns such as: • Service Discovery • Circuit Breakers • Externalized Configuration 5 Spring Cloud OSS has incorporated Netflix OSS projects and implemented additional capabilities to support Spring developers: • Eureka • Hystrix • Config Server Developers can deploy their own Spring Cloud OSS applications and configure them for their needs.
  • 6. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services (SCS) for Pivotal Cloud Foundry packages server-side components of Spring Cloud OSS projects and makes them available as services in the PCF Marketplace. This frees you from having to implement and maintain your own managed services. SCS focuses on: What is Spring Cloud Services for PCF? 6 Config Server Service RegistryCircuit Breaker Dashboard Ease of use Security Reliability
  • 7. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Ease of Use: Create Spring Cloud Server Do it yourself: • Create a Spring Boot app • Add Spring Cloud starters • Add @EnableXxxxServer • Add configuration • Add security • Deploy and… • Manage updates 7 With Spring Cloud Services: • `cf create-service …`
  • 8. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Ease of Use: Create Spring Cloud Client App Do it yourself: • Create a Spring Boot app • Add Spring Cloud starters • Add configuration • Eureka-first or Config Server-first bootstrapping? • Environment profiles? • Add security 8 With Spring Cloud Services: • Create a Spring Boot app • Add Spring Cloud Services starters • `cf bind-service …`
  • 9. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Security - OAuth2 Service Access Spring Cloud Services (SCS) service instances are secured with OAuth2 via a dedicated identity zone on Pivotal Cloud Foundry’s UAA service. Generated client ID and secret is provided to client applications when binding to a SCS service instance. Client applications then exchange client ID and secret for authorization token via OAuth2 flow with UAA that enables secure API access to SCS service instances. 9 Spring Cloud Services App Identity Server 2. Generate 1. Bind 3. Token exchange 4. Access API
  • 10. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Reliability - Provided by Pivotal Cloud Foundry High availability and health management are provided by the platform 10
  • 11. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS is Built on Spring OSS Projects Spring Boot Spring Cloud Netflix Spring Cloud Config Server Spring Cloud Connectors Spring Security 11 Spring Security OAuth2 Spring Data JPA Spring AMQP Spring Boot CF Service Broker Cloud Foundry Java Client
  • 13. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Foundry Service Brokers Service brokers extend Cloud Foundry to provide resources that can be consumed by applications. http://docs.cloudfoundry.org/services/ Spring Cloud Services provides a service broker that can provision service instances. 13 Cloud Foundry Service Broker provision instance get catalog delete binding delete instance create binding
  • 14. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services Service Broker 14 Cloud Foundry Broker App provision instance get catalog create binding delete binding delete instance Worker App RabbitMQ create, delete, configure app and service instances
  • 16. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Config Server Overview Service • Enable client applications to consume centralized configuration property values • Deploys a Spring Cloud Config server for each service instance provisioned • Supports Git and HashiCorp Vault backends • Supports Git basic auth and SSH private key authentication • Allows composition of multiple backends Security • Only bound applications are able to access configuration Client Applications • SCS Starter automatically adds a property source configured for the Config Server 16
  • 17. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Config Server Composite Configuration { "composite": [ { “vault": { "host": “vault.example.io”, "port": 443, "scheme": “https" } }, { “git": { "uri": “https://github.com/spring-cloud-services-samples/cook-config" } } ] } 17
  • 18. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Config Server Flow 18
  • 20. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Service Registry Overview Service • Enables client applications to discover service instances dynamically • Deploys a Spring Cloud Netflix Eureka server for each service instance provisioned Security • Only the application that originally creates a registration is allowed to update or remove that registration • Prevents Man In The Middle attacks against the Registry Client Applications • SCS Starter automatically configures a DiscoveryClient 20
  • 21. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Service Registry Flow 21 FortuneTellerService Where can I find FortuneTellerService? Give me a random fortune <application> <name>FortuneTellerService</ name> <instance> <hostName>chip</hostName> <ipAddr>fortune- service.blue.springapps.io</ ipAddr> … <application> GET http://fortune-service.blue.springapps.io/random
  • 22. SCS Circuit Breaker Dashboard
  • 23. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Circuit Breaker Dashboard Overview Service • Provides visibility into a collection of application’s circuit breakers status • Deploys the following for each service instance provisioned: • Spring Cloud Netflix Hystrix dashboard application • Spring Cloud Netflix Turbine server application • Pivotal RabbitMQ for PCF service instance Client Applications • Starter automatically configures a Turbine AMQP client 23
  • 24. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Circuit Breaker Dashboard Flow 24
  • 25. SCS Client Application Dependencies
  • 26. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services Client Dependencies 26 <dependencies> <dependency> <groupId>io.pivotal.spring.cloud</groupId> <artifactId>spring-cloud-services-starter-config-client</artifactId> </dependency> <dependency> <groupId>io.pivotal.spring.cloud</groupId> <artifactId>spring-cloud-services-starter-service-registry</artifactId> </dependency> <dependency> <groupId>io.pivotal.spring.cloud</groupId> <artifactId>spring-cloud-services-starter-circuit-breaker</artifactId> </dependency> </dependencies>
  • 28. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services for PCF v1.2 (Nov 2016) • Service Registry service instances can now be configured to replicate service registrations across PCF organization and space boundaries, as well as across multiple PCF installations and availability zones. • Service Registry service instances now allow multiple apps within a single space to register with the same app name. This allows registered apps to use a blue/ green deployment strategy. • Service Registry service instance dashboards display the URI, and if operating in HA mode, the local node count of the service instance. • Added enhanced security to the Service Registration by requiring consistency across Eureka’s appname, virtualHostname, and secureVirtualHostname properties. 28
  • 29. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Service Registry Peer Replication 29
  • 30. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services for PCF in 2017 SCS v1.3 (Feb 2017) • Updated to Spring Cloud OSS Camden support • Config Server encryption support • Allow access to `/encrypt` endpoint • Symmetric and asymmetric keys supported 30 SCS v1.4 (Sep 2017) • Updated to Spring Cloud OSS Dalston support • Config Server supports HashiCorp Vault as backend • Added support for composite configuration of multiple backends (Vault + Git) • Improved Config Server troubleshooting information in logs and dashboard
  • 31. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SCS Cloud Foundry CLI Plugin Enables CLI interaction with SCS service instances. To install: $ cf install-plugin -r CF-Community "Spring Cloud Services" 31 Current Commands: • config-server-encrypt-value • scs-stop • scs-start • scs-restart • scs-restage • service-registry-list • service-registry-enable • service-registry-deregister • service-registry-disable https://github.com/pivotal-cf/spring-cloud-services-cli-plugin
  • 32. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services Client Connectors • v1.4.x • Support for instance specific routing • Support for experimental `direct` routing to enable Container-to- Container (C2C) networking rather than via PCF grouter mapped routes 32 • v1.5.x • Automatically renew Vault application configured tokens via bound Config Server service instance • Redact properties sourced from Vault backend in the bound Config Server’s `/env` actuator endpoint https://github.com/pivotal-cf/spring-cloud-services-connector
  • 34. Unless otherwise indicated, these slides are © 2013-2016 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Safe Harbor Statement The following is intended to outline the general direction of Pivotal's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation. 34
  • 35. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Services for PCF v1.5 (COMING SOON) • Update to Spring Cloud OSS Edgware support • Adds support for Cloud Foundry’s CredHub service to secure service instance credentials • Service broker stores service instance credentials in CredHub • Client applications with SCS Connectors use Spring CredHub to automatically resolve CredHub credentials • Configurable Data Services • Make MySQL & RabbitMQ services used for SCS service broker configurable • Config Server Backend Enhancements • Adds `pattern` and `searchPaths` to composite Git backend properties to support same capabilities as Multi-repository Git configuration `git.repos` • Recommend Config Servers v1.5.0+ use `composite` rather than `git.repos` going forward 35
  • 36. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Data Flow for PCF v1.0 (COMING SOON) • Create Data Flow servers via standard Cloud Foundry Service Broker • Integration with Pivotal Cloud Foundry (PCF) UAA security model for Data Flow server dashboard and shell • Based on upcoming Spring Cloud Data Flow OSS version 1.3.0 release • Works with the following Pivotal managed data services out of the box: • MySQL for PCF • RabbitMQ for PCF • Redis for PCF • Ability to configure alternative data services per Data Flow service instance • Integrated Metrics collector and Skipper package manager with each Data Flow service instance 36
  • 37. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Data Flow OSS Here are some resources to learn more about SCDF: • SCDF Project site - http://cloud.spring.io/spring-cloud-dataflow/ • Github sample repository - https://github.com/spring-cloud/spring-cloud-dataflow- samples • Data Microservices with SCDF - https://www.youtube.com/watch?v=Z6_ttC33N0U • SCDF shell tips and tricks - https://www.youtube.com/watch?v=uyN8ttlTvUM • Skipper package manager - https://github.com/spring-cloud/spring-cloud-skipper 37
  • 38. Learn More. Stay Connected. Chris Sterling @csterwa Thank you! 38 #springone@s1p
  • 39. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Other Sessions You Might Be Interested In… 39