AWS Bites Podcast

136. 20 Amazing New AWS Features

In this pre-re:Invent 2024 episode, Luciano and Eoin discuss some of their favorite recent AWS announcements, including improvements to AWS Step Functions, Lambda runtime updates, DynamoDB price reductions, ALB header injection, Cognito enhancements, VPC public access blocking, and more. They share their thoughts on the implications of these new capabilities and look forward to seeing what else is announced at the conference. Overall, it's an exciting time for AWS developers with many new features to explore. Very important: no focus on GenAI in this episode :)

AWS Bites is brought to you, as always, by fourTheorem! Sometimes, AWS is overwhelming and you might need someone to provide clear guidance in the fog of cloud offerings. That someone is fourTheorem. Check them out at fourtheorem.com.

In this episode, we mentioned the following resources:

Let's talk!

Do you agree with our opinions? Do you have interesting AWS questions you'd like us to chat about? Leave a comment on YouTube or connect with us on:

00:07:28

Now, there's always a downside when you've got these new features, there's always some trade-offs to consider. So just to mention, you have to use published versions for functions. So you can't just use $LATEST. And it's only available for ZIP-packaged functions. It's not available for OCI container images at the moment. Now, some people were surprised by the fact that you have to pay extra for Snapstart for Python and .NET, because that wasn't the case with Java. But since Lambda has to store your snapshots, and then when it's restoring them, it has to allocate resources, I suppose it makes sense. And maybe Java developers were just lucky to get a bit of a free ride on that one as it was introduced. But yeah, I think it's definitely worth checking it out if you're really concerned about cold starts in Python and .NET. Now, another thing we covered in a previous episode was Mountpoint for S3. We did a whole episode on it in 1995. Right now, you can use, you can, now you have extra caching available for Mountpoint for S3. So you can use an Express One Zone bucket as a read cache for Mountpoint. So I think Express One Zone was announced, announced that reinvented last year. It's a single availability zone bucket. So you don't get the high availability, but you get much better performance. So if you're using this as a read cache with Mountpoint, then your reads will be up to seven times faster, they say. And speaking of Express One Zone again, there's a really cool new feature for this, which is that you can now append data to existing objects. So if you're doing things like creating log files and appending to them, or doing live video streaming, this could definitely be very useful. And then how do you do it? Well, it's actually just a normal put object call, and now you just can add an offset header, and that will write an append block to your object. And on the topic of S3, if you have a serious bucket addiction, AWS definitely has you covered, because you can now create up to 1 million buckets. Coincidentally, this is about the same number of announcements AWS made in the last year, featuring the phrase Amazon Q. Now, like any good enabler, they give you the first 2,000 buckets for free, but there is actually a price per bucket after that, so don't go to town on your 1 million bucket limit. The next one I have is about DynamoDB, and it's about price slashing.

Luciano
00:09:49

Because now, if you use on-demand throughput, it's half the price than what it used to be. And also, global tables got interesting price slashing, because now they are one-third of the price. So this is super interesting to me, because I always try to use on-demand, but then I'm always a little bit concerned about price in production. And then I try to think, okay, where is the point where I need to start moving to provision mode and do all the calculation, and then make sure I scale accordingly and manage all of the stuff that, with the serverless mindset, I really don't want to manage. I just want the system to do everything on its own and be cheap at the same time. So I think now we are getting a little bit closer to that vision, and maybe I wouldn't have to worry so much anymore about provision concurrency. So I think now it's going to be easy for most people to just stick with on-demand throughput and have reasonable prices. Probably they would be even cheaper than on-demand prices for most cases, and they will scale much better without you having to do a lot of homework on your site. We'll have a link on the show notes if you are curious to read more about this particular announcement. But moving on to the next one, we have ALB headers, which is an interesting feature that seems like a small thing, but can actually be quite useful. But basically now with application load balancers, you can inject custom headers when effectively targeting your load balancer targets.

Eoin
00:11:14

It was a pretty unexpected move because AWS has given Cognito a lot of attention and just announced a whole lot of new features. And another unusual move was that they added these kind of SaaS-like pricing tiers, which is a bit of a departure from AWS's usual pricing model. So now there are three tiers, Lite, Essential, and Plus. So Lite is essentially what you used to get before. It's the legacy tier, really. And then all the new features are in the new tiers. So Essential will give you a new managed login UI. It has support for passwordless authentication, and it allows you to do things like customize access tokens as well. So if you're creating a new user pool now, it'll be in the Essentials tier rather than the Lite tier. And then there's a the plus tier is essentially for enterprise features like compromised password detection, audit logging, and risk-based adaptive authentication, which is basically trying to detect if it may be a malicious login and seeking extra verification from the user. So going on to the new features then, the managed login is an interesting one because previously we've used the hosted UI that they used to have. It's still there, but as part of the Lite package. The new managed sign-in allows you to do much more richer UI customization. I think there's a drag and drop UI as well. So I'm looking forward to looking at that and seeing how well that works. Then you also get passwordless authentication with pass keys, magic links, and SMS. And those are really, I think, great new additions. It's good to see Cognito getting this level of attention. There's also some add-ons that you can pay for, like if you want to do machine-to-machine authorization. And then there's also a whole set of packages you can buy at like fixed price per month that will allow you to get higher throughput on specific operations you want. So if you're really running Cognito at scale, that's definitely worth a look. Now, Lite and Essentials both have a free tier for 1,000, sorry, not 1,000, but 10,000 monthly active users. That's still a pretty generous free tier, I think. Now, the old Cognito pricing model, people often said it was ridiculously cheap. It was a real competitive advantage, actually, that kind of allowed people to adopt Cognito and take some of the pain that was associated with the Cognito developer experience. But I think if they are going to improve that developer experience and add new features and give it continuous love, then it makes sense to fund that work by having a more sensible pricing tier. So the pricing difference, Essentials is about two and a half times per user compared to the old pricing. So I don't think it's outrageous, but you'll have to do your own mathematics on it. And then if you're using the enterprise tier, it seems to be about an extra half a cent for monthly active user.

Help us to make this transcription better! If you find an error, please submit a PR with your corrections.