- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
- 
    
    
      In the Google Cloud console, on the project selector page, select or create a Google Cloud project. Roles required to select or create a project - Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- 
      Create a project: To create a project, you need the Project Creator
      (roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
 
- 
  
    Verify that billing is enabled for your Google Cloud project. 
- 
    
    
      In the Google Cloud console, on the project selector page, select or create a Google Cloud project. Roles required to select or create a project - Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- 
      Create a project: To create a project, you need the Project Creator
      (roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
 
- 
  
    Verify that billing is enabled for your Google Cloud project. 
- Cloud Run Admin API 사용 설정
- gcloud CLI를 설치하고 초기화합니다.
- 
    구성요소를 업데이트합니다.
    gcloud components update 
- 선택적으로 명령줄에서 프롬프트가 표시되지 않도록 gcloud 속성에 플랫폼 및 기본 Cloud Run 리전을 설정합니다.gcloud config set run/region REGION 
- 
    선택적으로 Docker를 설치하여 Docker 컨테이너를 로컬에서 빌드합니다.
    Docker에서 gcloud CLI 사용자 인증 정보 도우미를 사용하여 Artifact Registry에 대한 액세스 권한을 가져오도록 구성할 수 있습니다.
gcloud auth configure-docker LOCATION-docker.pkg.dev LOCATION을 컨테이너 저장소의 리전 이름으로 바꿉니다(예:us-west2).
- asia-east1(타이완)
- asia-northeast1(도쿄)
- asia-northeast2(오사카)
- asia-south1(인도 뭄바이)
- europe-north1(핀란드)- 낮은 CO2 
- europe-north2(스톡홀름)- 낮은 CO2 
- europe-southwest1(마드리드)- 낮은 CO2 
- europe-west1(벨기에)- 낮은 CO2 
- europe-west4(네덜란드)- 낮은 CO2 
- europe-west8(밀라노)
- europe-west9(파리)- 낮은 CO2 
- me-west1(텔아비브)
- northamerica-south1(멕시코)
- us-central1(아이오와)- 낮은 CO2 
- us-east1(사우스캐롤라이나)
- us-east4(북 버지니아)
- us-east5(콜럼버스)
- us-south1(댈러스)- 낮은 CO2 
- us-west1(오리건)- 낮은 CO2 
- africa-south1(요하네스버그)
- asia-east2(홍콩)
- asia-northeast3(대한민국 서울)
- asia-southeast1(싱가포르)
- asia-southeast2(자카르타)
- asia-south2(인도 델리)
- australia-southeast1(시드니)
- australia-southeast2(멜버른)
- europe-central2(폴란드 바르샤바)
- europe-west10(베를린)
- europe-west12(토리노)
- europe-west2(영국 런던)- 낮은 CO2 
- europe-west3(독일 프랑크푸르트)
- europe-west6(스위스 취리히)- 낮은 CO2 
- me-central1(도하)
- me-central2(담맘)
- northamerica-northeast1(몬트리올)- 낮은 CO2 
- northamerica-northeast2(토론토)- 낮은 CO2 
- southamerica-east1(브라질 상파울루)- 낮은 CO2 
- southamerica-west1(칠레 산티아고)- 낮은 CO2 
- us-west2(로스앤젤레스)
- us-west3(솔트레이크시티)
- us-west4(라스베이거스)
Cloud Run 리전
Cloud Run은 리전을 기반으로 합니다. 즉, Cloud Run 서비스를 실행하는 인프라가 특정 리전에 위치해 있으며 해당 리전 내의 모든 영역에서 중복으로 사용할 수 있도록 Google이 관리합니다.
Cloud Run 서비스를 실행하는 리전을 선택하는 데 있어 중요한 기준은 지연 시간, 가용성 또는 내구성 요구사항입니다.
일반적으로 사용자와 가장 가까운 리전을 선택할 수 있지만 Cloud Run 서비스에서 사용하는 다른 Google Cloud제품 위치도 고려해야 합니다.
여러 위치에서 Google Cloud 제품을 함께 사용하면 서비스 지연 시간과 비용이 영향을 받을 수 있습니다.
Cloud Run은 다음 리전에서 사용할 수 있습니다.
등급 1 가격 적용
등급 2 가격 적용
Cloud Run 서비스를 이미 만들었다면 Google Cloud 콘솔의 Cloud Run 대시보드에서 리전을 확인할 수 있습니다.
선택사항: Cloud Code 도구를 사용하여 새 서비스 개발
Google Cloud 콘솔이나 Google Cloud CLI를 사용하여 새 서비스를 만드는 대신 다음 Cloud Code 도구를 사용할 수 있습니다.
다음 단계
코드 소스에서 컨테이너를 빌드한 다음 Artifact Registry로 푸시하고 배포하는 방법은 다음을 참조하세요.