Updated on 2025-09-02 GMT+08:00

Resource Planning and Costs

This solution deploys the resources listed in the following table. The costs are only estimates and may differ from the final prices. For details, see Product Pricing Details.

Single-Cloud Server Deployment

Table 1 Resource planning and costs (pay-per-use)

Huawei Cloud Service

Resource Name (Default Value)

Example Configuration

Quantity

Estimated Monthly Cost

Virtual Private Cloud (VPC)

dify-llm-application-development-platform-demo

  • Region: AP-Bangkok
  • VPC CIDR block: 172.16.0.0/16

1

$0.00 USD

Subnet

dify-llm-application-development-platform-demo-subnet

  • Region: AP-Bangkok
  • Subnet CIDR block: 172.16.1.0/24
  • Gateway: 172.16.1.1

1

$0.00 USD

Security Group (SG)

dify-llm-application-development-platform-demo

  • Region: AP-Bangkok
  • Allow ping: 0.0.0.0/0
  • Open port 80 to allow access to Dify applications: 0.0.0.0/0
  • Open port 80 to allow access to Dify applications: 0.0.0.0/0

1

$0.00 USD

Huawei Cloud Flexus X Instance

dify-llm-application-development-platform-demo

  • Region: AP-Bangkok
  • Pay-per-use: $0.27 USD/hour
  • Specifications: FlexusX | Performance mode (disabled) | x1.8u.16g | 8 vCPUs | 16 GB
  • Image: Ubuntu 22.04 server 64bit
  • System disk: High I/O | 100 GB

1

$195.98 USD

Elastic IP (EIP)

dify-llm-application-development-platform-demo-eip

  • Region: AP-Bangkok
  • Pay-per-use: $0.11 USD/GB/hour
  • Routing type: dynamic BGP
  • Billed by: traffic
  • Bandwidth: 300 Mbit/s

1

$0.11 USD/GB/hour

Total

-

-

-

$195.98 USD + EIP traffic fee

Table 2 Resource planning and costs (yearly/monthly)

Huawei Cloud Service

Resource Name (Default Value)

Example Configuration

Quantity

Estimated Monthly Cost

Virtual Private Cloud (VPC)

dify-llm-application-development-platform-demo

  • Region: AP-Bangkok
  • VPC CIDR block: 172.16.0.0/16

1

$0.00 USD

Subnet

dify-llm-application-development-platform-demo-subnet

  • Region: AP-Bangkok
  • Subnet CIDR block: 172.16.1.0/24
  • Gateway: 172.16.1.1

1

$0.00 USD

Security Group (SG)

dify-llm-application-development-platform-demo

  • Region: AP-Bangkok
  • Allow ping: 0.0.0.0/0
  • Open port 22 to allow login through Cloud Shell: 121.36.59.153/32
  • Open port 80 to allow access to Dify applications: 0.0.0.0/0
  • Open port 80 to allow access to Dify applications: 0.0.0.0/0

1

$0.00 USD

Huawei Cloud Flexus X Instance

dify-llm-application-development-platform-demo

  • Region: AP-Bangkok
  • Billing mode: monthly
  • Specifications: FlexusX | Performance mode (disabled) | x1.8u.16g | 8 vCPUs | 16 GB
  • Image: Ubuntu 22.04 server 64bit
  • System disk: High I/O | 100 GB

1

$144.44 USD

Elastic IP (EIP)

dify-llm-application-development-platform-demo-eip

  • Region: AP-Bangkok
  • Pay-per-use: $0.11 USD/GB/hour
  • Routing type: dynamic BGP
  • Billed by: traffic
  • Bandwidth: 300 Mbit/s

1

$0.11 USD/GB/hour

Total

-

-

-

$144.44 USD + EIP traffic fee

HA Deployment in CCE Container

Table 3 Resource planning and costs (pay-per-use)

Huawei Cloud Service

Resource Name (Default Value)

Example Configuration

Quantity

Estimated Monthly Cost

Virtual Private Cloud (VPC)

ha-dify-app-vpc

  • Region: AP-Bangkok
  • VPC CIDR block: 192.168.0.0/16

1

$0.00 USD

Subnet

ha-dify-app-public-subnet

ha-dify-app-private-subnet

subnet-eni-1

subnet-eni-2

  • Region: AP-Bangkok
  • Subnet CIDR block:

    192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24, and 192.168.3.0/24

  • Gateway: 192.168.0.1, 192.168.1.1, 192.168.2.1, and 192.168.3.1

4

$0.00 USD

Security Group (SG)

ha-dify-app-sg

ha-dify-app-cluster-cce-control-hedut

ha-dify-app-cluster-cce-eni-hedut

