Search code examples
google-cloud-platformconnectiongoogle-cloud-run

Connect two cloud run services on GCP


I need to deploy two cloud run servicen on GCP, one is frontend and the other is backend so I wanna ask

  1. is it possible to connect 2 services like this ones?
  2. if its possible what is the best way of connecting those two services which will be able to communicate?

I searched through the internet didn't find a lot of useful info


Solution

  • Please consider the official documentation :

    Securing Cloud Run services tutorial

    This tutorial walks through how to create a secure two-service application running on Cloud Run. This application is a Markdown editor which includes a public "frontend" service which anyone can use to compose markdown text, and a private "backend" service which renders Markdown text to HTML.

    enter image description here