Live data from Hacker News

Amazon EC2 M1 Mac Instances

aws.amazon.com

71–80 of 269 posts

Re: Amazon EC2 M1 Mac Instances

#71

I have an slightly-off-topic question: If I want to test that my opensource project builds and runs on MacOS, what's the cheapest way for me to do this? AWS seems like a fairly expensive way do this at $15 USD per day

Github Actions has macOS available as a builder.

If you need to interactively test something, can you do that with Github Actions?

Re: Amazon EC2 M1 Mac Instances

#73
post #64

It’s an interesting look at AWS pricing since the cost of the M1 Mac Mini ($699) and it’s power consumption (avg 26 watts) are known. Based on hardware costs (significant) and power costs (insignificant) you’re looking at a hardware ROI at about 6 months from the $.65 per hour price. AWS has an estimated 60% gross profit margin, so from there it’s probably possible to estimate some other interesting things about thei…

"EC2 M1 Mac instances are powered by...The Mac mini, featuring M1 SoC with 8 CPU cores, 8 GPU cores, 16 GiB of memory" So not $699, but $899, since it's 16GB of memory.

For retail, true. I would be surprised if amazon actually pays that much

Re: Amazon EC2 M1 Mac Instances

#74

GitHub Actions uses VMs. Not sure how they, and not Amazon, were able to pull this off. That subject is sensitive and reportedly under NDA. https://github.com/actions/virtual-environments/issues/2604#...

It's obviously under NDA. I don't even understand why someone would open up this issue. How is Github complying with Mac os license? The obvious answer is that Github worked something out with Apple, that would then be secret. Github (Microsoft) has many lawyers under their employ that would have looked at this, said if their implementation breaks the license, or they came up with an alternative license with Apple. I…

I opened the issue because when I spun up a macOS runner, it was not requiring me to "review and agree to be bound by the terms applicable to any software preinstalled on the Apple Software [...]" per the terms. Was I somehow implicitly bound by them? I was not comfortable with that legal risk and figured I'd ask the awkward question.

Re: Amazon EC2 M1 Mac Instances

#75

The 24 hour minimum pricing model for these really sucks. My understanding is that this is a condition of Apple's license to Amazon to run macOS on these machines, and I can't work out why they'd do it.

It probably helps selling a false narrative to shareholders. "Look at how many hours our hardware was rented for!" with no regard for how many hours were actually spent doing work.

That makes no sense. Apple doesn't rent hardware.

Re: Amazon EC2 M1 Mac Instances

#76

Earlier quoted context omitted.

W8 what >>> 699/(24*0.65) 44.80769230769231 days Nitro card obviously costs a bit, but for ROI on mac itself is closer to 6 weeks than 6 months ;)

> 699/(24*0.65) * proportion of hours the product is unused

Yup, sorry I was assuming 40 hours of utilization a week, forgot to state that.

Re: Amazon EC2 M1 Mac Instances

#77

Earlier quoted context omitted.

W8 what >>> 699/(24*0.65) 44.80769230769231 days Nitro card obviously costs a bit, but for ROI on mac itself is closer to 6 weeks than 6 months ;)

> 699/(24*0.65) * proportion of hours the product is unused

To be fair, since the minimum rent time of these instances in the cloud is 24h, chances are even a cloud-provided instance is unused for quite some time.

Re: Amazon EC2 M1 Mac Instances

#78

Genuinely curious, who is the audience for this? Large iOS dev shops who want hardware to run builds on and don't mind that you need to reserve them for at least 24 hours at a time?

My employer really wants to use this. The IT department dislikes supporting Apple hardware and software. But...we have a product that needs to end up in the Apple App Store. They tried to convince the iOS engineers that it would be fine to work in a virtualized environment (and cheaper), but we really were not convinced that would be workable in the long run. I was willing to give it a shot, but the effort eventually fizzled out, likely over Amazon's costs.

Re: Amazon EC2 M1 Mac Instances

#79
post #68

Earlier quoted context omitted.

The space question is interesting. The most common Mac mini rack mount enclosure holds 2 minis in 1ru. I think at amazon's scale they could probably get 4 minis in 1ru with some custom cooling. how dense do you think instances are on average in the amazon datacenters?

>The most common Mac mini rack mount enclosure holds 2 minis in 1ru That sounds wasteful to me. Is that really the most common way for mac hosting companies to do it?

Do they have an alternative?
Post reply on HN