Deploy with Cloud Run
· 閱讀時間約 3 分鐘
This article introduces how we can deploy a service (take NextJS as an example) to Google Cloud Run using Docker and GCP Artifact Registry.
Create a project on GCP
First, we need to create a project on GCP.
Create an Artifact registry
After creating the project, navigate to ‘Artifact registry’ and click ‘+ CREATE REPOSITORY’ to create a repository for out application.
Fill out proper info., like so:
- set the repository name
- set region to ‘asia-east1(Taiwan)’