DEV Community

Discussion on: Deploy an Angular App Using Google Cloud Run

Collapse
 
johnpankowicz profile image
johnpankowicz

Thanks for the tutorial. There is a problem with the order of the steps. (Perhaps this is because of changes to GCP)

At the top, you say to create a service in Cloud Run. But Cloud Run does not let you create a service without selecting the container image URL. It doesn't let you proceed to the next step.

Therefore I first ran: gcloud builds submit --tag gcr.io/PROJECT-ID/SERVICE-NAME

After running this, the container image URL was now available to be selected. I was able then to finish the rest of the steps of "Create Service".

After finishing creating the service, I did not need to run: gcloud run deploy --image gcr.io/PROJECT-ID/PROJECT-NAME --platform managed

The image was already deployed, and I was able to see in the browser that the Angular app was being served by Cloud Run.