Comments (1)
Hey @cristim thanks for opening this issue! I definitely think there is room for further discussion on most of these, feel free to create separate issues for them.
- uses an instance ID(assumed to be from the current region) as comparison baseline instead of the region-agnostic instance type supported currently
- considers actually used resources on the baseline running instance instead of the maximum available in the specs, for example currently we consider the attached instance store volumes in the block device mapping not the total available, but there may be others.
It seems to me that these two would have to go together to make this useful. I don't think just allowing instance-id as the base would be useful since it would basically just look up the instance type and then pass that into instance-selector. If instance-selector does lookup actual resource usage, then that might make sense.
- consider spot pricing of the target instance type, returning the better-priced compatible spot instance type in the same region or AZ(would be nice to be configurable between Region and AZ).
- sorts the result in increased order of the spot price.
These also seem related, but since spot prices change and there is already features in ASG to handle dynamic pricing (lowest-price allocation strategy and spot max price), I don't quite see the need of figuring out which one is cheaper. It would be better to pass all compatible instance types into the launch template and then let ASG figure out which one to use based on the configuration of max-price or the allocation strategy.
The sorting part seems related to this issue as well: #21
- efficient when it comes to API calls and network traffic by storing a lot of static data(having some of it cached for a day or so may be acceptable though).
Yeah, this data would be easily cached since it doesn't change very often. It hasn't made sense so far in the project since this tool is usually executed in an ad-hoc manner, so the next run would usually require the cache to be evicted anyways to account for potentially new instance types. But I can see the usefulness if you want to run this for a bunch of workloads within an account as a system component.
from amazon-ec2-instance-selector.
Related Issues (20)
- assets (binaries) missing for release 2.1.0
- support filtering inf. and vt1. instances HOT 2
- sort by price HOT 1
- on-demand pricing cache bug HOT 1
- support for network baseline/burst flags
- OD Pricing for some Regions do not work
- Instance types not supported by EMR HOT 4
- Pricing API change in aws-sdk-go HOT 3
- Ability to filter Ipv4 per ENIs HOT 2
- Specifying storage requirements fails to return any instances HOT 2
- Ability to filter if IsTrunkingCompatible
- vcpus=96 returned r5.large which is 2cpu HOT 5
- Filter for AVX-512 support
- --cpu-manufacturer intel shows AMD EPYC based c5ad and m5ad HOT 1
- Feature-request : frequency-interruption for Ec2 Spot Instance HOT 1
- java library
- Filter memory per vcpus HOT 1
- Add support for AWS IAM Identity Center (successor to AWS Single Sign-On) SSO credential format HOT 5
- --output table-wide never return
- Unable to connect to EC2 instance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-ec2-instance-selector.