The document is about an upcoming meetup hosted by ServerlessToronto.org on "Serverless Cloud Native Java with Spring Cloud GCP" presented by Ray Tsang. It includes an agenda for the event with topics on Spring Cloud GCP features and integrations with Google Cloud Platform services. There is also information about upcoming meetups from the organization and a thank you from Ray Tsang for attending the presentation.
2. Welcome to ServerlessToronto.org
2
Introduce Yourself ☺
- Why are you here? Where from?
- Looking for, or Offering work?
Fill the survey to win prises!
“Serverless Cloud Native Java with
Spring Cloud GCP” with Ray Tsang of
GCP will start at 6:15pm…
3. 2 Sponsors: Knowledge Sponsor
1. Go to www.manning.com
2. Select *any* e-Book, Video course, or liveProject you want!
3. Add it to your shopping cart (no more than 1 item in the cart)
4. Raffle winners will send me the emails (used in Manning portal),
5. So the publisher can move it to your Dashboard – as if purchased.
GOOD LUCK!
Fill the survey to win ☺
4. Google Cloud Customer Community: C2C
Fill the survey, be the first to own C2C’s hoodie!
Connections
Customer-to-customer conversations, as well as
events, forums, and other outlets to connect with peers
and experts.
Events and Education
Customer stories, presentations, blogs, and points of
view on hot topics, best practices, and the latest
Google Cloud news.
Exclusive Access
Sessions and conversations with Google Cloud
experts and executives to learn from the best and
share your feedback to help shape what’s next.
5. Serverless is not just about the Tech:
5
Serverless is New Agile & Mindset
#1 Serverless Dev
(Back-end FaaS dev,
but turned into gluing
APIs and Managed
Services)
#2 We're obsessed by
creating business value
(meaningful MVPs,
Products), to empower
Business users
#3 We build bridges
between Serverless
Community (“Dev leg”),
and Front-end & Voice-
First developers & User
Experience designers
(“UX leg”)
#4 Achieve agility NOT
by “sprinting” faster
(like in Scrum), but
working smarter (by
using bigger building
blocks and less Ops)
6. Upcoming ServerlessToronto.org Meetups
6
1) Community Lightning Talks &
Updates for our 3rd Birthday
2) How to choose what Azure
services to use and when? –
Barry Luijbregts Azure MVP
& Pluralsight Author
3) This is my Architecture to
prevent $72K Cloud Bills /
bankruptcies – Sudeep
Chauhan, ToMilkieWay.com
4) ??? We need you ☺ Please rate us ☺
7. Why cloud-native Java topic & why now?
7
Java Developers: You’re more Cloud-native than you think ☺
Enterprises: Traditionally think of PCF (Pivotal Cloud Foundry) or OpenShift as
Platforms, but in reality, the underlying Cloud became an App Platform – especially
when using Managed Services & Serverless. Why care in COVID-times?
• Everybody is under pressure to cut costs – more now than before COVID
• Using “a platform on top of a platform” increases Project Complexity,
Development/Support/Cloud costs, plus decreases Speed to Market and
Innovation (as you’re limited to which Cloud Services are allowed to use),
• making IT more expensive, leading to more job losses, rate cuts… more “bleeding”.
Solution: Spring Boot App is the unit of portability, now
when most Clouds can run fully-managed Java Apps:
+
22. 15@saturnism @gcpcloud
Just search for "Spring Boot GCP"
https://github.com/spring-cloud/spring-cloud-gcp
https://spring.io/projects/spring-cloud-gcp
Collaboration between GCP and Spring engineers
Idiomatic integrations with Spring Boot for 10+ GCP services
+
23. 16@saturnism @gcpcloud
Feature GCP Service Spring Framework
Configuration Cloud Secret Manager Spring Cloud Config
Messaging Cloud Pub/Sub Spring Integration
Spring Cloud Stream
Spring Dataflow
Database Cloud SQL
Cloud Spanner
Cloud Firestore
Cloud Datastore
Spring Data JPA
Spring Data Spanner, r2dbc driver, Hibernate
Spring Data Reactive Firestore
Spring Data Datastore
Data Warehouse Cloud BigQuery Spring Integration
Storage Cloud Storage Spring Resource
Logging Stackdriver Logging Logback
Trace Stackdriver Trace Spring Cloud Sleuth
Metrics Stackdriver Monitoring Use Micrometer
Security Cloud Identity-Aware Proxy Spring Security
Vision Vision API Vision Starter
24. 17@saturnism @gcpcloud
@SpringBootApplication
class ExampleApplication {
@Bean fun restTemplate() = RestTemplate()
}
fun main(args: Array<String>) {
runApplication<DemoGcpApplication>(*args)
}
@RepositoryRestResource
interface PersonRepositiory : PagingAndSortingRepository<Person, String>
@Table
data class Person(
@PrimaryKey
var id: String? = null,
var name: String? = null
)
26. 19@saturnism @gcpcloud
Bring your own Fully Managed Serverless
What? Install your own MySQL
Anything you want
Cloud SQL (MySQL,
PostgreSQL)
Cloud spanner
Firestore (NoSQL)
Datastore (NoSQL)
Where? Compute Engine VM
Kubernetes Container
We host it for you We host it for you
Billing? Compute resource Compute resource Usage
(Reads/Writes/Storage)
28. 21@saturnism @gcpcloud
SELECT * FROM Order
WHERE done = FALSE AND priority >= 4
ORDER BY priority DESC
Each field is individually indexed
Manual composite index
=, >, >=, <, <=
No "Like" queries
34. 27@saturnism @gcpcloud
Spring Cloud Config with Secret Manager
Store credentials, configurations in Cloud Secret Manager
Reference values in properties or SpEL
No code
43. 36@saturnism @gcpcloud
Object store
No more "disk out of space"
Multi-regional, global availability
Tiered storage options
Encryption at rest
Cloud Storage
45. 38@saturnism @gcpcloud
App Engine Cloud Run
Deploys Your application
A JAR!
Your application
A Container Image
Billing Instance Hours Billable time
Scaling 0 to N 0 to N
CPU Available when instance is up Available when request is being
processed