Better HN
topnewbestaskshowjobs
Log inSign up

alien_

280 karma · joined Apr 21, 2016 (10y ago) · 168 submissions

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

Another alternative is to also diversify over multiple On-Demand instances, just like for Spot.

comment 3y ago · link · parent

This is no longer the case since 2018, see my comment above.

comment 3y ago · link · parent

Except for Karpenter and EMR, no other AWS services (including Spot fleets) failover between Spot and OnDemand when losing Spot capacity.

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 is no longer the case. Back in 2018 AWS changed the pricing model so now there's no more bidding.

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

The author of AutoSpotting here, glad to see it mentioned in here and happy to help clarify such issues.

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.

comment 3y ago · link · parent

For now it's manual but I'll automate it ASAP, that would be a great problem to have

38.

Skin in the Game

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

I love this tool, I use it and recommend it to my own customers to see how little my AutoSpotting.io tool implemented in Lambda is costing them to run and also to easily see the logs.

comment 5y ago · link · parent

I wrote the EBS Optimizer tool mentioned in the article, I'll gladly answer any questions about that.

comment 5y ago · link · parent

There's no risk, Amazon recommends this to customers, see https://aws.amazon.com/blogs/storage/migrate-your-amazon-ebs...

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

Thanks, I wasn't aware of this, I'll ask the marketplace support about it.

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

I have an M1 Macbook Pro and it beats any other laptop I've seen/had when it comes to performance and battery life. I'd love to also have Linux run on it and apparently enough people do as well.

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 average user prints exactly one colour page during the lifetime of their colour printer. It is usually the test page."

So true!

comment 5y ago · link · parent

There's a lot to be done to address digital divide especially for the elderly.

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

That's okay, it doesn't need to be a full-time job, but more like a "4 hour work week" mini-job that pays the bills with minimal ongoing effort.

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

It's just a numbers game. The total number of people who consume porn is probably many orders of magnitude larger than the audience of your respectable software, so even if you're tapping into a very small niche of porn consumers, it can be enough to overtake your other software.

comment 5y ago · link · parent

I'd probably offer some sort of support/consultancy services and prioritize the work of the paying users, making it clear when filing github issues and pull requests. This could easily sustain you in a passive income way so you can spend most of your time working on things that matter more to humanity.

comment 5y ago · link · parent

That's exactly what I have been using Patreon for, it's not a donation but a subscription for an enterprise tier. Still very few people signed up for it, the OSS code is working well enough and there's very little friction in just using it.

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

Same here, for most of my 15+ years career in IT I've been doing DevOps stuff, mostly writing small scripts and infrastructure code, occasionally hacking on existing projects enough to do drive-by contributions.

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

The reality is that the M1 beats pretty much all Intel-based laptops when it comes to getting the sweet spot on performance, battery life and silent operation.

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

I'd probably compare it to patching tires or installing a replacement tire valve. The pressure in a car tire is around 2.5-3 bar, the bike tires go up to 4-4.5 bar.

comment 5y ago · link · parent

Confiscating profits wouldn't work, many companies are reinvesting their profits. Probably the best way would be to just make the fines hurt more, by using a fixed and non-negligible percentage of the monthly/yearly revenue, much like Finland does for traffic fines.

comment 5y ago · link · parent

There's this other article https://thebulletin.org/2021/05/the-origin-of-covid-did-peop... which among other things explains that gain of function is technically defined as modifying existing human viruses to make them more dangerous.

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.

123456