Тёмный

How to build an event-driven serverless app 

Google Cloud Tech
Подписаться 1,2 млн
Просмотров 12 тыс.
50% 1

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

Наука

Опубликовано:

 

8 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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😍
@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.
@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!
@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!
@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.
@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
Просмотров 10 тыс.
Daltonik qiz (QVZ 2024)
00:53
Просмотров 166 тыс.
Picking the right serverless platform (Part 1)
14:02
Просмотров 14 тыс.
Top 3 pain points for serverless developers
10:15
Просмотров 7 тыс.
How to design a serverless app
9:55
Просмотров 12 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 869 тыс.
That's It, I'm Done With Serverless*
23:58
Просмотров 199 тыс.
What are AI Agents?
12:29
Просмотров 129 тыс.
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Cloud Functions vs. Cloud Run
20:37
Просмотров 47 тыс.
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 7 млн