Building Scalable
Java Microservices
with Spring Boot and
Spring Cloud
Proprietary & Confidential
Welcome to Building Scalable Java Microservices with Spring Boot and Spring Cloud.
We'll learn about Spring Boot, and how it can be used to build applications in Google
Cloud.
Objectives
Create a Spring Boot Java application.
01
Configure Secret Manager and create a
02 secret.
Retrieve a secret from Secret Manager in a
03 Spring Boot app.
Deploy a Spring Boot app to Cloud Run.
04
In this course, you’ll create a Spring Boot Java application. You’ll update the app to
retrieve and use a secret that you have stored in Secret Manager. You’ll then deploy
the application to Cloud Run.
Spring Boot and Spring Cloud
Rapid development of stand-alone, production, Spring-based apps.
Pre-configured starters for easy setup.
Minimal need for additional Spring configuration.
Libraries for Google Cloud services provided by Spring Cloud GCP.
The Spring Framework is an open-source application framework, and
inversion-of-control container, developed by Pivotal for the Java platform.
Spring Boot is a Spring Framework solution designed to simplify the bootstrapping
and development of stand-alone, production, Spring-based applications.
To build applications with minimum effort, Spring Boot provides pre-configured
starters that provide automatic quick-start configurations for the Spring platform with
third-party libraries.
The majority of Spring Boot applications require very little additional Spring
configuration so that you can focus on the business code.
Spring Cloud GCP is a project that makes it easy for Spring users to run their
applications on Google Cloud. The repository provides support for using many Google
Cloud services in Spring, including Pub/Sub, Spanner, Firestore, Cloud Logging,
Cloud SQL, and Secret Manager.
Spring Cloud GCP
[Link]
You can view all of the available Spring Cloud GCP components from the Github
repository for the project and download them for use within your applications from
Maven Central.
In the lab, you’ll use Google Cloud services using Spring Boot starters and associated
techniques.
[Link]