How to build an event-driven serverless app

  Рет қаралды 12,415

Google Cloud Tech

Google Cloud Tech

Күн бұрын

DeployStack → goo.gle/3CJGilv
Do you want to learn how to design and build an event-driven serverless app? Welcome back to Serverless Expeditions! In this episode Developer Advocates Martin Omander and Terry Ryan look over the Storage Event Function App template application. Let’s dig in and learn how to write an event-driven, serverless application!
Chapters:
0:00 - Intro
0:50 - Install demo application
1:40 - What does this application do?
2:59 - How was this application designed?
3:31 - Why not resize the image in Cloud Run?
4:35 - How to set up Cloud Function to be triggered by file uploads
5:13 - Source code of the Cloud Function
5:30 - CI/CD layer
5:42 - Can you use this application as a template?
6:00 - What is Terraform?
6:22 - How to deploy a new version of the function
7:20 - Wrap up
Watch more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions​
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech​
#ServerlessExpeditions

Пікірлер: 19
@googlecloudtech
@googlecloudtech Жыл бұрын
What sort of serverless apps are you building? Let us know in the comments and be sure to subscribe for updates → goo.gle/GoogleCloudTech
@alexanderf7008
@alexanderf7008 Жыл бұрын
Thank you, this helps a lot to learn google cloud
@shakthidharga9967
@shakthidharga9967 Жыл бұрын
You're explanation and pleasant background music is amazing😍
@jitu028
@jitu028 Жыл бұрын
Thanks @TheMomander for the demo, easy to understand architecture! Going to share it to my LinkedIn and Twitter network 🙂
@TheMomander
@TheMomander Жыл бұрын
Thank you for sharing it, Jitendra!
@ilijanl
@ilijanl Жыл бұрын
Would be nice to have a large terraform project where several buckets, cloud run's and cloud functions are involved. Perhaps with event arc and workflows as well included. Additionally different dev environments would be a bonus.
@TheMomander
@TheMomander Жыл бұрын
Great idea. Thanks for sharing! I'm adding it to our list.
@ilijanl
@ilijanl Жыл бұрын
@@TheMomander Perhaps the youtube comments webapp you mention in this video (and others) would be a nice showcase
@TheMomander
@TheMomander Жыл бұрын
@@ilijanl That's an excellent idea -- thank you!
@ambeshsingh1251
@ambeshsingh1251 Жыл бұрын
Another great video Martin 👏🏻 we would love to see a demo of event driven function based on BQ events like insertion/updation in table records.
@TheMomander
@TheMomander Жыл бұрын
Great idea, thank you Ambesh! I will record an episode about that. In the meantime, do a web search for "How to trigger Cloud Run actions on BigQuery events" and you will find a great blog post written by another Googler.
@guillaumeblaquiere
@guillaumeblaquiere Жыл бұрын
Why don't you use Eventarc for this demo? It's the new modern way to perform event driven on GCP!
@TerrenceRyanGoogle
@TerrenceRyanGoogle Жыл бұрын
Can only fit so much into 1 app. I don't personally have the expertise to properly represent EventArc.
@seanknowles9985
@seanknowles9985 Жыл бұрын
Pulumi is impressive and some woudl say better than Terraform, worth looking to intergrate more examples based on Pulumi!
@TheMomander
@TheMomander Жыл бұрын
I had not heard of Pulumi. Will check them out!
@DenisTRUFFAUT
@DenisTRUFFAUT Жыл бұрын
I usually avoid Cloud Storage events, as uploading a file from inside a function carries the risk to trigger the function, that uploads the file, ...etc => infinite loop. I'm not saying GCS events do not tackle some specific problems, but be very careful when using this pattern and ask yourself if there is not an other way, like a plain old declarative HTTPS invokation.
@TheMomander
@TheMomander Жыл бұрын
Good point! Whenever you create a trigger (in a database, in a file system, in an in-memory data structure) you need make sure it won't trigger itself, or call something else that triggers it.
@dheer211
@dheer211 Жыл бұрын
It would be great to showcase a microservices app composed of multiple cloud run services some of them being internal essentially focus here is on setting up service-service communication and also making these services private similar to a microservices app hosted on GKE for example.
@TheMomander
@TheMomander Жыл бұрын
Great idea, Dheeraj. Thanks for sharing! I'm adding it to our list.
What are smoke tests? | Serverless Reliability
8:34
Google Cloud Tech
Рет қаралды 10 М.
Introduction to Google Cloud
22:25
Google Cloud Tech
Рет қаралды 138 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 18 МЛН
Gym belt !! 😂😂  @kauermotta
00:10
Tibo InShape
Рет қаралды 18 МЛН
Monolith vs Microservices vs Serverless
23:05
Code With Ryan
Рет қаралды 76 М.
Picking the right serverless platform (Part 1)
14:02
Google Cloud Tech
Рет қаралды 14 М.
Kubernetes networking on Google Cloud
7:20
Project Calico
Рет қаралды 14 М.
Cloud Functions vs. Cloud Run
20:37
Google Cloud Tech
Рет қаралды 47 М.
AI Pioneer Shows The Power of AI AGENTS - "The Future Is Agentic"
23:47
Cloud Run: Concepts of Networking
6:19
Google Cloud Tech
Рет қаралды 25 М.
Google Releases AI AGENT BUILDER! 🤖 Worth The Wait?
34:21
Matthew Berman
Рет қаралды 229 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 347 М.
Virtual Machine (VM) vs Docker
8:52
IBM Technology
Рет қаралды 191 М.
⚡ Арестович:ПУТИН всегда держит СЛОВО
5:10
военкор Арнольд
Рет қаралды 156 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 8 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 12 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН