Member-only story

Deploy Simple Java Application to Cloud run GCP

3 min readMar 25, 2024

Google Cloud Run is a serverless platform provided by Google Cloud Platform (GCP) that allows developers to deploy containerized applications without the need to worry about managing the underlying infrastructure. It is built on top of Kubernetes and utilizes the Knative open-source project to abstract away much of the complexity involved in managing containers.

Here are step by step to deploy on cloud run for simple rest API java application:

  1. Connect to github or other repositories to connect to source code.

Click setup with cloud build, then there is a prompt to connect to github, and just fill the needed information to connect to github.

2. Setup trigger to trigger a build and deploy source code to cloud run

The trigger is upon push to a branch

Explanation of trigger detail:

Branch name : main branch

--

--

No responses yet