AWS introduces per-second billing and Go was started 10 years ago.
EC2 Per-Second Billing
AWS announced that they’re introducing per-second billing for EC2 Instances and EBS Volumes, which will be active from the third of October. This puts them in line with both Microsoft Azure and Google Cloud Compute, which both have had per-minute billing for a long time. And let’s be honest here, the difference between per-second and per-minute billing is small enough that it’s unlikely anyone will truly notice.
That said, it’s a welcome change as it enables more flexible tasks. Before the change it didn’t matter what you did, if you ran a 2 minute task you’d still be charged for an hour1. Considering the hourly prices of an instance this may not sound too bad, but if this is something you do often it starts to add up. Which is especially the case if you happen to run a lot of short parallel jobs on powerful machines.
It also enables some other ways of thinking, such as truly on-demand instances. An example of this is jump boxes or bastion hosts. Instead of having a single machine that is always running, with the aid of a Lambda function you can instead spin up a temporary instance for whoever needs the access2 at that very moment and have some extra security at no additional cost3.
There are still plenty of things to complain about with regards to the way AWS does its billing4, but this at least is a good improvement. A reminder though, if you used to take advantage of that hour by starting up your development instances, or scaling up your production machines, at 8:01, you may want to see if you should update your automation for that.
10 Years of Go
The original creators of Go wrote an article looking back on the language and how it evolved. This was done to commemorate the fact that they started work on it 10 years ago, although the official “birthday” wasn’t until it went open source 2 years later. It’s an interesting read, and I always like reading about how a language has evolved.
- Unless you were early unlucky and ran it across the hour boundary, in which case you got to pay for 2 hours. [return]
- This is an idea I’ll mention during the presentation I giving at the AWS meetup on Wednesday as well. Sorry for the spoiler. [return]
- Not that you’re likely to have very expensive instances for this purpose. [return]
- Let’s be honest, not many people are happy about having to pay for stuff. It may be worth it, but it’s always better to pay less. [return]
Read more like this:
- Week 4, 2018 - Go in AWS Lambda; AWS Auto Scaling; Cloud AutoML
- Go-ing Lambda
- Trying out the new AWS Go SDK
- Week 9, 2020 - Lambda in Savings Plan; IAM CalledVia
- Week 43, 2019 - CloudWatch Anomaly Detection; Some AWS Container Updates
Or always get the latest by subscribing through RSS, Twitter, or email!