TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AWS announces per-second billing for EC2 instances

305 pointsby jonny2112over 7 years ago

16 comments

zedpmover 7 years ago
That&#x27;s sure nice, but I&#x27;m waiting for AWS to switch to automatic sustained use discounts [0] like GCP offers.<p>[0]: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;compute&#x2F;docs&#x2F;sustained-use-discounts" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;compute&#x2F;docs&#x2F;sustained-use-discount...</a>
评论 #15279427 未加载
评论 #15278977 未加载
评论 #15278629 未加载
评论 #15280352 未加载
ranmanover 7 years ago
Link to AWS Blog Post: <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;aws&#x2F;new-per-second-billing-for-ec2-instances-and-ebs-volumes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;aws&#x2F;new-per-second-billing-for-...</a>
deafcalculusover 7 years ago
I really wish AWS would allow users to cap billing. Something that freezes all AWS services if the monthly bill exceeds X would make me a lot more comfortable when experimenting with AWS.
评论 #15282189 未加载
评论 #15282490 未加载
评论 #15282291 未加载
评论 #15282288 未加载
评论 #15282389 未加载
nodesocketover 7 years ago
Per second billing is somewhat of a gimmick just so Amazon can say they are more granular than Google Compute. The difference between seconds and a minute of billing is fractions of a cent. Rounding errors.<p>The exception is Google Compute has a 10 minute minimum, so if you are creating machines and destroying them quickly, per second billing will be noticeable.
评论 #15279205 未加载
aidosover 7 years ago
This is one of the better things to happen in ec2 in years for me. We have a bunch of scripts so a spot instance can track when it came online and shut itself down effectively. It took far too much fiddling around to work around aws autoscale and get efficient billing with the per hour model. In the end we came up with a model where we protect the instances for scale in and then at the end of each hour, we have a cron that tries to shut all the worker services down, and if it can&#x27;t it spins them all up again to run for another hour. If it can, then it shuts the machine down (which we have set on terminate to stop). The whole thing feels like a big kludge and for our workload we still have a load of wasted resources. We end up balancing not bringing up machines too fast during a spike against the long tail of wasted resource afterwards. This change by ec2 is going to make it all much easier.
gumbyover 7 years ago
Back to the future: this was how computing worked back in the punch card days. Minicomputers and personal computers were supposed to liberate you from this tyranny: computing so cheap that you could have a <i>whole</i> computer to your self for a while!
评论 #15280544 未加载
评论 #15280023 未加载
评论 #15280162 未加载
评论 #15280412 未加载
JosephLarkover 7 years ago
Likely due to GCP competition. I believe GCP was always per-second? [Edit: Misremember that, they were always per-minute. Lots of good information below directly form the related parties.]<p>Azure looks to be per-hour [Edit: Wrong again, they are per-minute as well. Oddly enough, I did check their pricing page before, but missed the per-minute paragraph and only saw the hourly pricing] but I&#x27;m seeing something about container instances possibly being per-second.
评论 #15278641 未加载
评论 #15278755 未加载
评论 #15278684 未加载
评论 #15278650 未加载
评论 #15278633 未加载
lostapathyover 7 years ago
This should enable some entirely new use cases, especially around CI and automation in general.<p>Per-second billing greatly reduces the overhead to bringing up an instance for a short task then killing it immediately - so I can do that. There&#x27;s no need to build a buffer layer to add workers to a pool and leave them in the pool, so that you didn&#x27;t end up paying for 30 hours of instance time to run 30, two-minute tasks within an hour.
评论 #15279730 未加载
YokoZarover 7 years ago
I once considered writing an EC2 autoscaler that knew the exact timestamps of the instances so that it could avoid shutting down VMs that still had 59 minutes of &quot;free&quot; time left because they&#x27;d been up across another hour-long threshold. That sort of nonsense logic shouldn&#x27;t be useful, but Amazon was giving a huge economic incentive for it.<p>This is certainly a long time coming.
评论 #15281159 未加载
评论 #15284222 未加载
评论 #15280140 未加载
评论 #15282938 未加载
djhworldover 7 years ago
This is great news and a long time coming.<p>I really hope Amazon build something like Azure Container Instances [1], as per second billing would make this sort of thing feasible.<p>[1] <a href="https:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;services&#x2F;container-instances&#x2F;" rel="nofollow">https:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;services&#x2F;container-instanc...</a>
rsynnottover 7 years ago
Ah, finally. They&#x27;ve ruined my idea for an optimal EMR job runner. Under the old system, if you have a linearly scalable Hadoop job, it&#x27;s cheaper to, say, use 60 instances to do some work in an hour vs 50 instances to do the work in 70 minutes, assuming you&#x27;re getting rid of the cluster once you&#x27;re done. No more!
评论 #15281978 未加载
nogoxover 7 years ago
I think the per-second billing is off the point. How does it help, if the EC2 instance takes tens of seconds to launch, and tens of seconds to bootstrap?<p>To make the most of per-second billing, the compute unit should be deployed within seconds, e.g. immutable. prebaked container. You launch containers on demand, and pay by seconds.
评论 #15282774 未加载
评论 #15281576 未加载
andrewstuartover 7 years ago
Really welcome, although per millisecond would be better.<p>It&#x27;s now possible to boot operating systems in milliseconds and have them carry out a task (for example respond to a web request) and disappear again. Trouble is the clouds (AWS, Google, Azure, Digital Ocean) do not have the ability to support such fast OS boot times. Per second billing is a step in the right direction but needs to go further to millisecond billing, and clouds need to support millisecond boot times.
评论 #15278941 未加载
评论 #15278961 未加载
评论 #15278938 未加载
ttobbaybbobover 7 years ago
Interesting that the techcrunch link has thrice as many upvotes as the amazon link
评论 #15280138 未加载
评论 #15280092 未加载
SadWebDeveloperover 7 years ago
Serverless advocates&#x2F;engies are probably the only people celebrating this, everyone else keeps waiting for self renew instance reservation... last time i forgot about them it was too late.
评论 #15278804 未加载
nunezover 7 years ago
This is great and will save a lot of people a good amount of money.