From the course: Google Cloud Platform Essential Training for Developers: Cloud-Native Development with Gemini
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Deploying and scaling a web service with Cloud Run - Google Cloud Platform Tutorial
From the course: Google Cloud Platform Essential Training for Developers: Cloud-Native Development with Gemini
Deploying and scaling a web service with Cloud Run
Okay, so now we know the differences between Cloud Run and GKE. Let's start off with Cloud Run and deploy a web service here and manage its scaling settings. So the first thing we're going to do is we're going to go ahead and jump into Cloud Shell. And in Cloud Shell, what makes things a lot easier is when you set up your global variables. So we're going to go ahead and do that. And when we're looking at this, these settings here, we're looking at the project ID, DevEssentials course, the region, US Central 1, and then the zone we're gonna be using Central 1A. And then now what we're gonna do is deploy a web service. Now this web service I'm using, it's basically one of Google's demo containers that you could deploy. It's freely available, gives you some good ideas to test and just to see how it works. So this one here is actually, you could see located in this image path here on this line of code here. It's a Hello World app 1.0. And the key thing to point out is it does allow…