Deploying VueJS with NodeJS Backend on GCP Cloud Run from Cloud Source Repositories

A step by step guide with an example project With Docker Runtime

Bhargav Bachina
Bachina Labs

--

If you want to develop and deploy highly scalable containerized applications on a fully managed serverless platform, GCP Cloud Run is the right choice. You can run the whole WebApp with Docker runtime without any worry about the configuration from your side. GCP Cloud Run is a GCP service that you can write code your way by deploying any code or container that listens for requests or events. Build applications in your favorite language, with your favorite dependencies and tools, and deploy them in seconds.

You can select the NodeJS runtime or you can dockerize the WebApp and deploy that in the Docker runtime. The source code can be pulled from the Cloud source repositories, etc. In this post, we will see how to deploy VueJS with NodeJS Backend from cloud source repositories and build with cloud build.

  • Prerequisites
  • Install gcloud CLI and Configure
  • Example Project
  • Dockerize the Project
  • Running the WebApp on Docker
  • Configure Source Code Repositories
  • Creating a Cloud Run Service

--

--