[No Audio]
Hello, and welcome back to the Container Masterclass,
or as we very informally call it, the CMC.
As you may remember from many, many videos of this
course, this is the Google Cloud dashboard.
Cloud Run is a part of Google Cloud Platform offerings.
So much like Google Compute Engine VMs, or GKE's
Hosted Kubernetes, the way to navigate is through the hamburger icon.
Before we start using Cloud Run,
we need to make sure that we have enabled its
API in our GCP project. Go to APIs & Services,
click on Dashboard, and you will find stats about
a list of APIs relevant to the products used
under your GCP project. It shows that we have had
the most requests made to Compute Engine and
Logging APIs, which makes sense because both GCE
VMs and GKE Clusters are hosted using Compute
Engine VMs. To find the Cloud Run API, let's head to the Library tab.
You can see a bunch of APIs
divided by categories of usage, we don't want to
keep scrolling for eternity. So let's use one of
the best inventions of computer science,
the search function. Type Cloud Run, and the first
result, you see should be our target API. In case
you get some different results. You can remember
this little icon which looks like a stylized play
or forward button for music player.
Once you land on the Cloud Run API page,
you can notice a lot of
details like when the API was last updated, or
it's one liner description, or its overview, or
even links to its documentation and some Quickstart tutorials.
Let's take a relaxing breath
for a moment and look at an overview of the Cloud Run.
This is important because this is how Google
describes and wants us to perceive Cloud Run as a product.
It is a managed compute platform.
Of course, because as we mentioned, it does run on a
Kubernetes Cluster in the backend. It enables you
to run stateless application containers invokable
via HTTP APIs. HTTP APIs are fine, because
everything that we have done so far in this
course, has used HTTP requests in one way or another.
But the most crucial detail here is stateless.
Cloud Run as of recording this video in
November 2020, only allows stateless applications.
So no StatefulSets, but deployments are
stateless, so we should be able to play with them.
Rest of the part says how it abstracts away the
infrastructure management. We have already seen
that in the last lecture so let's enable the API.
[No Audio]
The API is ready. It is showing some previous
traffic because I had used it for testing earlier.
Now, let's head back to Cloud Run through the hamburger icon.
[No Audio]
The list of services is empty,
since this would be your first time using it.
The API is ready, and we can start creating our first
Cloud Run service in the next lecture.
Till then, happy learning and I hope you have a great day.