Cloud Native with Spring Boot on Google Cloud Platform
summary
A concrete demo shows Spring Cloud GCP milestone wiring Spring Boot to real GCP services: uploads cat images to Google Cloud Storage, persists cat records to Cloud SQL (MySQL by default, switchable to Postgres), and emits spans to Stackdriver Trace so distributed traces show upload and DB latencies. Credentials use a service‑account JSON mounted into Kubernetes as a secret, the app is containerized and deployed to GKE, and the live demo successfully exercises storage, SQL and tracing; code is on GitHub.
AI-written summary · about
chapters (13)
- 0:00Spring Boot on Google Cloud
- 2:07Spring Cloud GCP integrations
- 5:00Google Cloud Storage setup
- 8:10Spring Boot GCP dependencies
- 10:17Uploading images to GCS
- 11:01Cloud SQL with Spring Data JPA
- 13:37Schema.sql for tables
- 15:10Stackdriver Trace requests
- 18:07Viewing traces in console
- 19:33Deploying to Google Kubernetes Engine
- 22:08Kubernetes credentials
- 24:25Accessing deployed app
- 25:55Summary and next steps
related talks
51mGoogle Cloud Native with Spring Boot
52mSpring to Google Cloud Native
50mPower of Google Cloud Platform with Spring Cloud GCP - Mark Fisher, João Martins
57mDebugging Java in Production on Google Cloud Platform
21mCloud Foundry on Google Cloud Platform
12mState of Cloud Foundry on Google Cloud Platform
39mCloud Platform (GCP) Essentials
50mCloud Jump Start for Java Developers
