Create a PolarDB Agent LakeBase

更新时间:
复制 MD 格式

You can quickly create a PolarDB Agent LakeBase using a new or existing cluster. This provides a unified, enterprise-grade workspace for your AI agents.

Applicability

Your cluster must be a centralized PolarDB for PostgreSQL cluster. PolarDB for PostgreSQL Distributed Edition is not currently supported.

(Optional) Create a PolarDB for PostgreSQL cluster

If you do not have a supported cluster that meets the conditions described in Applicability, or you prefer not to modify your existing cluster for business reasons, you can create a new cluster in the PolarDB console to try PolarDB Agent LakeBase.

Create a PolarDB Agent LakeBase

  1. Log in to the PolarDB console. In the left-side navigation pane, click Clusters, and then at the top of the page, select the region where your cluster is located.

  2. In the cluster list, click the ID of your target cluster to open its details page.

  3. In the left-side navigation pane, choose AI Capabilities > AI Cache, and then click Create AI Cache.

  4. On the purchase page, configure the following parameters and then click Buy Now.

    Parameter

    Description

    Billing Method

    Only Pay-As-You-Go is supported. In this postpaid model, you select resources without being charged upfront and are billed based on your actual usage. This model is ideal for scenarios with flexible business needs.

    Database Engine

    This parameter is fixed to PolarDB.

    Region

    Select the region and availability zone for the application.

    Note
    • You cannot change the region after you purchase the application.

    • The application must be in the same region as the PolarDB for PostgreSQL cluster.

    • We recommend that you create the application in the same region as the ECS instances that you need to connect to. Otherwise, you can connect only over the public network.

    Architecture

    Select AI Cache.

    Ecosystem

    Select PostgreSQL.

    Source PolarDB Cluster

    Select the PolarDB for PostgreSQL cluster where you want to create the application.

    Edition

    Select Basic Edition.

    Enable Transparent Acceleration

    The following two modes are supported:

    • ON: Data is stored on low-cost cold storage media, and an acceleration cache layer is added on top of cold storage to improve access performance.

    • Accelerated Storage: Data is stored only in the acceleration cache layer. This mode is suitable for scenarios that require high access performance and do not need cold storage.

    Acceleration Type

    Select the acceleration type for the acceleration storage.

    • Transparent Acceleration: AI Cache automatically manages data movement between the acceleration storage and cold storage without user intervention. When you select Transparent Acceleration, you must add the Object Storage Service (OSS) buckets to accelerate in the Transparent Acceleration Configuration.

    Note

    This parameter is displayed only when Enable Transparent Acceleration is set to Accelerated Storage.

    Custom OSS AK / Custom OSS SK

    Enter the AccessKey ID and AccessKey Secret of your Object Storage Service (OSS) account. AI Cache uses these credentials to access your OSS buckets and accelerate data. Make sure that the AccessKey has read and write permissions on the target buckets.

    Note

    This parameter is displayed only when Enable Transparent Acceleration is set to Accelerated Storage.

    Accelerated Storage

    Enter the required capacity for the acceleration space, in GB.

    Metadata Instance Specification

    The starting specification is 8 PCU (PolarDB Capacity Unit, the general billing unit of PolarDB; 1 PCU is equivalent to 1 vCPU 2 GB). The instance runs in Serverless mode and automatically scales up or down based on the workload. No manual configuration is required.

    Note

    Purchasing an AI Cache Basic Edition instance requires payment for the compute nodes and storage of the metadata database. The compute nodes start from 8 vCPUs. The storage is billed on a pay-as-you-go basis and uses the PSL5 zone-redundant deployment.

    Storage Type

    Select Zone-redundant Storage.

    Note

    This parameter is displayed only when Enable Transparent Acceleration is set to ON.

    AI Cache Metadata Database

    This parameter is fixed to PolarDB Database.

    Network Type

    This parameter is fixed to VPC.

    VPC

    This parameter is automatically populated with the VPC of the source PolarDB for PostgreSQL cluster.

    Zone and vSwitch

    Configure the vSwitch for the VPC. We recommend that you select a vSwitch in the same primary availability zone as your PolarDB for PostgreSQL cluster for optimal network performance. If your existing vSwitches do not meet the requirements, you can create a new one.

    Quantity

    Select the quantity that you want to purchase.

  5. After the purchase is complete, return to the AI Cache page of the cluster to view the newly created application. The application takes 3 to 5 minutes to create.