Building a highly available Cloud Run app with Cloud Spanner

  Рет қаралды 4,921

Google Cloud Tech

Google Cloud Tech

Күн бұрын

When building a business critical serverless application, high availability and multi-regional databases guarantee reliability. If one region goes down, you can send all of your traffic to a secondary region to prevent failure. Watch along and learn how to run your application’s database on Cloud Run in multiple regions with Cloud Spanner.
Chapters:
0:00 - Intro
0:25 - What is a multi-regional cloud database?
1:00 - Eliminate the single point of failure
1:44 - Why choose Cloud Spanner?
2:35 - How to set up a Spanner database
3:41 - What if there is no regional configuration for my area?
4:16 - How much does it cost to run a multi-regional configuration?
5:39 - Do I need to update my application code for Cloud Spanner?
6:05 - Summary of Cloud Spanner
6:43 - Regional vs. multi-regional configurations
7:03 - Wrap up
Speed up your Cloud Run service by hosting it closer to your users → goo.gle/3CUXAwU
Serving traffic from multiple regions → goo.gle/3qi7d0Z
Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech​
#ServerlessExpeditions​ #ServerlessExpeditionsExtended #CloudRun

Пікірлер: 16
@googlecloudtech
@googlecloudtech Жыл бұрын
Have any questions on multi-regional Cloud Run and Spanner? Let us know in the comments and subscribe for more sereverless content → goo.gle/GoogleCloudTech
@KevinBoutin
@KevinBoutin Жыл бұрын
Running Cloud Run across multiple regions will require a NEG in my experience. I suppose this was focusing on the database only.
@benbaert2166
@benbaert2166 Жыл бұрын
Yes, you'll need a global LB with a backend service with multiple NEGs. It's quite straightforward; the only downside is that you'll have an additional fixed cost compared to using Cloud Run's free load balancing, but I doubt this matters if you're setting up a Spanner instance. 🙂
@TheMomander
@TheMomander Жыл бұрын
@@benbaert2166 Good points Ben and Kevin! In the video description there is a link to the video where Ahmet and I set up multi-regional Cloud Run.
@LordCAR
@LordCAR Жыл бұрын
You are right. As of now, the (in the architecture diagram omitted) NEGs will make this setup not serverless anymore, unfortunately.
@TheMomander
@TheMomander Жыл бұрын
@@LordCAR Yes, you are right. It costs money to provision a NEG.
@riccardopellegrino5447
@riccardopellegrino5447 Жыл бұрын
Great video! I would love to see a more in detail example of cloud Run implementation :)
@conorvandewetering4040
@conorvandewetering4040 Жыл бұрын
Fun video !
@seanknowles9985
@seanknowles9985 Жыл бұрын
Spanner is great but no work from Google has gone into making it compatible with leading/popular ORMs.
@TheMomander
@TheMomander Жыл бұрын
Spanner integrates with these ORMs: Hibernate, Spring Boot, EntityFramework, ActiveRecord, Django, and SQLAlchemy. (Search "spanner [orm name]" and you will find the right docs). Is there another ORM you have in mind?
@seanknowles9985
@seanknowles9985 Жыл бұрын
Prisma, TypeORM, Knex, Gorm
@seanknowles9985
@seanknowles9985 Жыл бұрын
@@TheMomander Thanks for the reply, so in the Javascript world Prisma is amazing, alongside Knex and TypeORM and in the Golang world GORM.
@seanknowles9985
@seanknowles9985 Жыл бұрын
Lastly in the Kotlin world Ktorm and Exposed would be amazing also.
@TheMomander
@TheMomander Жыл бұрын
@@seanknowles9985 Thank you for your suggestions! I am forwarding them to the Spanner team.
@sinos_karan9515
@sinos_karan9515 Жыл бұрын
Hello Google!
How L’Oreal built a data warehouse on Google Cloud
9:38
Google Cloud Tech
Рет қаралды 12 М.
Top 3 pain points for serverless developers
10:15
Google Cloud Tech
Рет қаралды 7 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 55 МЛН
Designing a serverless app on Google Cloud
13:52
Google Cloud Tech
Рет қаралды 15 М.
From a virtual machine database to Firestore
10:56
Google Cloud Tech
Рет қаралды 4,6 М.
Generative AI and Data Engineering - Shakeel Hye
20:40
Data Science Salon
Рет қаралды 1,5 М.
Picking the right serverless platform (Part 1)
14:02
Google Cloud Tech
Рет қаралды 14 М.
Authenticating users with Workforce Identity Federation
4:12
Google Cloud Tech
Рет қаралды 5 М.
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 241 М.
How to port stateful web apps to Cloud Run
7:12
Google Cloud Tech
Рет қаралды 10 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 8 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 29 МЛН