Google Cloud Functions Tutorial: HTTP & API Gateway & Pub/Sub Triggers + Authentication & Serverless

Поділитися
Вставка
  • Опубліковано 10 лис 2024

КОМЕНТАРІ • 77

  • @AntonPutra
    @AntonPutra  Рік тому +4

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @Mamadeshun
    @Mamadeshun 10 місяців тому +4

    Truely this is the best tutorial for Google Cloud Function and the most frequent related services EVER!! THANK YOU

  • @AntonPutra
    @AntonPutra  2 роки тому +9

    ⏱️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

  • @TorbenDury-n7u
    @TorbenDury-n7u Рік тому +1

    very very concise video, boiled down to the important things. thank you!

  • @arthcruz
    @arthcruz 2 роки тому +3

    By far the best video about this subject.

  • @TrippleMYouAlreadyKnow
    @TrippleMYouAlreadyKnow 2 роки тому +6

    Great content, clear and very to the point with practical examples! Thanks so much!

  • @juanjuarez3405
    @juanjuarez3405 11 місяців тому +1

    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

    • @AntonPutra
      @AntonPutra  11 місяців тому

      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.

  • @mankmantos9292
    @mankmantos9292 Рік тому +3

    Thank you a million ma man, saved alot of time.

  • @HennesysDisla
    @HennesysDisla 6 місяців тому +1

    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."

    • @omarquishawi875
      @omarquishawi875 20 днів тому

      @AntonPutra could you please explain why is this happening ?

  • @ravendfj
    @ravendfj 2 місяці тому

    Hi, when I create de function, it asks me for a connector. It is mandatory.
    What should I do?
    Thanks.

    • @AntonPutra
      @AntonPutra  2 місяці тому

      this tutorial covers v1 but you probably trying to create v2 functions based on cloud run

  • @DanielRios549
    @DanielRios549 6 місяців тому

    Can I use GCP Functions to chech user authetication in a GCP CDN project?

    • @AntonPutra
      @AntonPutra  6 місяців тому

      Most likely, you can, but I can tell you this off the top of my head

  • @CLee-q9h
    @CLee-q9h 10 днів тому

    How to open terminal?

  • @abbaskp3330
    @abbaskp3330 Рік тому +1

    Extraordinary 🎉…Thanks a lot…please more videos.

  • @shantanu_kumar
    @shantanu_kumar 11 місяців тому +1

    Major thanks :)

    • @AntonPutra
      @AntonPutra  11 місяців тому

      Welcome, but it's slightly outdated. They released Gen 2 functions a while ago.

    • @shantanu_kumar
      @shantanu_kumar 10 місяців тому

      @@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.

  • @WaqarMurtaza-yk2fh
    @WaqarMurtaza-yk2fh 4 місяці тому

    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?

    • @AntonPutra
      @AntonPutra  4 місяці тому

      It's been a while since I recorded that tutorial. I don't have the answer off the top of my head.

  • @AntonPutra
    @AntonPutra  Рік тому +1

    👉 How to Manage Secrets in Terraform - ua-cam.com/video/3N0tGKwvBdA/v-deo.html
    👉 Terraform Tips & Tricks - ua-cam.com/video/7S94oUTy2z4/v-deo.html
    👉 ArgoCD Tutorial - ua-cam.com/video/zGndgdGa1Tc/v-deo.html

  • @titikay4real
    @titikay4real 5 місяців тому

    This tutorial is A1!

    • @AntonPutra
      @AntonPutra  5 місяців тому

      It's the first iteration of cloud functions, I'll refresh it soon to v2

  • @DominicLucchi
    @DominicLucchi 5 місяців тому +1

    goated tutorial

  • @MrRidwanbejoz
    @MrRidwanbejoz Рік тому +1

    your name sounds like Indonesian name. Thanks for the video, Anton.

    • @AntonPutra
      @AntonPutra  Рік тому +1

      Thanks ridwan! I got it a lot when i was at bali =)

    • @MrRidwanbejoz
      @MrRidwanbejoz Рік тому

      @@AntonPutra Ah I see. That should be awesome experience, Anton.

  • @lukaszgmail
    @lukaszgmail 8 місяців тому

    Excuse me, why my post are deleting? Two times it hapens.

  • @julijanniko
    @julijanniko 2 роки тому +1

    Awesome video. Thanks!

  • @alessandroceccarelli6889
    @alessandroceccarelli6889 7 місяців тому

    How do you do that in python? Thank you so much

    • @AntonPutra
      @AntonPutra  7 місяців тому

      I did not get a question, but they have a separate wiki for python functions - cloud.google.com/functions/docs/create-deploy-http-python

  • @informationsatellite5155
    @informationsatellite5155 Рік тому +1

    amazing..thanks a lot..

  • @functional-human
    @functional-human 2 роки тому +2

    Can you make a tutorial on setting up integration test for cloud function? Also waiting for Api gateway video

  • @alexisurquijo4486
    @alexisurquijo4486 Рік тому

    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?

    • @AntonPutra
      @AntonPutra  Рік тому

      Most likely, they added some functionality in 2dn gen

  • @rohithkotar8466
    @rohithkotar8466 2 роки тому

    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?

    • @AntonPutra
      @AntonPutra  2 роки тому

      Not sure, but you can create multiple functions, they free until they invoked...

  • @ashishgannapuram1497
    @ashishgannapuram1497 Рік тому

    can i configure cloud watch alerts from aws to the pubsub topic?
    please reply me with answer

    • @AntonPutra
      @AntonPutra  Рік тому

      You need to be more specific. Do you want to send cloud watch alerts to gcp? why?

    • @ashishgannapuram1497
      @ashishgannapuram1497 Рік тому

      @@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.

  • @rahmataulia
    @rahmataulia Рік тому

    Thx pak anton!
    Do you have udemy course?

    • @AntonPutra
      @AntonPutra  Рік тому

      Not yet, still have a full time job hard to combine

  • @good_vibes_20
    @good_vibes_20 5 місяців тому

    Nice job

    • @AntonPutra
      @AntonPutra  5 місяців тому +1

      thank you, little bit outdated, i'll soon make a new one

    • @good_vibes_20
      @good_vibes_20 5 місяців тому

      @@AntonPutra Sounds good. Subbed!

  • @andrewzakharov1352
    @andrewzakharov1352 2 роки тому +1

    super
    thank you

  • @AndrewZhilenko
    @AndrewZhilenko 2 роки тому +1

    Thanks a lot!

  • @emilioizquierdo7395
    @emilioizquierdo7395 2 роки тому

    Hi, great video, thank you. You mention another video for deep dive on api gateway. Is that coming out soon?

  • @mamun001
    @mamun001 Рік тому +1

    Thank you

  • @slambingo_
    @slambingo_ Рік тому

    4:04 what is he saying? i can't understand it

  • @DxBang3D
    @DxBang3D Рік тому

    Subtitles are all over the place... not even sure they are for this video..

  • @jaimellanos5386
    @jaimellanos5386 Рік тому

    Hola buenas alguien que me pueda ayudar con un trabajo.

    • @AntonPutra
      @AntonPutra  Рік тому

      Thanks, if I understood the translation correctly. =)

  • @starbutterfly6950
    @starbutterfly6950 2 роки тому

    подтяни акцент, а так норм

  • @TechMarketer
    @TechMarketer 2 роки тому +1

    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.

    • @AntonPutra
      @AntonPutra  2 роки тому +1

      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

    • @TechMarketer
      @TechMarketer 2 роки тому

      @Anton Putra Thx!!