Ray application

更新时间:
复制 MD 格式

Traditionally, running AI, Machine Learning, or large-scale data analytics tasks requires moving data to an external computing cluster. This process increases architectural complexity and adds data transfer costs and latency. PolarDB for PostgreSQL and integrate a Ray application (known as PolarDB Ray). This lets you run these complex workloads directly within the database using the Python ecosystem and the Ray distributed computing framework. This approach significantly improves data processing and AI inference efficiency and effectively reduces costs.

Overview

Ray is an open-source distributed computing framework for large-scale AI and Python applications. PolarDB features a built-in Ray application that tightly integrates the framework with the database. This lets you write and execute Python code directly in the database, using a rich ecosystem of AI and machine learning (ML) libraries such as Pandas, NumPy, Scikit-learn, and PyTorch to process data. You can perform tasks such as model training, data preprocessing, and complex vector computation entirely within the database, without moving data to an external computing environment.

Advantages

  • Serverless Architecture: Combines Steady-state Nodes for consistent workloads, which do not scale in, with Agile Nodes that scale automatically based on real-time traffic. This design achieves both reliability and cost-efficiency.

  • High Availability: The Ray Head node supports high availability and disaster recovery capabilities, ensuring the stable operation of the cluster.

  • Security and Reliability

    • Provides runtime isolation through Secure Containers, ensuring a secure code execution environment.

    • Supports multi-tenant isolation to prevent data leakage between tenants.

    • Access to the Ray Dashboard and Ray Job submissions is secured with Username/Password and JWT authentication to prevent unauthorized access.

  • Integrated Metadata Management: The service runs in the same Virtual Private Cloud (VPC) as your PolarDB Cluster. Metadata processed by PolarDB Ray can be stored directly in the PolarDB Cluster, enabling seamless data exchange without any additional network configuration.

  • Unified Resource Pool: Offers a Unified Resource Pool for CPUs and supports GPU Workers, providing resource flexibility for diverse computing tasks.

  • Storage Service: Supports mounting the high-performance edition of PolarDB File System 2.0, enabling direct data access through a file interface.

  • Open-Source Customization: As a downstream project of open-source Ray, PolarDB Ray is seamlessly compatible with the Ray ecosystem. It also offers customized optimizations and enhancements for developers.

Scope

This feature is available for centralized PolarDB for PostgreSQL clusters, but not for PolarDB for PostgreSQL Distributed Edition clusters.

