雲互動 - 前端三朵花
算錢公式
Try
HackMD
雲互動 - 前端三朵花
·
Follow
Last edited by
Wangling Chiou
on
Mar 29, 2021
Linked with GitHub
Contributed by
Edit
0
Comments
Feedback
Log in to edit or delete your comments and be notified of replies.
Sign up
Already have an account? Log in
There is no comment
Select some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Discard
Send
tags:
Service-Order
算錢公式
公式:
Volume 公式:Volume(大小(GB),單價(元/每GB))Volume(大小(GB), 單價(元/每GB))
備註:若單價為 2GB 100元,需先換算為 1GB 50元
OPTION
為可選項目,非必要
此顏色
為 Config 提供
計價方法:
檢查順序:
從報價單來並且不是試用 -> 使用報價單價錢
有套裝ID -> 檢查ID在不在
在 -> 套裝價
不再 -> 使用單價組合
沒有套裝 -> 使用單價組合
新下單時計價
有套餐使用套餐價
沒套餐使用單價組合
購物車價錢存 價錢 = 單個價錢 * 購買數量 * 時長
生成訂單,訂單上的價錢 = 單個價錢 * 時長
報價單計價
存入的價錢為單個價錢 (number = 1)
報價價錢一樣為單個價錢 (number = 1),會有小計 = 單個價錢 * 購買數量,但不存入,是動態計算
報價顯示的原價為群組折扣後價錢,但群組回饋為 0 天
(還沒做) 未來會改成 報價每個月的價錢,小計 = 單個價錢 * 購買數量 * 時長
續約計價
續約數量 = 1
報價單並且不為試用的續約
購物車/新單價錢 = 單個報價價錢(報價一個月) * 時長
試用續約
購物車/新單價錢 = 有套餐 ? 套餐價 : 原價
沒報價過的續約
購物車/新單價錢 = 有套餐 ? 套餐價 : 原價
續約後又報價
報價數量 = 1
報價價錢為原價,不會再參考舊有的報價價錢,直接使用報價計價規則
FiCo
項目:
CPU 單價
RAM 單價
OS Volume(大小,單價)
作業系統單價
OPTION
網路頻寬單價
OPTION
浮動 IP單價 *1
OPTION
加購 Data Volume(大小,單價)
建置費(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
項目:
主節點:(CPU單價 + RAM單價)* master 個數(1或3)
子節點:(CPU單價 + RAM單價)* worker 個數(1-10)
Data Volume:Volume(大小,Data Volume Type 單價) * (master + worker 個數)
OPTION
網路頻寬單價
OPTION
浮動 IP 單價 *1
建置費:OS Volume(
40
,Data Volume Type 單價) * (master個數 + worker個數)
Config:
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
項目:
Data Volune:Volume(大小,Data Volune Type 單價)
(網路頻寬單價)
建置費:(
CPU 單價
+
RAM 單價
+ OS Volume(
40
,
OS Volume Type 單價
)) /
26
Config:
SFS CPU:2 Core
SFS RAM:4 G
SFS OS Volume Size:40 GB
SFS OS Volume Type:Standrad SSD
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
項目:
VM:(CPU單價 + RAM單價 ) * VM個數(下方備註)
Data Volume:Volume(大小,Data Volume Type 單價) * VM個數
OPTION
網路頻寬單價
OPTION
浮動 IP 單價 *1
建置費:Volume(
40
,
OS Volume Type 單價
) x VM個數
Config:
DBS OS Volume Size:40 GB
DBS OS Volume Type:Standrad SSD
備註:VM 個數
除 mongo 以外的資料庫:
單機:1
主從:2
叢集:3
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
項目:
VM:(CPU單價 + RAM單價) * VM個數(下方備註)
Data Volume:Volume(大小,Data Volume Type 單價) * VM個數
OPTION
網路頻寬單價
OPTION
浮動 IP 單價 *1
建置費:Volume(
40
,
OS Volume Type 單價
) * VM個數
Config:
MQS OS Volume Size:40 GB
MQS OS Volume Type:Standrad SSD
備註:
VM 個數
RabbitMQ:
單機:1
叢集:3
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
項目:
OPTION
網路頻寬單價
OPTION
浮動 IP 單價 *1
建置費:
(Volume(
50
,
單價
) x
linux 個數
)
+(Volume(
100
,
單價
)x
windows 個數
)
+VM:(
CPU單價
+
RAM單價
)* VM個數(下方備註)
+(OS單價 x
windows個數
)
Config:
FiWo Volume Type:Standrad SSD
FiWo Volume Size(Linux):50 GB
FiWo Volume Size(Windows):100 GB
FiWo CPU:8 core
FiWo RAM:8 G
備註:
VM 數
Stanalane :
沒AD: 2 (windows * 1 + linux * 1)
有AD: 3 (windows * 2 + linux * 1)
HA
沒AD: 5 (windows * 2 + linux * 3)
有AD: 7 (windows * 4 + linux * 3)
浮動 IP
分為 Floating IP 和 RDGW 綁定的 IP
示意:
BDS
項目:
Master 節點:(CPU單價 + RAM單價)* Master 節點個數
Core 節點:(CPU單價 + RAM單價)* Core 節點個數
Task 節點:(CPU單價 + RAM單價)* Task 節點個數
Master Data Volume:Master Volume(大小,單價)* Master 硬碟個數 * Master 節點個數
Core Data Volume:Core Volume(大小,單價)* Core 硬碟個數 * Core 節點個數
OPTION
網路頻寬單價
OPTION
浮動 IP 單價 *1
建置費: Volume(
160
,
OS Volume Type 單價
)* (Master 節點個數 + Core 節點個數 + Task 節點個數)
Config:
BDS OS Volume Size:160
BDS OS Volume Type:Standrad SSD
示意:
AIS
項目:
CPU單價
RAM單價
OS Volume(大小,單價)
OPTION
網路頻寬單價
OPTION
浮動 IP 單價 *1
建置費(0元(AIS 無建置費))
示意:
算錢公式
公式:
計價方法:
檢查順序:
FiCo
CIS
SFS
DBS
MQS
FiWo
BDS
AIS
Expand all
Back to top
Go to bottom
算錢公式
公式:
計價方法:
檢查順序:
FiCo
CIS
SFS
DBS
MQS
FiWo
BDS
AIS
Expand all
Back to top
Go to bottom
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up
Comment