HNHacker News
TopNewBestAskShowJobs

alien_

280 karma · joined April 21, 2016

submissionscomments
alien_··on XPS9350-macOS – macOS patches for Dell XPS 13 9350
How hard would it be to convert it to other more or less related laptop models?

Would it make sense to have a shared component that applies on multiple models, and a smaller part to be model-specific?

alien_··on How Convolutional Neural Networks Work
The AMI creation is only needed if you store data on the machines, which you shouldn't do anyway, not even with on-demand ones.

You should always try to keep the instances stateless and store any data outside the instances, such as on S3 or EFS.

alien_··on Major update of AutoSpotting, an AutoScaling-friendly EC2 spot market bidder
Now also open source and available on GitHub: https://github.com/cristim/autospotting
alien_··on Major update of AutoSpotting, an AutoScaling-friendly EC2 spot market bidder
The latest version is adding support for EC2 Classic security groups and full-blown launch configuration setups which as of now make it usable enough for environments of real-life complexity.
alien_··on My take at making AWS EC2 cheaper by automating SPOT instances with AutoScaling
I've looked in a bit more detail and it seems to attach the nodes to the ELB used by the AutoScaling group, while I am attaching them to the group itself, which indirectly adds them to the load balancer.

I'm curious how does that tool handle the scaling of the group, since the nodes are actually outside the group and can't contribute to group-wide metrics like average CPU usage, often used for scaling out.

alien_··on My take at making AWS EC2 cheaper by automating SPOT instances with AutoScaling
I didn't know about that one, indeed, it seems pretty similar.
alien_··on My take at making AWS EC2 cheaper by automating SPOT instances with AutoScaling
It's because so far I am only considering replacing the nodes slowly, one at a time, mostly in order not to hit any soft limits that may be defined on the account(like total number of instances), but also in order to give the user the chance to stop it in case things go south for whatever reason during the evaluation, since as I warned, this thing is likely full of bugs at this point.
alien_··on My take at making AWS EC2 cheaper by automating SPOT instances with AutoScaling
Yes, but I actually did start a few weeks before the spot fleet was launched.

The problem with the spot fleet 1) it's kind of awkward to use 2) it has statically defined capacity so you can't scale it 3) it has a static bid price, so if at some point your are outbid on all the group's bids, you end up with no capacity 4) among other things it lacks integration with the ELB so you can't really use it for so many use cases.

My solution is simpler, better integrated with the rest of AWS and more resilient and once I iron out the bugs and get it production-ready, it should be a better choice.

alien_··on My take at making AWS EC2 cheaper by automating SPOT instances with AutoScaling
With my approach the AutoScaling group would always replace failed instances with the on-demand ones identical to those initially defined on the group's launch configuration.

All I do is I later attempt to replace them with whatever I can buy from the spot market.

On the other hand, the spot bidding implemented out of the box in AutoScaling will fail if you are outbid in all Availability Zones at the same time, since it doesn't fall back to on-demand instances. I've seen people often use a second on-demand AutoScaling group that would scale out when you get outbid on the spot one, but then you have a problem defining scaling policies so that they can scale nicely, and/or shifting the capacity between them. Someone had a nice talk at re:invent about how they do all that.

← PreviousPage 5 of 5