tags: Service-Order

算錢公式

公式:

  1. Volume 公式:Volume(大小(GB),單價(元/每GB))Volume(大小(GB), 單價(元/每GB))
    備註:若單價為 2GB 100元,需先換算為 1GB 50元
  2. OPTION 為可選項目,非必要
  3. 此顏色 為 Config 提供

計價方法:

檢查順序:

  1. 從報價單來並且不是試用 -> 使用報價單價錢
  2. 有套裝ID -> 檢查ID在不在
    • 在  -> 套裝價
    • 不再 -> 使用單價組合
  3. 沒有套裝 -> 使用單價組合

新下單時計價

  • 有套餐使用套餐價
  • 沒套餐使用單價組合
  • 購物車價錢存 價錢    = 單個價錢 * 購買數量 * 時長
  • 生成訂單,訂單上的價錢 = 單個價錢 * 時長

報價單計價

  • 存入的價錢為單個價錢 (number = 1)
  • 報價價錢一樣為單個價錢 (number = 1),會有小計 = 單個價錢 * 購買數量,但不存入,是動態計算
  • 報價顯示的原價為群組折扣後價錢,但群組回饋為 0 天
  • (還沒做) 未來會改成 報價每個月的價錢,小計 = 單個價錢 * 購買數量 * 時長

續約計價

  • 續約數量 = 1
  • 報價單並且不為試用的續約
    • 購物車/新單價錢 = 單個報價價錢(報價一個月) * 時長
  • 試用續約
    • 購物車/新單價錢 = 有套餐 ? 套餐價 : 原價
  • 沒報價過的續約
    • 購物車/新單價錢 = 有套餐 ? 套餐價 : 原價

續約後又報價

  • 報價數量 = 1
  • 報價價錢為原價,不會再參考舊有的報價價錢,直接使用報價計價規則

FiCo

項目:

  1. CPU 單價
  2. RAM 單價
  3. OS Volume(大小,單價)
  4. 作業系統單價
  5. OPTION網路頻寬單價
  6. OPTION浮動 IP單價 *1
  7. OPTION加購 Data Volume(大小,單價)
  8. 建置費(0元(FiCo 無建置費))
  • 示意:
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

CIS

  • 項目:
  1. 主節點:(CPU單價 + RAM單價)* master 個數(1或3)
  2. 子節點:(CPU單價 + RAM單價)* worker 個數(1-10)
  3. Data Volume:Volume(大小,Data Volume Type 單價) * (master + worker 個數)
  4. OPTION網路頻寬單價
  5. OPTION浮動 IP 單價 *1
  6. 建置費:OS Volume( 40,Data Volume Type 單價) * (master個數 + worker個數)
  • Config:
  1. CIS OS Volume Size:40
  • 示意:
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

SFS

  • 項目:
  1. Data Volune:Volume(大小,Data Volune Type 單價)
  2. (網路頻寬單價)
  3. 建置費:(CPU 單價 + RAM 單價 + OS Volume(40OS Volume Type 單價)) / 26
  • Config:
  1. SFS CPU:2 Core
  2. SFS RAM:4 G
  3. SFS OS Volume Size:40 GB
  4. SFS OS Volume Type:Standrad SSD
  5. SFS instance 的 Volume 掛載量:26
  • 示意:
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

DBS

  • 項目:
  1. VM:(CPU單價 + RAM單價 ) * VM個數(下方備註)
  2. Data Volume:Volume(大小,Data Volume Type 單價) * VM個數
  3. OPTION網路頻寬單價
  4. OPTION浮動 IP 單價 *1
  5. 建置費:Volume(40OS Volume Type 單價) x VM個數
  • Config:
  1. DBS OS Volume Size:40 GB
  2. DBS OS Volume Type:Standrad SSD
  3. 備註:VM 個數
    1. 除 mongo 以外的資料庫:
      單機:1
      主從:2
      叢集:3
    2. mongo:
      分片數量 1:5
      分片數量 2:8
      分片數量 3:11
  • 示意:
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

MQS

  • 項目:
  1. VM:(CPU單價 + RAM單價) * VM個數(下方備註)
  2. Data Volume:Volume(大小,Data Volume Type 單價) * VM個數
  3. OPTION網路頻寬單價
  4. OPTION浮動 IP 單價 *1
  5. 建置費:Volume(40OS Volume Type 單價) * VM個數
  • Config:
  1. MQS OS Volume Size:40 GB
  2. MQS OS Volume Type:Standrad SSD
  3. 備註:
    • VM 個數
      1. RabbitMQ:
        單機:1
        叢集:3
      2. Kafka:
        入門型(1 Zookeeper & Kafka):1
        基本型(1 Zookeeper + 1 Kafka):2
        進階型(1 Zookeeper + 3 Kafka):4
        企業型(3 Zookeeper + 3 Kafka):6
  • 示意:
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

FiWo

  • 項目:
  1. OPTION網路頻寬單價
  2. OPTION浮動 IP 單價 *1
  3. 建置費:
    (Volume(50單價) x linux 個數
    +(Volume(100單價)x windows 個數
    +VM:(CPU單價 + RAM單價)* VM個數(下方備註)
    +(OS單價 x windows個數
  • Config:
  1. FiWo Volume Type:Standrad SSD
  2. FiWo Volume Size(Linux):50 GB
  3. FiWo Volume Size(Windows):100 GB
  4. FiWo CPU:8 core
  5. FiWo RAM:8 G
  6. 備註:
    • VM 數
      1. Stanalane :
        沒AD: 2 (windows * 1 + linux * 1)
        有AD: 3 (windows * 2 + linux * 1)
      2. HA
        沒AD: 5 (windows * 2 + linux * 3)
        有AD: 7 (windows * 4 + linux * 3)
    • 浮動 IP
      分為 Floating IP 和 RDGW 綁定的 IP
  • 示意:

BDS

  • 項目:
  1. Master 節點:(CPU單價 + RAM單價)* Master 節點個數
  2. Core 節點:(CPU單價 + RAM單價)* Core 節點個數
  3. Task 節點:(CPU單價 + RAM單價)* Task 節點個數
  4. Master Data Volume:Master Volume(大小,單價)* Master 硬碟個數 * Master 節點個數
  5. Core Data Volume:Core Volume(大小,單價)* Core 硬碟個數 * Core 節點個數
  6. OPTION網路頻寬單價
  7. OPTION浮動 IP 單價 *1
  8. 建置費: Volume(160OS Volume Type 單價)* (Master 節點個數 + Core 節點個數 + Task 節點個數)
  • Config:
  1. BDS OS Volume Size:160
  2. BDS OS Volume Type:Standrad SSD
  • 示意:

AIS

  • 項目:
  1. CPU單價
  2. RAM單價
  3. OS Volume(大小,單價)
  4. OPTION網路頻寬單價
  5. OPTION浮動 IP 單價 *1
  6. 建置費(0元(AIS 無建置費))
  • 示意: