DEV Community

Cover image for Part-40: Google Serverless Cloud Run Services and Jobs
Latchu@DevOps
Latchu@DevOps

Posted on

Part-40: Google Serverless Cloud Run Services and Jobs

Google Cloud Run

  • Cloud Run is a Serverless Container Platform
  • Fully managed Compute Platform

Used to run containers directly
NO manual infrastructure management required.
NO visibility to underlying vm instances

  • Any language, any library, any binary supported to run on Cloud Run
  • Fully Integrated with other Google cloud services to build featured
  • applications (Cloud SQL, Cloud Build, Cloud Logging, Cloud Monitoring,
  • Firebase, Cloud Load Balancing, Cloud Memory Store, Secret Manager, VPC
  • Private Networking, Cloud Tasks)

g1

We can run code on Cloud Run in two ways

Cloud Run Services:

  • Deploy/Run code that responds to web requests or events
  • When to use

Websites and Web Applications
APIS and Microservices (supports HTTP and gRPC protocols)
Streaming data (Receive events from Eventarc or messages from Pub/Sub Subscriptions)


Cloud Run Jobs:

  • Deploy/Run code that performs work (a job) and quits when the work is done
  • In short, our container will execute job and runs to completion.
  • When to use: Database migrations, scheduled jobs, parallel processing of tasks

Top comments (0)