GCP Infrastructure as Code with Terraform and GitLab CICD: Step by Step Guide | Google Cloud | IaC

Sdílet
Vložit
  • čas přidán 28. 04. 2023
  • ===================================================================
    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.buymeacoffee.com/cloudqui...
    ===================================================================
    In this video, you'll learn how to streamline your Google Cloud Platform (GCP) infrastructure using Terraform and GitLab CI/CD. We'll take you through a step-by-step guide on how to set up and manage your GCP resources as code, using Terraform to automate the infrastructure deployment process. You'll also see how to integrate GitLab CI/CD pipelines to continuously test, build, and deploy your infrastructure code changes to GCP. We'll share best practices and pro tips to help you optimize your infrastructure management workflow, improve efficiency, and reduce errors. Whether you're a DevOps engineer, cloud architect, or developer, this video is packed with valuable insights to help you revolutionize your GCP infrastructure.
    repo : github.com/RekhuGopal/PythonH...
    #GCP #GoogleCloudPlatform #Terraform #InfrastructureAsCode #IAC #GitLab #CI #CD #CICD #DevOps #CloudArchitecture #Automation #BestPractices #ProTips #Efficiency #ErrorReduction #WorkflowOptimization #CloudComputing #CloudDeployment #CloudInfrastructure #CloudManagement #CloudNative #ContinuousIntegration #ContinuousDelivery #ContinuousDeployment #InfrastructureAutomation #InfrastructureManagement #InfrastructureDeployment #CloudDevOps #CloudEngineering #CloudSolutionArchitecture #CloudMigration #CloudServices #CloudProviders #CloudDevelopment #DevOpsEngineer #CloudArchitect #CloudDeveloper #InfrastructureEngineer #InfrastructureArchitect #InfrastructureDeveloper
  • Věda a technologie