ha-dify-app-cluster-cce-node-hedut

  • Region: AP-Bangkok
  • Allow access from the VPC intranet: 192.168.0.0/16
  • For details about other rules, refer to the specific security group.

4

$0.00 USD

Huawei Cloud Flexus X Instance

ha-dify-app-pool-xxxxx

  • Region: AP-Bangkok
  • Pay-per-use: $0.48 USD/hour
  • Specifications: FlexusX | Performance mode (disabled) | x1.16u.16g | 16 vCPUs | 16 GB
  • Image: CCE_images_Ubuntu22-Node-24.11.0-common-amd64-364e1f82-20241120165013
  • System disk: General Purpose SSD | 40 GB
  • Data disk: High I/O | 100 GiB

3

$1,045.01 USD

Elastic Cloud Server (ECS)

ha-dify-app-embedding-reranker

  • Region: AP-Bangkok
  • Pay-per-use: $1.42 USD/hour
  • Specifications: General computing-plus | 32 vCPUs | 64 GiB | c7n.8xlarge.2
  • Image: Ubuntu 24.04 server 64bit
  • System disk: General Purpose SSD | 40 GB

1

$1022.4 USD

Elastic IP (EIP)

ha-dify-app-bandwidth

  • Region: AP-Bangkok
  • Pay-per-use: $0.11 USD/GB/hour
  • Routing type: dynamic BGP
  • Billed by: traffic
  • Bandwidth: 300 Mbit/s

3

$0.33 USD/GB/hour

Object Storage Service (OBS)

User-defined

  • Region: AP-Bangkok
  • Storage space: Data storage (multi-AZ)
  • Default storage class: Standard
  • Bucket policy: Private
  • Requests:

    GET: $0.0040 USD/10,000 times

    PUT: $0.0100 USD/10,000 times

    DELETE: $0.0004 USD/1,000 times

  • Storage space: $0.0250 USD/GB/month
  • Traffic:
    • Inbound traffic of the intranet and Internet (uploading data to OBS): free of charge
    • Outbound traffic of the intranet (downloading data from OBS using ECSs): free of charge
    • Outbound traffic of the Internet (off-peak: 00:00–08:00): N/A

      Outbound traffic of the Internet (peak: 08:00–24:00): N/A

1

For details, refer to the monthly bill. For details about billing, see Product Pricing Details.

Cloud Container Engine (CCE)

ha-dify-app-cluster

  • Region: AP-Bangkok
  • Pay-per-use: $0.39 USD/hour
  • Type: CCE Turbo Cluster
  • Flavor: cce.s2.small (50 nodes)
  • Master nodes: 3
  • Worker nodes: 3
  • Type: CCE

1

$280.80 USD

DCS for Redis®*

ha-dify-app-redis

  • Region: AP-Bangkok
  • Pay-per-use: $0.13 USD/hour
  • Billing mode: pay-per-use
  • Specifications: 4 GB | Replicas: 2
  • Instance type: Redis (master/standby)

1

$92.16 USD

RDS for PostgreSQL

ha-dify-app-pg

  • Region: AP-Bangkok
  • Pay-per-use: $1.17 USD/hour
  • Specifications: rds.pg.x1.2xlarge.4.ha | 8 vCPUs | 32 GB (Exclusive Type)
  • Storage: SSD | 100 GB
  • DB engine: PostgreSQL 16.8

1

$842.4 USD

Cloud Search Service (CSS)

ha-dify-app-css

  • Region: AP-Bangkok
  • Pay-per-use: $0.78 USD/hour
  • Billing mode: pay-per-use
  • Specifications: ess.spec-4u8g | 4 vCPUs | 8 GB
  • Total node storage capacity: 40 GB | ultra-high I/O
  • Cluster type: OpenSearch

3

$563.33 USD

Elastic Load Balance (ELB)

ha-dify-app-lb

  • Region: AP-Bangkok
  • Pay-per-use: $0.05 USD/hour
  • Type: dedicated load balancer
  • Network type: private network

1

$38.16 USD

NAT Gateway

ha-dify-app-nat

  • Region: AP-Bangkok
  • Pay-per-use: $2.44 USD/day
  • Specifications: small
  • SNAT rules: 3

1

$73.14 USD

Total

  

-

-

$3957.4 USD + EIP traffic fee + OBS storage and traffic fee

Table 4 Resource planning and costs (yearly/monthly)

Huawei Cloud Service

  

Example Configuration

Quantity

Estimated Monthly Cost

Virtual Private Cloud (VPC)

ha-dify-app-vpc

  • Region: AP-Bangkok
  • VPC CIDR block: 192.168.0.0/16

1

$0.00 USD

Subnet

ha-dify-app-public-subnet

