GCP용 외부 함수 계획하기
GCP용 외부 함수 계획하기 (Planning an external function for GCP)
Google Cloud Console 사용자 인터페이스를 활용해서 GCP(Google Cloud Platform)용 외부 함수를 만들 준비를 돕는 문서예요. 외부 함수를 실제로 만들기 전에, 사전에 갖춰야 할 요구 사항과 진행 과정에서 기록해 둬야 할 값들을 정리해 두는 작업을 안내해 드릴게요.
본문
사전 요구 사항 (Prerequisites)
이 안내는 여러분이 Google Cloud Console을 잘 다룰 수 있는 사용자라고 가정해요. GCP용 외부 함수를 만들려면 다음 항목이 필요합니다:
- Google Cloud 프로젝트 ID(project ID)가 있어야 해요.
- Google Cloud 프로젝트에 올바른 서비스가 활성화돼 있어야 해요. 자세한 요구 사항은
gcloud를 이용한 API/API Gateway 배포 퀵스타트(Quickstart for Deploying an API/API Gateway using gcloud) 문서를 참고하세요.
필요한 정보를 기록하는 워크시트 만들기
Google Cloud Console에서 외부 함수를 만들 때 각 단계를 진행하면서 특정 값(예: Cloud Function Trigger URL)을 입력해야 해요. 이렇게 입력한 값들은 종종 이후 단계에서 다시 필요해지죠. 이 정보를 쉽게 기록하고 추적할 수 있도록, 필요한 값마다 입력란을 마련한 워크시트를 준비했습니다:
================================================================================
=================== Tracking Worksheet: Google Cloud Console ===================
================================================================================
****** Step 1: Cloud Function (Remote Service) Info ****************************
Cloud Function Trigger URL: ____________________________________________________
****** Step 2: API Config File Info ********************************************
Path Suffix: ___________________________________________________________________
Configuration File Name: _______________________________________________________
****** Step 2: API Gateway (Proxy Service) Info ********************************
Managed Service Identifier: ____________________________________________________
Gateway Base URL: _____________________________________________________________
****** Steps 3-4: API Integration & External Function Info *********************
API Integration Name: __________________________________________________________
API_GCP_SERVICE_ACCOUNT: _______________________________________________________
External Function Name: ________________________________________________________
****** Step 5: Security Info ***************************************************
Security Definition Name: ______________________________________________________
다음 단계 (Next step)
1단계: 콘솔에서 원격 서비스(Google Cloud Function)를 만듭니다.
더 알아보기 (Learn more)
- GCP용 외부 함수 만들기 (Creating an external function for GCP)
- 원격 서비스 만들기 (external-functions-creating-gcp-ui-remote-service)
- 프록시 서비스 만들기 (external-functions-creating-gcp-ui-proxy-service)
- API 통합(Api Integration) 만들기 (external-functions-creating-gcp-ui)