How to Manage Google Cloud Storage Bucket with Python SDK | Google Cloud APIs

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • ===================================================================
    1. SUBSCRIBE FOR MORE LEARNING :
    / @cloudquicklabs
    ===================================================================
    2. CLOUD QUICK LABS - CHANNEL MEMBERSHIP FOR MORE BENEFITS :
    / @cloudquicklabs
    ===================================================================
    3. BUY ME A COFFEE AS A TOKEN OF APPRECIATION :
    www.buymeacoff...
    ===================================================================
    In this tutorial, we dive into the world of Google Cloud Storage and explore how to efficiently handle tasks related to storage buckets using the Python SDK. Whether you're a beginner or an experienced developer, this video provides step-by-step guidance on leveraging the power of the Python SDK to effortlessly manage your Google Cloud Storage buckets.
    Join us as we walk you through the process of setting up the necessary authentication, creating and deleting buckets, uploading and downloading files, setting access controls, and performing various operations on your storage buckets, all through simple and concise Python code.
    With hands-on examples and practical demonstrations, you'll learn how to streamline your workflow and maximize the potential of Google Cloud Storage. By the end of this video, you'll have the skills and confidence to handle Google Cloud Storage bucket tasks with ease using the Python SDK. Don't miss out on this opportunity to level up your cloud storage management skills!
    Repo link : github.com/Rek...
    #GoogleCloudStorage #PythonSDK #CloudStorageManagement #PythonCoding #BucketManagement #SDKTutorial #CloudStorageWithPython #PythonDevelopment #CloudComputing #techtutorial #CloudStorageTips #PythonSDKTutorial #StorageBucketManagement #GoogleCloudTips #PythonProgramming #CloudStorageSolutions #CloudDevelopment #PythonProjects #TechHowTo #CodeTutorial