ha-dify-app-private-subnet

subnet-eni-1

subnet-eni-2

  • Region: AP-Bangkok
  • Subnet CIDR block:

    192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24, and 192.168.3.0/24

  • Gateway: 192.168.0.1, 192.168.1.1, 192.168.2.1, and 192.168.3.1

4

$0.00 USD

Security Group (SG)

ha-dify-app-sg

ha-dify-app-cluster-cce-control-hedut

ha-dify-app-cluster-cce-eni-hedut

ha-dify-app-cluster-cce-node-hedut

  • Region: AP-Bangkok
  • Allow access from the VPC intranet: 192.168.0.0/16
  • For details about other rules, refer to the specific security group.

4

$0.00 USD

Huawei Cloud Flexus X Instance

ha-dify-app-pool-xxxxx

  • Region: AP-Bangkok
  • Billing mode: monthly
  • Specifications: FlexusX | Performance mode (disabled) | x1.16u.16g | 16 vCPUs | 16 GB
  • Image: CCE_images_Ubuntu22-Node-24.11.0-common-amd64-364e1f82-20241120165013
  • System disk: General Purpose SSD | 40 GB
  • Data disk: High I/O | 100 GiB

3

$770.58 USD

Elastic Cloud Server (ECS)

ha-dify-app-embedding-reranker

  • Region: AP-Bangkok
  • Billing mode: monthly
  • Specifications: General computing-plus | 32 vCPUs | 64 GiB | c7n.4xlarge.2
  • Image: Ubuntu 24.04 server 64bit
  • System disk: General Purpose SSD | 40 GB

1

$747.77 USD

Elastic IP (EIP)

ha-dify-app-bandwidth

  • Region: AP-Bangkok
  • Pay-per-use: $0.11 USD/GB/hour
  • Routing type: dynamic BGP
  • Billed by: traffic
  • Bandwidth: 300 Mbit/s

3

$0.33 USD/GB/hour

Object Storage Service (OBS)

User-defined

  • Region: AP-Bangkok
  • Storage space: Data storage (multi-AZ)
  • Default storage class: Standard
  • Bucket policy: Private
  • Requests:

    GET: $0.0040 USD/10,000 times

    PUT: $0.0100 USD/10,000 times

    DELETE: $0.0004 USD/1,000 times

  • Storage space: $0.0250 USD/GB/month
  • Traffic:
    • Inbound traffic of the intranet and Internet (uploading data to OBS): free of charge
    • Outbound traffic of the intranet (downloading data from OBS using ECSs): free of charge
    • Outbound traffic of the Internet (off-peak: 00:00–08:00): N/A

      Outbound traffic of the Internet (peak: 08:00–24:00): N/A

1

For details, refer to the monthly bill. For details about billing, see Product Pricing Details.

Cloud Container Engine (CCE)

ha-dify-app-cluster

  • Region: AP-Bangkok
  • Billing mode: monthly
  • Type: CCE Turbo Cluster
  • Flavor: cce.s2.small (50 nodes)
  • Master nodes: 3
  • Worker nodes: 3
  • Type: CCE

1

$212.76 USD

DCS for Redis®*

ha-dify-app-redis

  • Region: AP-Bangkok
  • Pay-per-use: $0.13 USD/hour
  • Billing mode: pay-per-use
  • Specifications: 4 GB | Replicas: 2
  • Instance type: Redis (master/standby)

1

$92.16 USD

RDS for PostgreSQL

ha-dify-app-pg

  • Region: AP-Bangkok
  • Billing mode: monthly
  • Specifications: rds.pg.x1.2xlarge.4.ha | 8 vCPU | 32 GB (Exclusive Type)
  • Storage: SSD | 100 GB
  • DB engine: PostgreSQL 16.8

1

$626.52 USD

Cloud Search Service (CSS)

ha-dify-app-css

  • Region: AP-Bangkok
  • Billing mode: monthly
  • Billing mode: pay-per-use
  • Specifications: ess.spec-4u8g | 4 vCPUs | 8 GB
  • Total node storage capacity: 40 GB | ultra-high I/O
  • Cluster type: OpenSearch

3

$431.88 USD

Elastic Load Balance (ELB)

ha-dify-app-lb

  • Region: AP-Bangkok
  • Pay-per-use: $0.05 USD/hour
  • Type: dedicated load balancer
  • Network type: private network

1

$38.16 USD

NAT Gateway

ha-dify-app-nat

  • Region: AP-Bangkok
  • Pay-per-use: $2.44 USD/day
  • Specifications: small
  • SNAT rules: 3

1

$73.14 USD

Total

  

-

-

$2992.97 USD + EIP traffic fee + OBS storage and traffic fee