Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Going Cloud Native with Spring Cloud Azure

54 views

Published on

SpringOne Platform 2018
Going Cloud Native with Spring Cloud Azure - Yawei Wang and Yitao Dong, Microsoft

Published in: Software
  • Be the first to comment

  • Be the first to like this

Going Cloud Native with Spring Cloud Azure

  1. 1. Going Cloud Native with Spring Cloud Azure Yawei Wang, Yitao Dong
  2. 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/ Agenda • Cloud Native with Spring • Spring Cloud Azure • Spring Cloud Stream with Event Hub • Spring Resource with Azure Storage • Spring Caching with Azure Redis Cache • Spring Cloud Azure Playground • Demo – Photo Gallery • Spring Developer Experience on Azure • Java on Azure Reference
  3. 3. 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 Native with Spring Popular framework to bootstrap your cloud native Java apps Cloud Native • Microservice • Containers • Orchestration • Cloud computing Spring Cloud • Patterns of best practicehttps://spring.io/
  4. 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/ Spring Cloud Azure API Gateway Client Config Server Service Registry Circuit Breaker Distributed Tracing Microservices Spring Cloud Stream with Event Hub Spring Resource with Azure Storage Spring Caching with Azure Redis Cache Spring Cloud Azure Spring Boot Azure Spring Cloud Azure on GitHub https://github.com/Microsoft/spring-cloud-azure Spring Boot Azure on GitHub https://github.com/Microsoft/azure-spring-boot Azure AD Cosmos DB Key Vault Service Bus SQL DB MySQL DB PostgreSQL Azure Resource Management API
  5. 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/ Spring Cloud Stream with Azure Event Hub Cloud Stream Binder for Event Hub • Consumer groups • Configuration options • Producer • Consumer Cloud Stream Binder for Kafka API with Event Hub • Auto-configuration Spring Cloud Stream Binder for Event Hub Microservices Producer Consumer Azure Event Hub
  6. 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 Resource with Azure Storage • Resource abstraction for Azure Storage* • Auto-configuration • Resource provision Spring Resource with Azure Storage Microservices Azure Storage @Value("blob://{containerName}/{blobName}") private Resource blobFile; public class ReadAndWriteStorage { this.blobFile.getInputStream(); (WritableResource) this.blobFile.getOutputStream(); … }
  7. 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/ Spring Caching with Azure Redis Cache • Caching abstraction for Azure Redis Cache • Auto-configuration • Resource provision Spring Caching with Azure Redis Cache Microservices Azure Redis Cache @GetMapping("/{name}") @Cacheable(“name") public String getValue(@PathVariable String name){ return “Hello” + name; }
  8. 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/ Spring Cloud Azure Playground Preview • Quick start • 1-Click to run • Push to GitHub https://aka.ms/springcloud
  9. 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/ Demo - Photo Gallery Step 1 QuickStart project with "Playground" Step 2 Read/Write blob storage in "Producer" Step 3 Send notification event to EH in "Producer" Step 4 Receive and process event in “Consumer” Step 5 Analyze images with cognitive service and cache the results
  10. 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/ Spring Developer Experience on Azure 10 Azure PaaS Framework Tooling Spring Security Spring Data Spring Boot Spring Cloud + Azure App Service Azure Functions Azure Kubernetes Service Spring Tool Suite Visual Studio Code Spring Cloud Azure Playground Preview Azure services Event Hub Azure Storage Redis Cache Key Vault Azure AD Cosmos DB Service Bus SQL DB MySQL DB PostgreSQL DB
  11. 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/ Spring Cloud Azure GitHub Repo https://github.com/Microsoft/spring-cloud-azure Spring Boot Azure GitHub Repo https://github.com/Microsoft/azure-spring-boot Spring Cloud Azure Playground https://aka.ms/springcloud Java Developer Center https://docs.microsoft.com/en-us/java/azure/ Azure Dev Spaces Preview https://docs.microsoft.com/en-us/azure/dev-spaces/ Java on Azure Reference
  12. 12. 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/ Q&A
  13. 13. > Stay Connected. Related Session by Rome Li / Martin Lippert <Hacking Spring Boot Applications Using Visual Studio Code> September 26, 2018 | 5:40 pm - 6:10 pm | Maryland Ballroom B Twitter: @Matthew_Dyt Email: springazure@microsoft.com

×