This is an initial version of providing a cost estimate when doing a cluster-create. It uses hard coded ondemand us-east-1 prices. The class allows you to pass in prices for the future where we query the pricing api.
2023-07-31 14:32:30 - Cost estimate report:
OnDemand us-east-1 cost estimate, your cost may be different based on region, discounts or reserve instances:
Fixed:
Capture 1 * $ 140.1600/mo = $ 140.16/mo
Viewer 2 * $ 29.5504/mo = $ 59.10/mo
OS Master Node 3 * $ 329.9600/mo = $ 989.88/mo
OS Data Node 20 * $ 121.9100/mo = $ 2438.20/mo
OS Storage 20,480 * $ 0.1000/GB = $ 2048.00/mo
Variable:
PCAP Storage first 50TB 50,000 * $ 0.0230/GB = $ 1150.00/mo
PCAP Storage next 450TB 31,000 * $ 0.0220/GB = $ 682.00/mo
GWLB 328,500 * $ 0.0040/GB = $ 1314.00/mo
GWLBE 328,500 * $ 0.0035/GB = $ 1149.75/mo
Traffic Mirror/ENI 1 * $ 10.9500/mo = $ 10.95/mo
Total:
$ 9982.04/mo
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
This is an initial version of providing a cost estimate when doing a cluster-create. It uses hard coded ondemand us-east-1 prices. The class allows you to pass in prices for the future where we query the pricing api.
./manage_arkime.py cluster-create --replicas 1 --name MyCluster --spi-days 30 --expected-traffic 1 --history-days 120 --pcap-days 30
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.