安装和管理带容器的应用程序

This topic describes how to use Snowsight to install a Snowflake Native App with Snowpark Container Services.

从列表中安装带容器的应用程序的工作流程

To find and install a listing for a Snowflake Native App with Snowpark Container Services:

  1. Set up the privileges required to install a listing.

  2. 安装列表。

  3. View the installed listing.

  4. Refer to Allow access to a consumer account for information on tasks related to managing an app.

设置所需权限

要访问列表,您必须使用 ACCOUNTADMIN 角色或对应用程序具有 IMPORT SHARE 和 CREATE 权限的其他角色。

After an app is installed, the app owner can grant access to the app using application roles. Refer to Grant application roles to account roles for details.

Note

To pay for an app, your role must also have the PURCHASE DATA EXCHANGE LISTING privilege and you must meet additional criteria. For more information, see Pay for listings.

从私密共享列表中安装带容器的应用程序

Note

作为提供商,您可以通过以下方式测试应用程序:创建私密列表,与组织中您有权访问的其他账户共享该列表,登录该账户,然后按照以下步骤安装应用程序。

要从私密列表中安装带容器的应用程序,请执行以下步骤:

  1. Sign in to Snowsight.

  2. In the navigation menu, select Catalog » Apps.

  3. In Recently shared with you, select the tile for the listing.

  4. Select Get, or for a monetized app, select Buy.

  5. Select Options, then enter a name for the app.

  6. 选择要安装应用程序的仓库。

  7. Select Get.

    The Installing app dialog displays. It may take some time to install the app. After the app is installed, the dialog displays Successfully Installed.

  8. Select Configure.

这将显示应用程序所需的权限和对象引用列表。

  1. Click Grant to grant the privileges required by the app.

带容器的应用程序经常需要以下权限:

  • CREATE COMPUTE POOL 允许应用程序在您的账户中创建计算池。
  • BIND SERVICE ENDPOINT 允许应用程序中的服务相互连接。
  1. Click Activate.

应用程序开始激活。根据应用程序的复杂程度,这可能需要一些时间。

After activation, the Settings page is displayed.

  1. After the activation is complete, select Launch App.

从 Snowflake Marketplace 列表安装应用程序

To install an app from a Snowflake Marketplace listing, perform the following steps:

  1. Sign in to Snowsight.

  2. In the navigation menu, select Marketplace » Snowflake Marketplace.

  3. 搜索或浏览您要访问的列表。

  4. 选择列表对应的磁贴。

  5. Select Get, or for a monetized app, select Buy.

  6. Select Options, then enter a name for the app.

  7. 选择要安装应用程序的仓库。

  8. Select Get.

    The Installing app dialog displays. It may take some time to install the app. After the app is installed, the dialog displays Successfully Installed.

  9. Select Configure.

这将显示应用程序所需的权限和对象引用列表。

  1. Click Grant to grant the privileges required by the app.

带容器的应用程序经常需要以下权限:

  • CREATE COMPUTE POOL 允许应用程序在您的账户中创建计算池。
  • BIND SERVICE ENDPOINT 允许应用程序中的服务相互连接。
  1. Click Activate.

应用程序开始激活。根据应用程序的复杂程度,这可能需要一些时间。

After activation, the Settings page is displayed.

  1. After the activation is complete, select Launch App.

查看带容器的应用程序所使用的计算池

An app with containers provides a Compute tab that allows you to view information about the compute pools used by an app. For information about managing other components of an app, see Manage apps.

要查看应用程序使用的计算池,请执行以下步骤:

  1. Sign in to Snowsight.
  2. In the navigation menu, select Catalog » Apps.
  3. 选择要查看其计算池的应用程序。
  4. Select the Compute tab.

此选项卡显示每个计算池的以下信息:

  • 计算池的名称及其状态。
  • 计算池上运行的作业数。
  • 计算池上运行的服务数。
  • 当前分配给计算池的节点数。
  • 计算池可包含的节点数下限。
  • 计算池可包含的节点数上限。
  • 计算池的实例系列。

For more information on these properties, see CREATE COMPUTE POOL