Komentáře • 36

  • @scorpioanil
    @scorpioanil Před rokem +1

    Really appreciate the way it was made simple to understand . Great job done . Thanks a lot.

    • @cloudquicklabs
      @cloudquicklabs  Před rokem

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

  • @amitgarg3652
    @amitgarg3652 Před 11 měsíci +1

    This is very good explanation and nice demo. Awesome videos for who just starting their career in devops. Thanks !!

    • @cloudquicklabs
      @cloudquicklabs  Před 11 měsíci

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

  • @matthewtang9328
    @matthewtang9328 Před 8 měsíci +1

    Great Job, thanks!

    • @cloudquicklabs
      @cloudquicklabs  Před 8 měsíci

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

  • @noname-ss5mm
    @noname-ss5mm Před 2 měsíci +1

    Thanks for share, fantastic video.

    • @cloudquicklabs
      @cloudquicklabs  Před 2 měsíci

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

  • @calypso5629
    @calypso5629 Před rokem +1

    Great, Thanks Sir.

    • @cloudquicklabs
      @cloudquicklabs  Před rokem

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

  • @user-mm9oz4pe6l
    @user-mm9oz4pe6l Před 9 měsíci +1

    excellent. Very helpful information you shared with us.
    I'm learning CI/CD
    Almost every area you cover but you didn't shown authentication part between VS code with gitlab and GCP account. I want more explanation about .gitlab-ci.yml file each steps.

    • @cloudquicklabs
      @cloudquicklabs  Před 9 měsíci

      Thank you for watching my videos.
      Did you check video czcams.com/video/Nc78YJLi48I/video.htmlsi=szRuFW1gooYBBqp4 and it description does provides example files to connect to GCP from VSCODE

  • @saurabhsenger9541
    @saurabhsenger9541 Před 11 měsíci +1

    Hi, This videos really helpful in understanding the integration of Gitlab with GCP using Terraform as IAC.
    I have one query what is requirement of creating initial cloud bucket in GCP ?
    Thanks in advance.

    • @cloudquicklabs
      @cloudquicklabs  Před 11 měsíci

      As part of the demo , I am crating Storage Bucket as the demo resource using terraform and GitLab. But the initially created Bucket is not belong this lab, May I request you too watch the video again.

  • @codescholar7345
    @codescholar7345 Před 5 měsíci +1

    Great video! Do you have a video suggestion that would build more on this demo?

    • @cloudquicklabs
      @cloudquicklabs  Před 5 měsíci

      Thank you for watching my videos.
      Glad that it helped you.
      I have plans to create more video on GCP cloud ahead.

  • @saadullahkhanwarsi5853
    @saadullahkhanwarsi5853 Před rokem +1

    Doing great job

    • @cloudquicklabs
      @cloudquicklabs  Před rokem

      Thank you for watching videos.
      Glad that you found it useful.

  • @soumyasamantaray4595
    @soumyasamantaray4595 Před 7 měsíci +1

    Made it easy 👍

    • @cloudquicklabs
      @cloudquicklabs  Před 7 měsíci

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

  • @dr.amarmudiraj
    @dr.amarmudiraj Před rokem +1

    Hello, I really enjoyed the video, and I have a question. Is it necessary to upload the Service Account JSON key to the repository when we have already stored the JSON key details in variables? I'm concerned about the potential security compliance issues. I apologize if my question seems incorrect, but I would appreciate your guidance on this matter.

    • @cloudquicklabs
      @cloudquicklabs  Před rokem

      Thank you for watching my videos.
      As mentioned in videos, It's need to be authenticated via .json file but also other secure method , Indeed you can use it.

  • @user-mw5qq7ls7c
    @user-mw5qq7ls7c Před 8 měsíci +1

    Hi thank you for your explanation, I have only one question, why you encode the service account key in base 64? Thanks for the answer.

    • @cloudquicklabs
      @cloudquicklabs  Před 8 měsíci

      Thank you for watching my videos.
      Encoding is a best practice when you are authenticating with service account.

  • @user-tu7yt6fn2z
    @user-tu7yt6fn2z Před 5 měsíci +2

    Very informative. I tried to create a GKE Auto Pilot cluster with a shared VPC private network through terraform, assigned necessary GKE service account permissions, and make sure the control plane, node, ranges IP range and the location are aligned correctly as per the GCP GKE documentation. But stuck with this exception again and again, 'Error: Error waiting for creating GKE cluster: All cluster resources were brought up, but: only 0 nodes out of 1 have registered; cluster may be unhealthy.' Pls share if there is any suggestions to troubleshoot this error ??

    • @cloudquicklabs
      @cloudquicklabs  Před 4 měsíci

      Thank you for watching my videos.
      This error difficult predictreasons please check if node size that you are using to cluster is allowed in your account and access first.

    • @user-tu7yt6fn2z
      @user-tu7yt6fn2z Před 4 měsíci

      Thanks for your response. I'm able to handle this exception.

  • @chingon93
    @chingon93 Před 7 měsíci +1

    Great video! I am trying this with my current GCP project but am getting an "googleapi: Error 403: Insufficient Permission, insufficientPermissions" message during the apply step. The SA I created has the editor role so I am not sure what step(s) I am missing.

    • @cloudquicklabs
      @cloudquicklabs  Před 7 měsíci

      Thank you for watching my videos.
      GCP works uniquely when it comes with access, I too have gone through same issues. You could check on scope of the access and try giving access explicit of Services that you want to deploy through tf.

    • @chingon93
      @chingon93 Před 7 měsíci

      OK, I will try that route. I should have also mentioned that I have existing infrastructure that I deployed from my device to GCP. My hope was to migrate to gitlab to manage the CI/CD. I have to read up on how to handle the existing tf state file with a backend baucket as I am also getting a "resource already exist" error when the job is run in gitlab. Thanks again, any guidance is greatly appreciated. @@cloudquicklabs

  • @genyklemberg
    @genyklemberg Před 7 měsíci +1

    You better not use online tools for encoding or anything else with your secret data. You can do that locally with base64 command

    • @cloudquicklabs
      @cloudquicklabs  Před 7 měsíci +1

      Thank you for watching my videos.
      Indeed , It's very good suggestions.
      I shall follow this next.

  • @skethiri
    @skethiri Před 6 měsíci +1

    Service account credentials should not be committed to the repository. You are already echoing the variable to a credential file during CI and using it with terraform. That would be enough.

    • @cloudquicklabs
      @cloudquicklabs  Před 6 měsíci

      Thank you for watching my videos.
      And thank you for sharing the valuable inputs.

  • @priyamgupta9228
    @priyamgupta9228 Před 10 dny +1

    The content covered is good. but this frequent "you know" is kind of irritating. if possible please avoid using " you know" again and again.

    • @cloudquicklabs
      @cloudquicklabs  Před 10 dny

      Thank you for watching my videos.
      Indeed I try my best make it clear content ahead.