Google Cloud Functions Tutorial: HTTP & API Gateway & Pub/Sub Triggers + Authentication & Serverless
HTML-код
- Опубликовано: 11 июл 2024
- 🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
► LinkedIn: / anton-putra
► Twitter/X: / antonvputra
► GitHub: github.com/antonputra
► Email: me@antonputra.com
▬▬▬▬▬▬ Related videos 👨🏫 ▬▬▬▬▬▬
👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
👉 [Playlist] Network Tutorials: • Network Tutorials
👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
👉 [Playlist] Database Tutorials: • Database Tutorials
=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:33 Cloud Functions HTTP Trigger
2:39 Cloud Functions Authentication
4:06 Authenticating Function to Function Calls
7:15 Using Secrets in Google Cloud Functions
10:00 Deploy Cloud Function from GitHub
13:51 Google Cloud Functions CI CD
17:45 Deploy Cloud Function Using Terraform
19:31 Run Cloud Functions Locally
20:17 Cloud Functions PubSub Trigger
22:03 Trigger a Function on Cloud Storage Changes
23:42 API Gateway with Cloud Functions
=========
Source Code
📚 - Tutorial: antonputra.com/google/google-...
#GCP #CloudFunctions #DevOps Наука
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Truely this is the best tutorial for Google Cloud Function and the most frequent related services EVER!! THANK YOU
thank you :)
Great content, clear and very to the point with practical examples! Thanks so much!
Thanks Brian!
By far the best video about this subject.
Thanks Arthur!
👉 How to Manage Secrets in Terraform - ruclips.net/video/3N0tGKwvBdA/видео.html
👉 Terraform Tips & Tricks - ruclips.net/video/7S94oUTy2z4/видео.html
👉 ArgoCD Tutorial - ruclips.net/video/zGndgdGa1Tc/видео.html
⏱️TIMESTAMPS⏱️
0:00 Intro
0:33 Cloud Functions HTTP Trigger
2:39 Cloud Functions Authentication
4:06 Authenticating Function to Function Calls
7:15 Using Secrets in Google Cloud Functions
10:00 Deploy Cloud Function from GitHub
13:51 Google Cloud Functions CI CD
17:45 Deploy Cloud Function Using Terraform
19:31 Run Cloud Functions Locally
20:17 Cloud Functions PubSub Trigger
22:03 Trigger a Function on Cloud Storage Changes
23:42 API Gateway with Cloud Functions
Thank you a million ma man, saved alot of time.
Thanks Mank!
Awesome video. Thanks!
Thanks!!
Extraordinary 🎉…Thanks a lot…please more videos.
Thanks Abbas!
goated tutorial
thanks
This tutorial is A1!
It's the first iteration of cloud functions, I'll refresh it soon to v2
Thanks a lot!
You're welcome!
amazing..thanks a lot..
welcome!
super
thank you
welcome
Major thanks :)
Welcome, but it's slightly outdated. They released Gen 2 functions a while ago.
@@AntonPutra Maybe, but I was so damn clueless about cloud functions, that this video formed the foundation of my learning. Please keep at it. You have a way of distilling down the concepts so well.
Hi, great video, thank you. You mention another video for deep dive on api gateway. Is that coming out soon?
thanks, in progress
Thank you
Welcome!
Excellent contribution, I made a cloud function (Java) with authorization that connects to bigquery and returns a json. In the console I generate my print-indentity-token and consume this "service" from postman, but I don't know how to consume this service from another cloud, or how to get the print-indentity-token to send it to you in the header
Thank you! It's been a while since I worked with Google functions. They have released a new version based on Cloud Run, so you might want to look into it.
Nice job
thank you, little bit outdated, i'll soon make a new one
@@AntonPutra Sounds good. Subbed!
Can you make a tutorial on setting up integration test for cloud function? Also waiting for Api gateway video
Sure, will do it soon
Amazing! Is there a way to protect cloud function by using oauth 2.0 authorization server? I mean using an authorization server that generate an access token and then call a function using this token?
Most likely, they added some functionality in 2dn gen
your name sounds like Indonesian name. Thanks for the video, Anton.
Thanks ridwan! I got it a lot when i was at bali =)
@@AntonPutra Ah I see. That should be awesome experience, Anton.
curl call on function b did not return the message "Hello from function A" it gave the following error "Your client does not have permission to get URL /function-b from this server."
What if I don't have an owner role, will i need to change IAM policy to allUsers 'invoker role' to invoke the function? Also to invoke with such permissions set, will I still have to pass token in headers?
It's been a while since I recorded that tutorial. I don't have the answer off the top of my head.
Can I use GCP Functions to chech user authetication in a GCP CDN project?
Most likely, you can, but I can tell you this off the top of my head
I need to run a function when ever files are modified in any buckets. How can I mention multiple buckets in trigger event? What can be the solution for this?
Not sure, but you can create multiple functions, they free until they invoked...
Thx pak anton!
Do you have udemy course?
Not yet, still have a full time job hard to combine
can i configure cloud watch alerts from aws to the pubsub topic?
please reply me with answer
You need to be more specific. Do you want to send cloud watch alerts to gcp? why?
@@AntonPutra we have configured gcp pubsub alerts to cortex alert manager and for multiple cloud in order to follow same hierarchy I need to send alert manager via pubsub to perform enhancement of alert msgs using cloud functions.
Excuse me, why my post are deleting? Two times it hapens.
How do you do that in python? Thank you so much
I did not get a question, but they have a separate wiki for python functions - cloud.google.com/functions/docs/create-deploy-http-python
Hola buenas alguien que me pueda ayudar con un trabajo.
Thanks, if I understood the translation correctly. =)
4:04 what is he saying? i can't understand it
you need to install "gcloud"
@@AntonPutrathank you
Subtitles are all over the place... not even sure they are for this video..
it's auto sync by youtube
подтяни акцент, а так норм
spasibo
Nice video, unfortunately:
1 - I can't find the code used in the tutorial
2 - The explanations (example: why we should use secret manager?) are insufficient
Слава Україні!
Pawel.
Thank you for feedback! You can find the source code on my website - antonputra.com/google/google-cloud-functions-tutorial/#api-gateway-with-cloud-functions. Some part of it on GitHub - github.com/antonputra/tutorials/tree/main/lessons/106
@Anton Putra Thx!!
very very concise video, boiled down to the important things. thank you!
Thank for the feedback!