What is Cloud IAM?

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 17

  • @googlecloudtech
    @googlecloudtech  2 года назад

    🙋 What other serverless topics would you like Martin to discuss? Let us know in the comments below!
    ✅ Subscribe for more serverless explanations → goo.gle/GoogleCloudTech

  • @LeonBlade
    @LeonBlade 4 месяца назад +2

    This is such a fantastic video for explaining what you need to know about IAM without being super long or super vague. I think it goes into a great depth of how it works and explaining real scenarios that make sense for all types of learning styles.

    • @TheMomander
      @TheMomander 4 месяца назад

      Happy to hear you found it useful!

  • @panky9277
    @panky9277 Год назад +4

    Nicely explained Emanuel Burgess, such calm voice that everything sounds easy to do :) !

  • @LindaLawton
    @LindaLawton Год назад +2

    What is the best way to handle permissions across projects if say my cloud run service needs access to a database in another project

    • @TheMomander
      @TheMomander Год назад +5

      Let's say we are running a REST API that uses Cloud Run in Project_A and the Firestore database in Project_B. We'd create a service account called "rest-api" in Project_A and make sure it has the right privileges for any services it is using in Project_A. Google Cloud will generate the email address "rest-api@project_a.iam.gserviceaccount.com" for this account. Then we'd go to Project_B, pick IAM, click the "Grant access" button, paste in "rest-api@project_a.iam.gserviceaccount.com" in the "New principals" text-field, and grant it the right privileges for accessing the Firestore database.
      Hope this helps!

  • @eklok5000
    @eklok5000 2 года назад +2

    Awesome episode. But I did not get how to structure these folders at 4:43 . I mean, I get it concept-wise. But where do I navigate in the console to do that?
    Another question for the Cloudstore Read/Write role: Is that not still to powerful? Like can we restrict access to only RW for a certain table? And can I also specify from the Cloudstore side which SA has access to my tables (so initiating the permission from the resource itself instead of initiated it by SA)?

    • @TheMomander
      @TheMomander 2 года назад +1

      Good questions! You can edit your folders by going to the Cloud Console, clicking the hamburger menu, then "IAM and admin", and then "Manage resources".
      You can set more granular permissions for Datastore, like allowing/disallowing creation of records, reading them, deleting them, listing them, updating them, and so on. But Datastore is a NoSQL database so it doesn't have the concept of "tables". If you want table-level access, you should probably go with Postgres on Google Cloud SQL.
      Hope this helps!

    • @eklok5000
      @eklok5000 2 года назад +1

      @@TheMomander Thanks Martin!

  • @themodernglory
    @themodernglory 2 года назад +1

    This is so amazing, Hats off to you both

  • @ChamalNanayakkara
    @ChamalNanayakkara 2 года назад +1

    Nicely explained!

  • @mars3142
    @mars3142 2 года назад

    What's the best way to use multiple cloud run services with a gateway (which only has public access)? Or should I use other services (k8s, ...) for that?

    • @TheMomander
      @TheMomander 2 года назад

      Probably "Cloud Load Balancing". It can put a single domain name in front of multiple Cloud Run services and send traffic to each service depending on the URL of incoming requests. But it depends. What is it you want to accomplish with the gateway?

  • @mariocortes2670
    @mariocortes2670 2 года назад +1

    Good video!

  • @tlotlooepeng8721
    @tlotlooepeng8721 3 месяца назад

    The problem with google tutorials is they are too technical. If youre not an industry expert you never understand what they are saying

  • @CANYARAN
    @CANYARAN 2 года назад

    7

  • @Gibby-TZZ
    @Gibby-TZZ 2 года назад

    2nd