使用 Google Cloud Console 为 GCP 创建外部函数¶
这些主题详细说明了如何使用 Google Cloud Console 用户界面创建 GCP (Google Cloud Platform) 上托管的外部函数。您可以使用这些说明来创建 Snowflake 提供的示例外部函数,或作为创建您自己的外部函数的指南。
在这些主题中,您将学习如何:
- 创建基本的 Google Cloud Function 作为远程服务,以及创建 Google Cloud API Gateway 作为代理服务。
- 在 Snowflake 中创建一个 API 集成和外部函数本身。
- 通过安全策略保护 API Gateway。
这些主题假设您已经熟悉 Google Cloud Console。它们描述了您需要完成的一般步骤,但没有详细描述控制台。
Tip
Google also provides a command-line interface that you can use for many of these steps. For more details, see the GCP gcloud documentation (https://cloud.google.com/api-gateway/docs/quickstart).
另请参阅:
步骤:
- Step 1: Create the remote service (Google Cloud Function) in the console
- Step 2: Create the proxy service (Google Cloud API Gateway) in the console
- Step 3: Create the API integration for GCP in Snowflake
- Step 4: Create the external function for GCP in Snowflake
- Step 5: Create a GCP security policy for the proxy service in the console