Connect App Engine to Cloud SQL via Private IP - Google Cloud Serverless VPC Access

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • In this video you will learn what is Google Cloud Serverless VPC access (connector) and connecting app engine to cloud sql using a private IP.
    Lot of references made from my previous video • Connect to Cloud SQL f...
    Links used in the video:
    cloud.google.com/vpc/docs/con...
    github.com/cloudadvocate/goog...
    ----------
    - Questions? Thoughts? Disagreements? Tell us here in the comments.
    ----------
    - PLEASE SUBSCRIBE! / @cloudadvocate
    Oh and follow me!
    Facebook: / multicloudguy
    Twitter: / multicloudguy
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @CloudAdvocate
    @CloudAdvocate  4 ปีที่แล้ว +3

    I have a mide a mistake and corrected it, I will see how many of you can spot it :). If you want to take a challange, please implement this with cloud function.👍

    • @shashank2509
      @shashank2509 3 ปีที่แล้ว

      2544131

    • @Cloud-Radio
      @Cloud-Radio 2 ปีที่แล้ว

      will the serverless connector work with cloud composer for running sql script.

    • @saeedhamad780
      @saeedhamad780 2 ปีที่แล้ว

      @15:20 u did not delete the last letter "l" of the project name

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

    Such a better explanation than the video produced by Google. Subscribed!

  • @canislatrans6606
    @canislatrans6606 2 ปีที่แล้ว

    Very good and helpful Cloud Advocate !! The only thing is that the red letters on black background was not very clear. Congrats!

  • @MrBharathkumarraju
    @MrBharathkumarraju 3 ปีที่แล้ว

    Good explanation :)

  • @ihome33
    @ihome33 2 ปีที่แล้ว

    thank you!!

  • @ramulusuddewar9655
    @ramulusuddewar9655 3 ปีที่แล้ว

    Hi GK, thanks for sharing this video. Connecting to Cloud SQL from appengine via private IP is the best approach. Let's assume Cloud SQL is already configured with only private IP. Can you please suggest what could be the best approach to connect from cloud shell in this case. And it will be great if you share any sample java project with same scenario. Thanks in advance.

  • @GregorMaclaine
    @GregorMaclaine 3 ปีที่แล้ว

    Thanks

  • @veerabhimanyusingh779
    @veerabhimanyusingh779 3 ปีที่แล้ว

    hello sir, is there any way to initiate dataproc workflow-template (spark job workflow) using cloud function or workflows (beta)(cloud workflow)

  • @mudassiridrees9935
    @mudassiridrees9935 3 ปีที่แล้ว

    how can i do it with elastic search in could function ? any help

  • @gonzoldyck787
    @gonzoldyck787 2 ปีที่แล้ว

    How about from Cloud Functions?

  • @DevSense-qc5dz
    @DevSense-qc5dz 4 หลายเดือนก่อน

    I had a question, I did the exact same thing but "Connector is in a bad state, manual deletion recommended See logs" is always shown, I have used the default, I don't have any overlapping services

  • @patatedeoufleretour
    @patatedeoufleretour 3 ปีที่แล้ว

    BTW I think the error was that you added a 1 at the end of the project name right ?

  • @ektas4639
    @ektas4639 4 ปีที่แล้ว

    Hi there, very helpful video. But I'm stuck at a point. After enabling API, when I create connector with exactly same details as explained by you - connector is getting created with an error - 'Connector is in bad state, manual deletion recommended. Region I'm using is asia-south1. Tried multiple times since yesterday, no luck! What can be the possible issue?

    • @CloudAdvocate
      @CloudAdvocate  4 ปีที่แล้ว

      Hi Ekta, Looks like you are infact using the supported regions cloud.google.com/vpc/docs/configure-serverless-vpc-access#supported_regions. Could you please create a support ticket with Google cloud.

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

    Hello GK, can you help with Connecting App Engine Flex Env. to Cloud SQL via Private IP

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

    I think if-else... condition is swapped in main-pip.py.

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

    Hi GK, I have a doubt, please clear this if possible:
    I have a cloud run attached with serverless vpc connector and i am using db_host as a connection name instead of cloudsql private IP because my cloudsql instance is enforced with SSL certificates so to bypass this i am using /cloudsql/${connection_name} as a db_host variable to my application, so but my cloudsql instance is having both private and public ip addresses because some reasons, so does cloud run uses private ip to connect to cloudsql or public ip???
    Thanks in advance

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

      Great question 🙋 most likely it will use private ip.. personally haven’t tested this.

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

      @@CloudAdvocate Thanks, do we have any reference docs related to this from Gcp? I tied but couldn’t find any such information from their official page 🙂

  • @pruthvihingu3733
    @pruthvihingu3733 2 ปีที่แล้ว

    while creating vpc connector, I am getting error: "Operation failed: Insufficient CPU quota in region." What I do?

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

      Please try after sometime or create a support ticket.

    • @pruthvihingu3733
      @pruthvihingu3733 2 ปีที่แล้ว

      @@CloudAdvocate I am getting this error since 3-4 days. So, I will create a support ticket now. Thanks for the reply👍.

  • @patatedeoufleretour
    @patatedeoufleretour 3 ปีที่แล้ว

    Don't you lose the advantages of having a private IP address (security) if you set a public IP also ?

    • @CloudAdvocate
      @CloudAdvocate  3 ปีที่แล้ว

      Yes! I must have done it to connect from cloud shell but you are right.

  • @RahulSoni11
    @RahulSoni11 3 ปีที่แล้ว

    wearing AWS t-shirt and Teaching about GCP..

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

    this method is outdated and you have to set ENV_VARIABLES before building cloud run.