Comments (6)
Thanks, in this case I'm closing this issue.
from autospotting.
I was able to get past this for our instances by changing the code to skip that instance type and hosting our own binaries. I'll see if I can figure out why it's not handling the case better in general and hopefully put in a PR when I get a chance.
from autospotting.
Good catch @nmeierpolys, thanks for reporting this!
Off-topic: I'd like to learn more about your use case for only running in a single region, for reliability concerns that's not something I would normally do, especially with spot instances, and I'm always curious to learn about such interesting use cases happening 'in the wild'.
Regarding the issue you noticed, that sounds like a real problem. As far as I can see in the spot instance pricing history in my AWS console, that instance type is indeed only available in a single AZ in US-East-1(in my account that is labeled as us-east-1a), so I guess the algorithm is somehow not checking against this edge case.
I will try to reproduce this in my own AWS account and I will have a look at the source code to see why does that unavailable instance type appear to be the cheapest.
Somehow related to this issue, I think I could implement a way to track instance launch failures for a given instance type/AZ combination, and somehow temporarily blacklist them for a few hours if the instance fails to launch over multiple autospotting runs in a row. I will create a new issue for implementing this kind of feature.
Since you are the first user to report self-hosting binaries, please consider submitting a PR documenting how you did it, I'd really like to have a bit of documentation for this.
from autospotting.
Thanks @cristim. Right now, we're running in a single AZ because our system and deploys expect everything to be in a single subnet. There's nothing technically preventing us from changing this, it just hasn't been a big enough priority to commit time to it yet.
I'd be happy to add some documentation for self-hosting the binaries. Hopefully I can get a PR for that your way this week sometime.
from autospotting.
@nmeierpolys, is this still happening on your environment with the latest version?
from autospotting.
Sorry, but I'm no longer working on the project that used autospotting, so I'm not able to test it out with the latest version.
from autospotting.
Related Issues (20)
- ICE-proof handling of spot terminations
- Add support for stateful workloads
- Dynamic instance type information HOT 5
- Add support for the regions in China HOT 1
- Add support for running AutoSpotting in the GovCloud AWS regions HOT 2
- Capacity Rebalancing Support HOT 1
- Comparison to EC2 Auto Scaling Capacity Rebalancing HOT 2
- Kubernetes cronjob appears to be ignoring the disallowed instance types. HOT 4
- Does Autospotting support Graviton2 and Mixed Instance Policy?
- invalid memory address or nil pointer dereference: errorString lambdaPanicResponse HOT 7
- SQS Message Group ID too long HOT 8
- LaunchTemplate/LaunchConfiguration VolumeSize overwritten by Image one HOT 1
- ASG on_demand_price_multiplier preference HOT 2
- Accumulating spot instances that are not attached to ASG's HOT 5
- update go.mod and go.sum to use latest ec2-instances-info version HOT 2
- Instance type updates HOT 1
- Instance type filtering only optionally considering the EBS throughput HOT 1
- CLI mode that converts ASGs to Launch Templates
- Failing to launch instances for ASGs that contain space in their name.
- Autospotting try to attach instance to ElasticLoadBalancer before the CodeDeploy deployment process HOT 4
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 autospotting.