Spring Boot application to deploy on GCP cloud Run.

Maheshwar Ligade
techwasti
Published in
3 min readMay 7, 2023

--

Introduction:

Google Cloud Run is a fully managed serverless execution environment for containerized applications. It provides a platform to deploy and run your applications without having to manage infrastructure. In this article, we will learn how to deploy a Spring Boot application on Google Cloud Run.

Topics to be covered:

  1. Prerequisites
  2. Creating a Spring Boot application
  3. Dockerizing the Spring Boot application
  4. Pushing the Docker image to Container Registry
  5. Deploying the Spring Boot application on Cloud Run
  6. Testing the deployed application
  7. Prerequisites: To follow this tutorial, you will need the following prerequisites:
  • A Google Cloud Platform account
  • Google Cloud SDK installed on your local machine
  • Docker installed on your local machine
  • Basic knowledge of Spring Boot, Docker, and Google Cloud Platform

Creating a Spring Boot application:

First, we need to create a Spring Boot application. We can use the Spring Initializer to generate the project structure. Open your browser and navigate to…

--

--

Maheshwar Ligade
techwasti

Learner, Full Stack Developer, blogger, amateur #ML,#DL,#AI dev in the quantum moment. I run https://techwasti.com/ to post all my articles.