How to build an event-driven serverless app

preview_player
Показать описание

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

#ServerlessExpeditions
Рекомендации по теме
Комментарии
Автор

You're explanation and pleasant background music is amazing😍

shakthidharga
Автор

Thanks @TheMomander for the demo, easy to understand architecture!
Going to share it to my LinkedIn and Twitter network 🙂

jitu
Автор

Thank you, this helps a lot to learn google cloud

alexanderf
Автор

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.

ilijanl
Автор

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.

ambeshsingh
Автор

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.

DenisTRUFFAUT
Автор

Why don't you use Eventarc for this demo? It's the new modern way to perform event driven on GCP!

guillaumeblaquiere
Автор

Pulumi is impressive and some woudl say better than Terraform, worth looking to intergrate more examples based on Pulumi!

seanknowles
Автор

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.

dheer