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

Filter Memory or vCPU #17

Closed steak-sauce closed 4 months ago

steak-sauce commented 2 years ago

Hi,

First I’d like to say this project is awesome! Thank you!

It would be helpful if we could list all instances with 128 GB of memory. Like wise, list all instances with X number of vCPU.

Example: ec2.shop?memory=128 Example: ec2.shop?vcpu=16

I’m sure there’s a more elegant way to implement, but hopefully it’s clear what I’m trying to accomplish.

v9n commented 4 months ago

@steak-sauce Happy to announce this is finally support now

Example:

ec2.shop?filter=mem>=32,mem<=64,cpu=8

more syntax on here: https://github.com/yeo/ec2.shop?tab=readme-ov-file#advanced-filter