ความคิดเห็น • 35

  • @karimovich_01
    @karimovich_01 23 วันที่ผ่านมา +1

    you saved my day😊. thanks a lot

    • @cloudquicklabs
      @cloudquicklabs  23 วันที่ผ่านมา

      Thank you for watching my videos.
      Glad that it helped you.

  • @priyan306
    @priyan306 2 หลายเดือนก่อน +3

    yes I am facing same issue as all pointed here.
    role i created is not showing in grant access filter !

    • @cloudquicklabs
      @cloudquicklabs  2 หลายเดือนก่อน

      This seems to be serious issue may be good raise GCP support case here

    • @javiervargas5388
      @javiervargas5388 14 วันที่ผ่านมา

      did you solve the issue? I'm facing the same issue

  • @criptosbussiness54
    @criptosbussiness54 หลายเดือนก่อน +1

    Thank you very much great video 💪🏽🔥 new subscriptor

    • @cloudquicklabs
      @cloudquicklabs  หลายเดือนก่อน

      Thank you for watching my videos.
      Glad that it helped you.

  • @FIBONACCIVEGA
    @FIBONACCIVEGA 3 หลายเดือนก่อน +1

    great video . I just have a question abut how I can send info from my python code to the bucket on google. I create the bucket previously on google cloud but im not sure what's the info or key I have to copy in my code to send this info to the bucket.
    (key_path = ''
    project_id = ''
    dataset_id = ''')
    Thanks in advance

  • @eleftheriosanagnostopoulos1399
    @eleftheriosanagnostopoulos1399 5 หลายเดือนก่อน +2

    Hello, it seems that the new role "StorageBuckeRole" doesnt appear as an option at 6:49 . Only your previously created role "Cloudquicklabsdemo". Any hint on how to choose it at Role assign? Thanks

    • @sofianesaid226
      @sofianesaid226 5 หลายเดือนก่อน +2

      create a role first, after create a service account and select it from there!

    • @eleftheriosanagnostopoulos1399
      @eleftheriosanagnostopoulos1399 5 หลายเดือนก่อน +1

      @@sofianesaid226 thank you very much, it worked in that sequence! I have another question if you can help me. I upload for my application (website) an Excel file on google storage. When i m on the developement server I can access it and read information. When I deploy the app on the web, I cannot access the Excel file (Error 500). of course the code in unchanged. Note: the credentials doesnt seem to do anything, I mean with them and without them in the code the behaviour of the application is the same. I m working with django:

    • @cloudquicklabs
      @cloudquicklabs  5 หลายเดือนก่อน

      Thank you for watching my videos.
      Indeed, you need to create role and service account related to it.

  • @nathanliao4439
    @nathanliao4439 5 หลายเดือนก่อน +2

    Hi, when I am granting permission to roles, I can't find the role I just created, it only showed limited options. Also, I can't find my role after I type the first few letters in the searching bar. How can I fix that?

    • @cloudquicklabs
      @cloudquicklabs  5 หลายเดือนก่อน

      Thank you for watching my videos.
      I understand GCP IAM is bit inconveniencing. You are not able see role may due to you dont have the access on that role. Try creating new one or may be raise GCP support case.

  • @criptosbussiness54
    @criptosbussiness54 หลายเดือนก่อน +1

    To resolve the grant access doesn’t appear , you need to do the same in IAM icon no in the account service

    • @javiervargas5388
      @javiervargas5388 14 วันที่ผ่านมา

      I did it on the IAM icon and the role did appear but I can't do it in the Service Accounts section as shown in the video, is there something I'm missing?

  • @chidanandanayak9609
    @chidanandanayak9609 10 หลายเดือนก่อน +3

    i dont know why the role i created is not showing in grant access filter !

    • @cloudquicklabs
      @cloudquicklabs  10 หลายเดือนก่อน

      Thank you for watching my videos.
      Looks like you have required permissions now. Check on your access definitions here.

  • @mayank.agrawal
    @mayank.agrawal ปีที่แล้ว +1

    What all are other ways apart from Key based Auth, Which Video I can find the other ways. Thanks

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว +1

      Thank you for watching my videos.
      GCP does support OIDC authentication check out here.docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform

    • @ammarfasih3866
      @ammarfasih3866 ปีที่แล้ว +1

      If you don't want key based authentication, you can execute the code on google cloud shell. It doesn't require such key based authentication and runs just simply by creating a client

  • @catnpizza
    @catnpizza ปีที่แล้ว +1

    Hello, can I reuse the existing service accounts or do I need a new one?

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว

      Thank you for watching my videos.
      You can re-use it , but make sure that you have given Storage Bucket permission on it.

    • @catnpizza
      @catnpizza ปีที่แล้ว +1

      @@cloudquicklabs I have another problem: When I try to assign the role, I cannot find it anywhere and using the filter (I type in the role name and it doesn't come up there)

    • @sirajprincemotaung8982
      @sirajprincemotaung8982 ปีที่แล้ว +1

      @@catnpizza I am having the same issue, did you get yours resolved?

    • @catnpizza
      @catnpizza ปีที่แล้ว

      @@sirajprincemotaung8982 Yes! Go to IAM rather than service accounts

    • @abbaali-concern7457
      @abbaali-concern7457 ปีที่แล้ว

      @@sirajprincemotaung8982 I am having the same issue as well.

  • @sharonestefanytagualgodoy545
    @sharonestefanytagualgodoy545 28 วันที่ผ่านมา +2

    A quienes les da el problema de no ver el rol creado; primero creen el rol y después la cuenta de servicio para poder asignarlo.

    • @cloudquicklabs
      @cloudquicklabs  26 วันที่ผ่านมา

      Great, Thank you for valuable inputs here.
      Much appreciated.

    • @javiervargas5388
      @javiervargas5388 14 วันที่ผ่านมา

      Yo creé el rol en la sección de Roles y seleccioné todos los permisos que se muestran en el video, pero no me aparece el rol cuando quiero agregarlo en las cuentas de servicio. Otro comentario decía que primero hay que agregarlo en la sección IAM, y ahí sí me sale el rol, pero en la de cuentas de servicio no me sale, no sé si hay alguna configuración que se me haya pasado

    • @sharonestefanytagualgodoy545
      @sharonestefanytagualgodoy545 13 วันที่ผ่านมา

      @@javiervargas5388 antes crea el rol, hasta que tengas eso crea la cuenta de servicio para que cuando la estés creando le puedas asignar el rol en esa creación(de una vez) . Al menos yo, solo así pude realizarlo y asignarlo.

  • @srujanathmaktantragnan3582
    @srujanathmaktantragnan3582 7 หลายเดือนก่อน +2

    Just check your video by yourself.... I guess the role what you created and the role what you assign both are different.....

    • @cloudquicklabs
      @cloudquicklabs  7 หลายเดือนก่อน

      Thank you for watching my videos.
      The role I create is to enable viewers on how to create it role. While Indeed used already existing role. But both are same at access level.

    • @xhoques
      @xhoques 7 หลายเดือนก่อน

      @@cloudquicklabs Could this be the possible reason @chidanandanayak9609 cannot find the role? I'm experiencing the same problem (not able to find the role). They need time to update?