Billing

  • Component Fee: A Ray Application is billed separately for its Head Node and each Worker Node. The cost depends on the Component Specification (CPU and Memory) and the selected purchase duration.

    Pricing for a single component

    The Chinese mainland

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    250

    0.52

    polar.app.g4.medium

    2-core 8 GB

    270

    0.56

    polar.app.g8.medium

    2-core 16 GB

    330

    0.6875

    polar.app.g2.large

    4-core 8 GB

    475

    0.99

    polar.app.g4.large

    4-core 16 GB

    630

    1.31

    polar.app.g8.large
    4-core 32 GB

    660

    1.375

    polar.app.g2.xlarge

    8-core 16 GB

    1,000

    2.08

    polar.app.g4.xlarge

    8-core 32 GB

    1,240

    2.58

    polar.app.g8.xlarge
    8-core 64 GB

    1,320

    2.75

    polar.app.g2.2xlarge

    16-core 32 GB

    2,000

    4.17

    polar.app.g4.2xlarge

    16-core 64 GB

    2,400

    5.00

    polar.app.g8.2xlarge
    16-core 128 GB

    2,640

    5.5

    polar.app.g2.4xlarge

    32-core 64 GB

    4,000

    8.32

    polar.app.g4.4xlarge

    32-core 128 GB

    4,320

    8.96

    polar.app.g8.4xlarge
    32-core 256 GB

    5,280

    11

    polar.app.g4.6xlarge

    48-core 192 GB

    6,000

    12.48

    polar.app.g8.6xlarge

    48-core 384 GB

    6,480

    13.44

    polar.app.g2.8xlarge

    64-core 128 GB

    8,000

    16.64

    polar.app.g4.8xlarge

    64-core 256 GB

    8,640

    17.92

    polar.app.g8.8xlarge

    64-core 512 GB

    14,080

    29.32

    polar.app.g8.12xlarge

    88-core 710 GB

    19,360

    40.31

    polar.app.g8.15xlarge

    120-core 920 GB

    26,400

    54.98

    polar.app.g8.23xlarge

    180-core 1800 GB

    39,600

    82.46

    China (Hong Kong)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    400

    0.832

    polar.app.g4.medium

    2-core 8 GB

    432

    0.896

    polar.app.g8.medium
    2-core 16 GB

    528

    1.100

    polar.app.g2.large

    4-core 8 GB

    760

    1.584

    polar.app.g4.large

    4-core 16 GB

    1,008

    2.096

    polar.app.g8.large
    4-core 32 GB

    1,056

    2.200

    polar.app.g2.xlarge

    8-core 16 GB

    1,600

    3.330

    polar.app.g4.xlarge

    8-core 32 GB

    1,984

    4.130

    polar.app.g8.xlarge
    8-core 64 GB

    2,112

    4.400

    polar.app.g2.2xlarge

    16-core 32 GB

    3,200

    6.670

    polar.app.g4.2xlarge

    16-core 64 GB

    3,840

    8.000

    polar.app.g8.2xlarge
    16-core 128 GB

    4,224

    8.800

    polar.app.g2.4xlarge

    32-core 64 GB

    6,400

    13.31

    polar.app.g4.4xlarge

    32-core 128 GB

    6,912

    14.34

    polar.app.g8.4xlarge
    32-core 256 GB

    8,448

    17.600

    polar.app.g4.6xlarge

    48-core 192 GB

    9,600

    19.97

    polar.app.g8.6xlarge

    48-core 384 GB

    10,368

    21.50

    polar.app.g2.8xlarge

    64-core 128 GB

    12,800

    26.62

    polar.app.g4.8xlarge

    64-core 256 GB

    13,824

    28.67

    polar.app.g8.8xlarge

    64-core 512 GB

    22,528

    46.91

    polar.app.g8.12xlarge

    88-core 710 GB

    30,976

    64.50

    polar.app.g8.15xlarge

    120-core 920 GB

    42,240

    87.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    63,360

    131.94

    Japan (Tokyo)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    400

    0.832

    polar.app.g4.medium

    2-core 8 GB

    432

    0.896

    polar.app.g8.medium
    2-core 16 GB

    528

    1.100

    polar.app.g2.large

    4-core 8 GB

    760

    1.584

    polar.app.g4.large

    4-core 16 GB

    1,008

    2.096

    polar.app.g8.large
    4-core 32 GB

    1,056

    2.200

    polar.app.g2.xlarge

    8-core 16 GB

    1,600

    3.330

    polar.app.g4.xlarge

    8-core 32 GB

    1,984

    4.130

    polar.app.g8.xlarge
    8-core 64 GB

    2,112

    4.400

    polar.app.g2.2xlarge

    16-core 32 GB

    3,200

    6.670

    polar.app.g4.2xlarge

    16-core 64 GB

    3,840

    8.000

    polar.app.g8.2xlarge
    16-core 128 GB

    4,224

    8.800

    polar.app.g2.4xlarge

    32-core 64 GB

    6,400

    13.31

    polar.app.g4.4xlarge

    32-core 128 GB

    6,912

    14.34

    polar.app.g8.4xlarge
    32-core 256 GB

    8,448

    17.600

    polar.app.g4.6xlarge

    48-core 192 GB

    9,600

    19.97

    polar.app.g8.6xlarge

    48-core 384 GB

    10,368

    21.50

    polar.app.g2.8xlarge

    64-core 128 GB

    12,800

    26.62

    polar.app.g4.8xlarge

    64-core 256 GB

    13,824

    28.67

    polar.app.g8.8xlarge

    64-core 512 GB

    22,528

    46.91

    polar.app.g8.12xlarge

    88-core 710 GB

    30,976

    64.50

    polar.app.g8.15xlarge

    120-core 920 GB

    42,240

    87.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    63,360

    131.94

    South Korea

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    400

    0.832

    polar.app.g4.medium

    2-core 8 GB

    432

    0.896

    polar.app.g8.medium
    2-core 16 GB

    528

    1.100

    polar.app.g2.large

    4-core 8 GB

    760

    1.584

    polar.app.g4.large

    4-core 16 GB

    1,008

    2.096

    polar.app.g8.large
    4-core 32 GB

    1,056

    2.200

    polar.app.g2.xlarge

    8-core 16 GB

    1,600

    3.330

    polar.app.g4.xlarge

    8-core 32 GB

    1,984

    4.130

    polar.app.g8.xlarge
    8-core 64 GB

    2,112

    4.400

    polar.app.g2.2xlarge

    16-core 32 GB

    3,200

    6.670

    polar.app.g4.2xlarge

    16-core 64 GB

    3,840

    8.000

    polar.app.g8.2xlarge
    16-core 128 GB

    4,224

    8.800

    polar.app.g2.4xlarge

    32-core 64 GB

    6,400

    13.31

    polar.app.g4.4xlarge

    32-core 128 GB

    6,912

    14.34

    polar.app.g8.4xlarge
    32-core 256 GB

    8,448

    17.600

    polar.app.g4.6xlarge

    48-core 192 GB

    9,600

    19.97

    polar.app.g8.6xlarge

    48-core 384 GB

    10,368

    21.50

    polar.app.g2.8xlarge

    64-core 128 GB

    12,800

    26.62

    polar.app.g4.8xlarge

    64-core 256 GB

    13,824

    28.67

    polar.app.g8.8xlarge

    64-core 512 GB

    22,528

    46.91

    polar.app.g8.12xlarge

    88-core 710 GB

    30,976

    64.50

    polar.app.g8.15xlarge

    120-core 920 GB

    42,240

    87.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    63,360

    131.94

    Singapore

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    400

    0.832

    polar.app.g4.medium

    2-core 8 GB

    432

    0.896

    polar.app.g8.medium
    2-core 16 GB

    528

    1.100

    polar.app.g2.large

    4-core 8 GB

    760

    1.584

    polar.app.g4.large

    4-core 16 GB

    1,008

    2.096

    polar.app.g8.large
    4-core 32 GB

    1,056

    2.200

    polar.app.g2.xlarge

    8-core 16 GB

    1,600

    3.330

    polar.app.g4.xlarge

    8-core 32 GB

    1,984

    4.130

    polar.app.g8.xlarge
    8-core 64 GB

    2,112

    4.400

    polar.app.g2.2xlarge

    16-core 32 GB

    3,200

    6.670

    polar.app.g4.2xlarge

    16-core 64 GB

    3,840

    8.000

    polar.app.g8.2xlarge
    16-core 128 GB

    4,224

    8.800

    polar.app.g2.4xlarge

    32-core 64 GB

    6,400

    13.31

    polar.app.g4.4xlarge

    32-core 128 GB

    6,912

    14.34

    polar.app.g8.4xlarge
    32-core 256 GB

    8,448

    17.600

    polar.app.g4.6xlarge

    48-core 192 GB

    9,600

    19.97

    polar.app.g8.6xlarge

    48-core 384 GB

    10,368

    21.50

    polar.app.g2.8xlarge

    64-core 128 GB

    12,800

    26.62

    polar.app.g4.8xlarge

    64-core 256 GB

    13,824

    28.67

    polar.app.g8.8xlarge

    64-core 512 GB

    22,528

    46.91

    polar.app.g8.12xlarge

    88-core 710 GB

    30,976

    64.50

    polar.app.g8.15xlarge

    120-core 920 GB

    42,240

    87.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    63,360

    131.94

    Malaysia (Kuala Lumpur)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    400

    0.832

    polar.app.g4.medium

    2-core 8 GB

    432

    0.896

    polar.app.g8.medium
    2-core 16 GB

    528

    1.100

    polar.app.g2.large

    4-core 8 GB

    760

    1.584

    polar.app.g4.large

    4-core 16 GB

    1,008

    2.096

    polar.app.g8.large
    4-core 32 GB

    1,056

    2.200

    polar.app.g2.xlarge

    8-core 16 GB

    1,600

    3.330

    polar.app.g4.xlarge

    8-core 32 GB

    1,984

    4.130

    polar.app.g8.xlarge
    8-core 64 GB

    2,112

    4.400

    polar.app.g2.2xlarge

    16-core 32 GB

    3,200

    6.670

    polar.app.g4.2xlarge

    16-core 64 GB

    3,840

    8.000

    polar.app.g8.2xlarge
    16-core 128 GB

    4,224

    8.800

    polar.app.g2.4xlarge

    32-core 64 GB

    6,400

    13.31

    polar.app.g4.4xlarge

    32-core 128 GB

    6,912

    14.34

    polar.app.g8.4xlarge
    32-core 256 GB

    8,448

    17.600

    polar.app.g4.6xlarge

    48-core 192 GB

    9,600

    19.97

    polar.app.g8.6xlarge

    48-core 384 GB

    10,368

    21.50

    polar.app.g2.8xlarge

    64-core 128 GB

    12,800

    26.62

    polar.app.g4.8xlarge

    64-core 256 GB

    13,824

    28.67

    polar.app.g8.8xlarge

    64-core 512 GB

    22,528

    46.91

    polar.app.g8.12xlarge

    88-core 710 GB

    30,976

    64.50

    polar.app.g8.15xlarge

    120-core 920 GB

    42,240

    87.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    63,360

    131.94

    Indonesia (Jakarta)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    350

    0.728

    polar.app.g4.medium

    2-core 8 GB

    378

    0.784

    polar.app.g8.medium
    2-core 16 GB

    462

    0.9625

    polar.app.g2.large

    4-core 8 GB

    665

    1.386

    polar.app.g4.large

    4-core 16 GB

    882

    1.834

    polar.app.g8.large
    4-core 32 GB

    924

    1.925

    polar.app.g2.xlarge

    8-core 16 GB

    1,400

    2.910

    polar.app.g4.xlarge

    8-core 32 GB

    1,736

    3.610

    polar.app.g8.xlarge
    8-core 64 GB

    1,848

    3.850

    polar.app.g2.2xlarge

    16-core 32 GB

    2,800

    5.840

    polar.app.g4.2xlarge

    16-core 64 GB

    3,360

    7.000

    polar.app.g8.2xlarge
    16-core 128 GB

    3,696

    7.700

    polar.app.g2.4xlarge

    32-core 64 GB

    5,600

    11.65

    polar.app.g4.4xlarge

    32-core 128 GB

    6,048

    12.54

    polar.app.g8.4xlarge
    32-core 256 GB

    7,392

    15.400

    polar.app.g4.6xlarge

    48-core 192 GB

    8,400

    17.47

    polar.app.g8.6xlarge

    48-core 384 GB

    9,072

    18.82

    polar.app.g2.8xlarge

    64-core 128 GB

    11,200

    23.30

    polar.app.g4.8xlarge

    64-core 256 GB

    12,096

    25.09

    polar.app.g8.8xlarge

    64-core 512 GB

    19,712

    41.05

    polar.app.g8.12xlarge

    88-core 710 GB

    27,104

    56.43

    polar.app.g8.15xlarge

    120-core 920 GB

    36,960

    76.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    55,440

    115.44

    Philippines

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    350

    0.728

    polar.app.g4.medium

    2-core 8 GB

    378

    0.784

    polar.app.g8.medium
    2-core 16 GB

    462

    0.9625

    polar.app.g2.large

    4-core 8 GB

    665

    1.386

    polar.app.g4.large

    4-core 16 GB

    882

    1.834

    polar.app.g8.large
    4-core 32 GB

    924

    1.925

    polar.app.g2.xlarge

    8-core 16 GB

    1,400

    2.910

    polar.app.g4.xlarge

    8-core 32 GB

    1,736

    3.610

    polar.app.g8.xlarge
    8-core 64 GB

    1,848

    3.850

    polar.app.g2.2xlarge

    16-core 32 GB

    2,800

    5.840

    polar.app.g4.2xlarge

    16-core 64 GB

    3,360

    7.000

    polar.app.g8.2xlarge
    16-core 128 GB

    3,696

    7.700

    polar.app.g2.4xlarge

    32-core 64 GB

    5,600

    11.65

    polar.app.g4.4xlarge

    32-core 128 GB

    6,048

    12.54

    polar.app.g8.4xlarge
    32-core 256 GB

    7,392

    15.400

    polar.app.g4.6xlarge

    48-core 192 GB

    8,400

    17.47

    polar.app.g8.6xlarge

    48-core 384 GB

    9,072

    18.82

    polar.app.g2.8xlarge

    64-core 128 GB

    11,200

    23.30

    polar.app.g4.8xlarge

    64-core 256 GB

    12,096

    25.09

    polar.app.g8.8xlarge

    64-core 512 GB

    19,712

    41.05

    polar.app.g8.12xlarge

    88-core 710 GB

    27,104

    56.43

    polar.app.g8.15xlarge

    120-core 920 GB

    36,960

    76.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    55,440

    115.44

    Thailand (Bangkok)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    350

    0.728

    polar.app.g4.medium

    2-core 8 GB

    378

    0.784

    polar.app.g8.medium
    2-core 16 GB

    462

    0.9625

    polar.app.g2.large

    4-core 8 GB

    665

    1.386

    polar.app.g4.large

    4-core 16 GB

    882

    1.834

    polar.app.g8.large
    4-core 32 GB

    924

    1.925

    polar.app.g2.xlarge

    8-core 16 GB

    1,400

    2.910

    polar.app.g4.xlarge

    8-core 32 GB

    1,736

    3.610

    polar.app.g8.xlarge
    8-core 64 GB

    1,848

    3.850

    polar.app.g2.2xlarge

    16-core 32 GB

    2,800

    5.840

    polar.app.g4.2xlarge

    16-core 64 GB

    3,360

    7.000

    polar.app.g8.2xlarge
    16-core 128 GB

    3,696

    7.700

    polar.app.g2.4xlarge

    32-core 64 GB

    5,600

    11.65

    polar.app.g4.4xlarge

    32-core 128 GB

    6,048

    12.54

    polar.app.g8.4xlarge
    32-core 256 GB

    7,392

    15.400

    polar.app.g4.6xlarge

    48-core 192 GB

    8,400

    17.47

    polar.app.g8.6xlarge

    48-core 384 GB

    9,072

    18.82

    polar.app.g2.8xlarge

    64-core 128 GB

    11,200

    23.30

    polar.app.g4.8xlarge

    64-core 256 GB

    12,096

    25.09

    polar.app.g8.8xlarge

    64-core 512 GB

    19,712

    41.05

    polar.app.g8.12xlarge

    88-core 710 GB

    27,104

    56.43

    polar.app.g8.15xlarge

    120-core 920 GB

    36,960

    76.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    55,440

    115.44

    Germany (Frankfurt)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    350

    0.728

    polar.app.g4.medium

    2-core 8 GB

    378

    0.784

    polar.app.g8.medium
    2-core 16 GB

    462

    0.9625

    polar.app.g2.large

    4-core 8 GB

    665

    1.386

    polar.app.g4.large

    4-core 16 GB

    882

    1.834

    polar.app.g8.large
    4-core 32 GB

    924

    1.925

    polar.app.g2.xlarge

    8-core 16 GB

    1,400

    2.910

    polar.app.g4.xlarge

    8-core 32 GB

    1,736

    3.610

    polar.app.g8.xlarge
    8-core 64 GB

    1,848

    3.850

    polar.app.g2.2xlarge

    16-core 32 GB

    2,800

    5.840

    polar.app.g4.2xlarge

    16-core 64 GB

    3,360

    7.000

    polar.app.g8.2xlarge
    16-core 128 GB

    3,696

    7.700

    polar.app.g2.4xlarge

    32-core 64 GB

    5,600

    11.65

    polar.app.g4.4xlarge

    32-core 128 GB

    6,048

    12.54

    polar.app.g8.4xlarge
    32-core 256 GB

    7,392

    15.400

    polar.app.g4.6xlarge

    48-core 192 GB

    8,400

    17.47

    polar.app.g8.6xlarge

    48-core 384 GB

    9,072

    18.82

    polar.app.g2.8xlarge

    64-core 128 GB

    11,200

    23.30

    polar.app.g4.8xlarge

    64-core 256 GB

    12,096

    25.09

    polar.app.g8.8xlarge

    64-core 512 GB

    19,712

    41.05

    polar.app.g8.12xlarge

    88-core 710 GB

    27,104

    56.43

    polar.app.g8.15xlarge

    120-core 920 GB

    36,960

    76.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    55,440

    115.44

    UK (London)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g2.medium

    2-core 4 GB

    350

    0.728

    polar.app.g4.medium

    2-core 8 GB

    378

    0.784

    polar.app.g8.medium
    2-core 16 GB

    462

    0.9625

    polar.app.g2.large

    4-core 8 GB

    665

    1.386

    polar.app.g4.large

    4-core 16 GB

    882

    1.834

    polar.app.g8.large
    4-core 32 GB

    924

    1.925

    polar.app.g2.xlarge

    8-core 16 GB

    1,400

    2.910

    polar.app.g4.xlarge

    8-core 32 GB

    1,736

    3.610

    polar.app.g8.xlarge
    8-core 64 GB

    1,848

    3.850

    polar.app.g2.2xlarge

    16-core 32 GB

    2,800

    5.840

    polar.app.g4.2xlarge

    16-core 64 GB

    3,360

    7.000

    polar.app.g8.2xlarge
    16-core 128 GB

    3,696

    7.700

    polar.app.g2.4xlarge

    32-core 64 GB

    5,600

    11.65

    polar.app.g4.4xlarge

    32-core 128 GB

    6,048

    12.54

    polar.app.g8.4xlarge
    32-core 256 GB

    7,392

    15.400

    polar.app.g4.6xlarge

    48-core 192 GB

    8,400

    17.47

    polar.app.g8.6xlarge

    48-core 384 GB

    9,072

    18.82

    polar.app.g2.8xlarge

    64-core 128 GB

    11,200

    23.30

    polar.app.g4.8xlarge

    64-core 256 GB

    12,096

    25.09

    polar.app.g8.8xlarge

    64-core 512 GB

    19,712

    41.05

    polar.app.g8.12xlarge

    88-core 710 GB

    27,104

    56.43

    polar.app.g8.15xlarge

    120-core 920 GB

    36,960

    76.97

    polar.app.g8.23xlarge

    180-core 1800 GB

    55,440

    115.44

    US (Silicon Valley)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g1.tiny

    1-core 1 GB

    13.2

    0.024

    polar.app.g2.small

    1-core 2 GB

    21.6

    0.048

    polar.app.g2.medium

    2-core 4 GB

    300

    0.624

    polar.app.g4.medium

    2-core 8 GB

    324

    0.672

    polar.app.g8.medium
    2-core 16 GB

    396

    0.825

    polar.app.g2.large

    4-core 8 GB

    570

    1.188

    polar.app.g4.large

    4-core 16 GB

    756

    1.572

    polar.app.g8.large
    4-core 32 GB

    792

    1.650

    polar.app.g2.xlarge

    8-core 16 GB

    1,200

    2.50

    polar.app.g4.xlarge

    8-core 32 GB

    1,488

    3.10

    polar.app.g8.xlarge
    8-core 64 GB

    1,584

    3.300

    polar.app.g2.2xlarge

    16-core 32 GB

    2,400

    5.00

    polar.app.g4.2xlarge

    16-core 64 GB

    2,880

    6.00

    polar.app.g8.2xlarge
    16-core 128 GB

    3,168

    6.600

    polar.app.g2.4xlarge

    32-core 64 GB

    4,800

    9.98

    polar.app.g4.4xlarge

    32-core 128 GB

    5,184

    10.75

    polar.app.g8.4xlarge
    32-core 256 GB

    6,336

    13.200

    polar.app.g4.6xlarge

    48-core 192 GB

    7,200

    14.98

    polar.app.g8.6xlarge

    48-core 384 GB

    7,776

    16.13

    polar.app.g2.8xlarge

    64-core 128 GB

    9,600

    19.97

    polar.app.g4.8xlarge

    64-core 256 GB

    10,368

    21.50

    polar.app.g8.8xlarge

    64-core 512 GB

    16,896

    35.18

    polar.app.g8.12xlarge

    88-core 710 GB

    23,232

    48.37

    polar.app.g8.15xlarge

    120-core 920 GB

    31,680

    65.98

    polar.app.g8.23xlarge

    180-core 1800 GB

    47,520

    98.95

    US (Virginia)

    Node specification code

    CPU and memory

    Subscription (CNY/month)

    Pay-as-you-go (CNY/hour)

    polar.app.g1.tiny

    1-core 1 GB

    13.2

    0.024

    polar.app.g2.small

    1-core 2 GB

    21.6

    0.048

    polar.app.g2.medium

    2-core 4 GB

    300

    0.624

    polar.app.g4.medium

    2-core 8 GB

    324

    0.672

    polar.app.g8.medium
    2-core 16 GB

    396

    0.825

    polar.app.g2.large

    4-core 8 GB

    570

    1.188

    polar.app.g4.large

    4-core 16 GB

    756

    1.572

    polar.app.g8.large
    4-core 32 GB

    792

    1.650

    polar.app.g2.xlarge

    8-core 16 GB

    1,200

    2.50

    polar.app.g4.xlarge

    8-core 32 GB

    1,488

    3.10

    polar.app.g8.xlarge
    8-core 64 GB

    1,584

    3.300

    polar.app.g2.2xlarge

    16-core 32 GB

    2,400

    5.00

    polar.app.g4.2xlarge

    16-core 64 GB

    2,880

    6.00

    polar.app.g8.2xlarge
    16-core 128 GB

    3,168

    6.600

    polar.app.g2.4xlarge

    32-core 64 GB

    4,800

    9.98

    polar.app.g4.4xlarge

    32-core 128 GB

    5,184

    10.75

    polar.app.g8.4xlarge
    32-core 256 GB

    6,336

    13.200

    polar.app.g4.6xlarge

    48-core 192 GB

    7,200

    14.98

    polar.app.g8.6xlarge

    48-core 384 GB

    7,776

    16.13

    polar.app.g2.8xlarge

    64-core 128 GB

    9,600

    19.97

    polar.app.g4.8xlarge

    64-core 256 GB

    10,368

    21.50

    polar.app.g8.8xlarge

    64-core 512 GB

    16,896

    35.18

    polar.app.g8.12xlarge

    88-core 710 GB

    23,232

    48.37

    polar.app.g8.15xlarge

    120-core 920 GB

    31,680

    65.98

    polar.app.g8.23xlarge

    180-core 1800 GB

    47,520

    98.95

  • Storage Fee: While there are no additional charges for data and files generated by the Ray Application, data that a Ray Job writes to a PolarDB for PostgreSQL or Cluster, or to a PolarDB File System, is subject to Storage Space Fees.

  • Traffic and Bandwidth: No fee.

Getting started

  1. Create a Ray Application: Learn how to create a Ray Application (PolarDB Ray) on a new or existing cluster.

  2. Configure a Ray Application: Learn how to set the Ray Application's Security Configuration, obtain connection information, and optionally enable Public Access.

  3. Submit a Job to a Ray Application: Learn how to submit and execute a Ray job in your Ray Application using JupyterLab, the Python Software Development Kit (SDK), or the command-line interface (CLI).