News for hackers. Stuff that matters.
Re:AWS announces per-second billing for EC2 instances by vidarh on Monday September 18, 2017 @03:57PM (#15278961)
If you're concerned about cost, AWS is almost never the right place to host to begin with.
Re:AWS announces per-second billing for EC2 instances by prohor on Monday September 18, 2017 @03:59PM (#15278985)
Agreed - just check cloud comparison, AWS is rarely at the top: https://www.cloudorado.com/cloud_server_comparison.jsp
Re:AWS announces per-second billing for EC2 instances by vacri on Monday September 18, 2017 @06:23PM (#15280216)
Well, if you're going to use bad figures, then sure, AWS won't win. The default size there is 768MB RAM, 1 cpu, and 50GB disk... which it says AWS will provide for $54. Whereas in actuality a t2.micro with those specs only costs $14, lower than all the listed prices (which are all clearly out of date)

Not to mention all the big names missing from that list. For some reason Dimension Data makes the list (and it's woeful, from experience), but there's no Digital Ocean, OVH, Hetzner, etc...

Re:AWS announces per-second billing for EC2 instances by vidarh on Tuesday September 19, 2017 @06:49AM (#15283389)
As per my other reply: A t2.micro does not allow you to use more than 10% of the vCPU on a sustained basis. Any use over that needs to be earned, and you only earn 6 credits (for one minute each) per hour.
Re:AWS announces per-second billing for EC2 instances by whoisjohnkid on Monday September 18, 2017 @05:56PM (#15280014)
Wow thanks for sharing this link. Didn't know about this.

One thing I noticed though is the pricing seems a bit biased; for example for AWS it recommends an m1.small with 1GB Ram and 20GB of Storage at $35 a month ... However if you used a t2.micro that would give you the same specs for $10.79

Re:AWS announces per-second billing for EC2 instances by chillydawg on Monday September 18, 2017 @06:13PM (#15280147)
Not quite the same, you don't own the whole core on the t2 and will get cpu throttled.
Re:AWS announces per-second billing for EC2 instances by vacri on Monday September 18, 2017 @06:25PM (#15280229)
> you don't own the whole core

Moving the goalposts here. 'Not owning the whole core' is the default in the cloud.

Re:AWS announces per-second billing for EC2 instances by vidarh on Tuesday September 19, 2017 @06:44AM (#15283351)
For the other instances you get a specific number of units of processing capacity that you can use 100% of continuously if you like. For the micro instances, you get a base level and build up credits towards bursts, and can not maintain 100% utilization continuously. It's very much different and not the default. To quote Amazon:

> "A CPU Credit provides the performance of a full CPU core for one minute. Traditional Amazon EC2 instance types provide fixed performance, while T2 instances provide a baseline level of CPU performance with the ability to burst above that baseline level. The baseline performance and ability to burst are governed by CPU credits."

A t2.micro allows only 10% of the vCPU baseline performance. Anything above that needs to be "earned" at a rate of 6 credits per hour. The t2.micro can accumulate a maximum of 144 CPU credits (+ the 30 initial credits, that do not renew), each good for 1 minute of 100% use.

So in other words, you can on average only use 100% of the CPU for 6 minutes per hour.

Re:AWS announces per-second billing for EC2 instances by cthalupa on Monday September 18, 2017 @06:30PM (#15280269)
m1.smalls are also ancient, when the current generation m4 is more than a year old at this point.

Odd site.

Re:AWS announces per-second billing for EC2 instances by xref on Monday September 18, 2017 @05:21PM (#15279711)
that's a very handy site, previously I had mostly been using http://www.ec2instances.info/ and http://www.gceinstances.info/

Thanks for pointing it out!

Re:AWS announces per-second billing for EC2 instances by andrewstuart on Monday September 18, 2017 @04:02PM (#15279016)
You miss the point.

The lifetime of a web request, for example, can be measured in milliseconds.

It is now possible, technically anyway, for operating systems to boot, service the request and disappear.

There needs to be pricing models that reflect computing models like this.

Re:AWS announces per-second billing for EC2 instances by mmcconnell1618 on Monday September 18, 2017 @04:35PM (#15279286)
There is likely a point of diminishing returns in this type of scenario. The OS boot time, the web service setup time, the actual request and then the shutdown time. Also consider that unless you have an external caching layer, you may be processing some requests that could have been cached by an always-on server. If your site has predictable traffic patterns then I suspect the math would be in favor of always-on provisioned servers with scale up/down based on traffic. If you have a very high traffic site the extra OS boot time (even in milliseconds) is going to add up quickly. You'd have to be very sure the spin up/down time is less than the idle time of the always-on server.
Re:AWS announces per-second billing for EC2 instances by hueving on Monday September 18, 2017 @05:33PM (#15279805)
>It is now possible, technically anyway, for operating systems to boot, service the request and disappear.

This was already possible even with a 2 second boot time. The problem is that it's a stupid use case because (unless the OS boots up in <10ms) the latency of waiting for the bootup is intolerable in any use case where a 2 second boot time was intolerable.

Re:AWS announces per-second billing for EC2 instances by vacri on Monday September 18, 2017 @06:27PM (#15280243)
If you're doing that, why bother loading an entire operating system? Just use something like AWS lambda instead.
Re:AWS announces per-second billing for EC2 instances by vidarh on Tuesday September 19, 2017 @06:50AM (#15283399)
And that's great. But it's meaningless when the base-cost per unit of computation capacity is so high that it is in most cases cheaper to have a whole farm of servers running idle elsewhere.
Re:AWS announces per-second billing for EC2 instances by iampims on Monday September 18, 2017 @08:57PM (#15281012)
Isn't that what lambda is all about? Sub-second billing?