Tune into our #AskGoogleCloud premiere on Friday, March 12 10AM PT for a chance to ask Google Cloud’s serverless experts any questions regarding serverless architectures → goo.gle/30wuOy2 Get $300 and start running workloads for free → goo.gle/3riRU75
Great example on Cloud Run, but in the development loops, it's important to show how to test locally with the database and then how to deploy in the cloud.
@@MartinOmander it's maybe not in "serverless expedition" series, but' it's important to secure and get trust from developers. In addition, you have awesome Cloud Code tools and having a hand on video series on it is a "must-have"!
I'm getting the following error: "Error: connect ENOENT /cloudsql/ at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1142:16)" from my nodejs application when it attempts to connect to CloudSql. The API is enabled.
Great video, thank you! Well explained and a good level and pace for me (junior dev just starting out). That deploy script was a great little bit of bonus learning too
In our example, since it's a managed CloudSQL instance without private IP connectivity configured, it's not in a particular VPC so no VPC connector is needed. You would need one if your CloudSQL instance has private IP connectivity enabled and you want to communicate with it via its IP address.
@Roger: next time that you talk about "dog breeds" can you also share a picture of it? I already have difficulties to remind me what is the dog breed in my native language (French), so with the english naming, I'm totally lost!!! Ok, I can search on Google, but just a quick pict could be better!
This database isn't exactly serverless, is it? The REST API is able to scale nicely from 0 to a lot, but the database wont scale automatically at all. Most importantly, it does not scale to 0. What I appreciate about serverless is its pay per use model. The database layer often makes that difficult.
That's correct, CloudSQL is not serverless. If you want a fully serverless database and you're fine with NoSQL, go with Firestore. If you need SQL and you want a more managed solution than CloudSQL, try out Spanner.
Tune into our #AskGoogleCloud premiere on Friday, March 12 10AM PT for a chance to ask Google Cloud’s serverless experts any questions regarding serverless architectures → goo.gle/30wuOy2
Get $300 and start running workloads for free → goo.gle/3riRU75
Great example on Cloud Run, but in the development loops, it's important to show how to test locally with the database and then how to deploy in the cloud.
You're right, Guillaume! I'm adding "local development" to our list of episode ideas.
@@MartinOmander it's maybe not in "serverless expedition" series, but' it's important to secure and get trust from developers. In addition, you have awesome Cloud Code tools and having a hand on video series on it is a "must-have"!
@@guillaumeblaquiere Agreed, Cloud Code is a great VS Code extension for Cloud Run development! We will publish a video about it in late March.
Such a refreshing theme to start off a technical video! Great job Google! :)
Thanks so much!
I am loving this series
Happy to hear it's useful to you!
Nice explanation, clear and direct to the point.
Glad you liked it
I'm getting the following error:
"Error: connect ENOENT /cloudsql/
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1142:16)" from my nodejs application when it attempts to connect to CloudSql. The API is enabled.
Great video, thank you! Well explained and a good level and pace for me (junior dev just starting out). That deploy script was a great little bit of bonus learning too
Can you please share the contents of the Dockerfile?
What's the life expectancy of a chihuahua? How about a Boston Terrier? A Dachshund? Asking for a friend :)
I really like Cloud Shell for GCP. It is so easy to build basic things in it.
Well explained, can you come up with a another vlog, which shows how to authorise these endpoints ( basic auth, oauth2 client cred )
Hi Puran! You should check out ruclips.net/video/BPGpdwPRP6I/видео.html and ruclips.net/video/4HAbnin3nto/видео.html. Let us know if these help!
My nodejs app still can't connect to the MySql idk what I did wrong and it's driving me insane.
Rookie mistake, my credential.json didn't have an execute permission 😂😂😂
Please explain more about secrets manager.
Very helpful! Thanks very much
You're welcome!
Loved this! Thank you!!
how can i download source code
So no vpc-connector was required for this cloud run code?
Public IP
The Cloud Run code is communicating with the Cloud SQL instance by the instance connection name - there's no VPC connector required for this example.
@@rogermartinez9626 Ok so if the database is not in the default network, then you would need a vpc connector?
In our example, since it's a managed CloudSQL instance without private IP connectivity configured, it's not in a particular VPC so no VPC connector is needed. You would need one if your CloudSQL instance has private IP connectivity enabled and you want to communicate with it via its IP address.
i got error while deploy`gcloud command not found `
Sounds like you need to install the gcloud command-line tool. Run a web search for "install gcloud" and you will find the download.
Nice explanation
@Roger: next time that you talk about "dog breeds" can you also share a picture of it? I already have difficulties to remind me what is the dog breed in my native language (French), so with the english naming, I'm totally lost!!! Ok, I can search on Google, but just a quick pict could be better!
How to load test the get request here?
Can you please post the source code link here
it is not for beginner.
This database isn't exactly serverless, is it? The REST API is able to scale nicely from 0 to a lot, but the database wont scale automatically at all. Most importantly, it does not scale to 0. What I appreciate about serverless is its pay per use model. The database layer often makes that difficult.
That's correct, CloudSQL is not serverless. If you want a fully serverless database and you're fine with NoSQL, go with Firestore. If you need SQL and you want a more managed solution than CloudSQL, try out Spanner.
cool