We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Google Cloud Run

Cloud Run is a serverless container hosting service. It's a great fit for Notely because it has a generous free tier, scales automatically, and automagically configures pesky infrastructure like:

  • Load balancing
  • DNS
  • HTTPS

In a nutshell, we give Cloud Run a Docker image, and it runs it for us.

Cloud Run Services

Cloud run has 2 types of applications:

  • Services
  • Jobs

A "service" is a Cloud Run application that listens and responds to web requests, as opposed to a "job" which is simply a task that runs to completion.

Notely makes sense as a service because it's a web application that needs to respond to web requests. It needs to serve the frontend, and it needs to respond to API requests.

Assignment

For now, let's create a test service. Once we're comfortable with the process, we'll deploy Notely.

Run and submit the CLI tests and use the URL of your service (e.g. bootdev config base_url https://test-vo4kpyh36a-uc.a.run.app/).