yeo / ec2.shop

fastest way to check and compare ec2 and other aws service pricing
https://ec2.shop
MIT License
112 stars 17 forks source link

Monthly price info #1

Closed palfrey closed 4 years ago

palfrey commented 4 years ago

The question I always want to know with AWS, so that I can compare to more traditionally priced options is "how much does that hourly price work out to per month?". It would be useful to add that. I know there's a variable number of days in a month, but some googling indicates that 30.4375 is a reasonable choice for "average days in a month".

Thanks!

v9n commented 4 years ago

this is a quick fix. Gonna do it

v9n commented 4 years ago

@palfrey This is fixed, We have the monthly price now. I follow the official aws calculator which assume 730 hours per month.

palfrey commented 4 years ago

Cool, thanks!

hahuang65 commented 4 years ago

Can we get this to show up on the curl response?

v9n commented 4 years ago

@hahuang65 This is added and deploy

➜ curl -L 'ec2.shop?filter=i3'
Instance Type    Memory             vCPUs  Storage               Network             Price       Monthly
i3en.large       16 GiB           2 vCPUs  1 x 1250 NVMe SSD     Up to 25 Gigabit    0.2260      164.980
i3.metal         512 GiB         64 vCPUs  8 x 1900 NVMe SSD     25 Gigabit          4.9920      3644.160
i3.4xlarge       122 GiB         16 vCPUs  2 x 1900 NVMe SSD     Up to 10 Gigabit    1.2480      911.040
i3en.24xlarge    768 GiB         96 vCPUs  8 x 7500 NVMe SSD     100 Gigabit         10.8480     7919.040
i3.xlarge        30.5 GiB         4 vCPUs  1 x 950 NVMe SSD      Up to 10 Gigabit    0.3120      227.760
i3.large         15.25 GiB        2 vCPUs  1 x 475 NVMe SSD      Up to 10 Gigabit    0.1560      113.880
i3en.2xlarge     64 GiB           8 vCPUs  2 x 2500 NVMe SSD     Up to 25 Gigabit    0.9040      659.920
i3en.6xlarge     192 GiB         24 vCPUs  2 x 7500 NVMe SSD     25 Gigabit          2.7120      1979.760
i3.2xlarge       61 GiB           8 vCPUs  1 x 1900 NVMe SSD     Up to 10 Gigabit    0.6240      455.520
i3en.12xlarge    384 GiB         48 vCPUs  4 x 7500 NVMe SSD     50 Gigabit          5.4240      3959.520
i3.8xlarge       244 GiB         32 vCPUs  4 x 1900 NVMe SSD     10 Gigabit          2.4960      1822.080
i3.16xlarge      488 GiB         64 vCPUs  8 x 1900 NVMe SSD     20 Gigabit          4.9920      3644.160
i3en.metal       768 GiB         96 vCPUs  8 x 7500 NVMe SSD     100 Gigabit         10.8480     7919.040
i3en.3xlarge     96 GiB          12 vCPUs  1 x 7500 NVMe SSD     Up to 25 Gigabit    1.3560      989.880
i3en.xlarge      32 GiB           4 vCPUs  1 x 2500 NVMe SSD     Up to 25 Gigabit    0.4520      329.960
hahuang65 commented 4 years ago

Awesome! Thank you!