[Be a Better Dev Newsletter] #007 - AWS to Start Charging for Public IPs + More AWS News Updates


Be a Better Dev

August 2nd, 2023

AWS News Updates

New charges for Public IP Usage

Effective February 1, 2024 there will be a charge of $0.005 per IP per hour for all public IPv4 addresses, whether attached to a service or not. This translates to approximately $3.60 per month or $43 per year of extra charges to your account, PER IP ADDRESS.

AWS claims that this new change is due to IPv4 address being an "increasingly scarce resource" and is intended to encourage you to be "a bit more frugal" with your use of IPv4. The suggested approach is to migrate over to IPv6 which are not currently being billed (yet?). This does seem to align with Amazon's frugality leadership principle.

Not surprising, this new announcement has caused some uproar among the cloud community. Folks are ticked since some services aren't even available over IPv6. Others see it purely as a cash grab.

What are your thoughts on this change?

New DynamoDB feature makes it easier to work with ConditionalCheckFailed exceptions

I wrote about this feature recently and even created a video about it. AWS just made a major change to PutItem, UpdateItem, and DeleteItem APIs. Previously, when attaching a ConditionalExpression to these APIs, requests that failed to satisfy the condition threw an exception and didn't provide much more context.

With this new change, you can now supply the ReturnValuesOnConditionCheckFailure parameter in your API request. Doing so makes Dynamo return a copy of the item that existed in the database when this exception was encountered.

This is a powerful new feature that makes debugging and logging much much easier. To learn more about the video, watch the quick two and a half minute video above!

Prime Day powered by AWS put up some wild numbers

As per usual, AWS just released some interesting numbers regarding usage of AWS services during the Prime Day event. These statistics apply to internal Amazon services used to power the backend of Amazon/AWS.

Some interesting stats that stood out:

  • DynamoDB served trillions of API calls and peaked at 126 million requests per second.
  • SQS processed 86 million messages per second at peak which was a 22% increase from last year.
  • 5835 Aurora database instances were active processing 318 billion transactions.

For more statistics and some interesting numbers, check out Jeff Barr's blog post.

July Video Recaps

Keep Your Network Traffic In AWS with VPC Endpoints

VPC endpoints are a powerful feature that allow you to keep all of your traffic bound for an AWS service WITHIN AWS itself. Previously, requests in private subnets trying to communicate with AWS services would need to egress out to the public internet (via a nat gateway), talk to the AWS service, and then return all the way back into your VPC. This causes all sorts of security headaches.

This video explains the feature and includes a conceptual overview and a demo walkthrough using Amazon Step Functions as an example.

video preview

Aspiring Developers Need to Read This Book

I don't recommend books very often. Mostly because more often than not I get 1/3rd through a book and put it down thinking "why did I waste my time reading this".

This book, however, is much different. Staff Engineer by Will Larson is a phenomenal book for any aspiring developer. Will talks about the Principle/Staff Software Engineer track including the change of responsibilities and expectations when taking on this role. As a Sr. SDE myself, so much of this rang true. I highly recommend checking out the book and giving this video a watch for my take.

video preview

Step Function Callbacks with AWS Lambda

I've been using Step Functions quite a bit lately for a work project. This has given me ample opportunity to find the great and not so great quirks of using the service. Among the not so great: dealing with callbacks.

Callbacks allow you to create a "human in the loop" type of arrangement where the execution of your workflow will pause until some external actor performs an action, and thereby calls back into your Step Function to resume it.

I played with this feature for hours before finally understanding how it works in detail. I wanted to make a video to spare you the pain I went through. Even if you're not using Step Functions right now, it's good to know about this feature in case you ever cross paths with it.

video preview

And that's all folks! I'll see you in a few weeks.

Read more from

Be a Better Dev May 4th, 2024 Hey there! I've got an awesome offer for you this Star Wars Day. I've partnered with the best AWS content creators to give you 30% off on a fantastic range of AWS books and courses! From left to right: Yan Cui, Philip Riecks, Sandro Volpicella, Alex DeBrie, Me, and Tobias Schmidt Enter the code BIGBUNDLE at checkout to get your discount. But hurry, this offer ends in 3 days. Check out these deals: 30% OFF on AWS Learning Accelerator: Perfect for beginner to...

Be a Better Dev February 18, 2024 In a recent video, I expressed my frustration with AWS's definition of "Serverless". The video seems to have resonated with the community, particularly folks' frustration with how AWS is throwing the term Serverless around all willy nilly. The recent announcements of "Serverless OpenSearch" and "Serverless Aurora" come to mind as not-so-serverless serverless offerrings. What are your thoughts? Separately, my recent course - AWS Step Functions Masterclass -...

Be a Better Dev October 21st, 2023 AWS is stepping up their security game by making Multi Factor Authentication (MFA) mandatory for users signing in to root accounts. The new feature is expected to be rolled out by mid 2024 with affected users being notified via e-mail channels. This is a welcome change that probably should have been implemented since day 1. As I've mentioned in previous newsletters and YouTube videos, the amount of users that suffer from inexplicable "hacks" to their AWS...