280 karma · joined Apr 21, 2016 (10y ago) · 168 submissions
31.
My thoughts on the state of EC2 Spot pricing and what you can do about it(leanercloud.beehiiv.com ↗)
4 points · by alien_ · 3y ago · 1 comment
comment 3y ago · link · parent
You simply run Spot from other instance types, and if no Spot capacity is available you run at reduced capacity.
Alternative solutions such as AutoSpotting.io are doing it and allow you to run with failover capacity.
comment 3y ago · link · parent
This means "bidding" more won't protect your capacity, AWS will just take it if they need it.
Prices are now relatively flat, and changing slightly over time by a fraction of a cent per day with a cap at the OnDemand price, while previously there used to be lots of from 0.1x to 10x the on demand price and with swings even multiple times within a day.
comment 3y ago · link · parent
Are you sharing this as an experience of using AutoSpotting or other mechanisms to launch Spot instances?
What you described may still happen occasionally and it happened a lot with older versions, but the recent versions of AutoSpotting, especially the commercial edition available on the AWS Marketplace (although the community edition available on GitHub also does it to some degree) should avoid such situations in the default configuration should be much more reliable than before.
Actually when it comes to capacity, when Spot capacity is not available and we failover to on-demand, the latest AutoSpotting version will failover between multiple instance types with the same diversification used for Spot instances so you're pretty much guaranteed to have capacity even better than your initial single-instance ASG.
We also use the capacity-optimized-prioritized allocation strategy with a custom priority based on lowest cost, but also preferring recent instance types if available for more performance and lower carbon emissions.
Let me know if you have further questions about AutoSpotting, Im happy to help.
38.
1 points · by alien_ · 3y ago · 2 comments
39.
Show HN: Open source EC2 Spot savings estimator(github.com ↗)
1 points · by alien_ · 3y ago · discuss
40.
Show HN: Released a new version of EBS Optimizer with many improvements(aws.amazon.com ↗)
1 points · by alien_ · 3y ago · discuss
41.
Show HN: New version of AutoSpotting with lots of improvements(aws.amazon.com ↗)
1 points · by alien_ · 4y ago · discuss
comment 5y ago · link · parent
My tool mainly automates the process described in this blog and does it continuously in case you run instances that start with suboptimal configuration. It also detects premium IO1 and IO2 volumes that could be converted to GP3 and changes them for up to 85% in savings, which often amount to hundreds of dollars.
In the future I'll also implement additional functionality such as informing you that there was a suboptimal volume so perhaps you can update your IaC to avoid it going forward, or switching detached volumes to much cheaper magnetic and back to the initial settings when re-attached to instances.
Let me know what you think about this and if you have any further questions I'd love to help you out.
comment 5y ago · link · parent
Try to search for "EBS Optimizer" in the AWS console and you should find one of my tools most likely to be useful for most people.
If you run EC2 or any other services that use it under the hood, such as EMR, ECS or EKS, it's going to save you a few bucks. It's free of charge below about $14 savings monthly and charges up to 5% of the savings thereafter, $0.7 for each $14 it saves you.
46.
Show HN: AWS Cost Savings Tools
1 points · by alien_ · 5y ago · 2 comments
47.
Show HN: Tool for optimizing AWS EBS volumes for better cost and/or performance(aws.amazon.com ↗)
4 points · by alien_ · 5y ago · 2 comments
comment 5y ago · link · parent
Yes, the hardware is peculiar in many ways and Apple didn't bother to document it (it would have costed them some resources for no clear benefit to their business model) but they also didn't bother to completely lock it down, like they did with the iPhone and iPad. This is what allows other OSes to be ported to it if they are able/willing to reverse engineer and develop support for it.
This reverse engineering work was done so far by just a handful of people who would also like to have Linux run on it, partly sponsored by a few hundreds that share this desire, or just doing it voluntarily as a challenge/interesting project.
The m1n1 bootloader/hypervisor built by the team allows running macOS and logging all the hardware access.
Once the reverse engineering is done for a given component, all the other OSes can implement support for it.
The fact that a lot of the functionality is implemented in firmware blobs makes it easier to support at the OS level, essentially each OS driver only needs to give high level instructions to the firmware, without having to implement all the minutiae done in the firmware.
comment 5y ago · link · parent
The other week I witnessed first hand how multiple 50-something folks who own smartphones struggled with something as easy as filling a form on a website for making an appointment (in this case for getting a passport) and confirming the appointment by clicking an email.
Or think about the thousands of vulnerable/old people who will die of COVID-19 because they failed to schedule their vaccinations even though they could otherwise access it. A friend who works in Berlin on radiotherapy for cancer patients said lots of them aren't vaccinated because they just can't sign up for it and their doctor doesn't do it for them.
Anything that requires using technology, even as simple as using a browser and getting a confirmation email should be probably be also made available by more familiar/accessible tools such as SMS/whatsapp/facebook or a call center.
comment 5y ago · link · parent
The rest of the time could be spent doing other more interesting things that just bring joy and/or benefit humankind.
They'll probably also have further potential for monetization, and so on, sustaining a life of leisure and doing meaningful work.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Going forward I'm going to offer the enterprise stuff through the AWS marketplace, further reducing the friction, hopefully that will get more traction. It's just a lot of boring billing engineering work that I could have spent on improving the software.
comment 5y ago · link · parent
About 6 years ago I started AutoSpotting, an open source tool designed to reduce AWS costs by automatically replacing on-demand instances with up to 90% cheaper Spot instances, it was meant to be my playground project for learning golang.
I estimate it saved in aggregate in the tens or maybe even hundreds of millions of dollars and multiple companies have been built around my code or reimplementing the same idea.
It's still a side project that I work on occasionally but at some point I tried to monetize it through support and custom development. I failed to get enough traction to become a full time job, currently make some $400/month from about a dozen users whom I sell precompiled binaries through Patreon.
comment 5y ago · link · parent
Yes it's costly, restrictive, the hardware still has some flaws and you can't replace parts but most Apple users, myself included, are happily paying the price.
I have an M1 Macbook Pro for a few months now and it's blazingly fast, the battery lasts for 15-20 hours and I've only heard the fan for a few minutes so far while stressing it with heavy compilation. Under normal circumstances it's entirely silent. I wouldn't trade it for anything else at this point.
comment 5y ago · link · parent
The SARS2 quite likely isn't based on an existing human virus but on a bat coronavirus.
The NIH has been apparently funding modifying bat coronaviruses in Wuhan with minimal guardrails as to be able to infect humanized lab mice but that's not gain of function as per that definition.