Amazon CloudFront announces CloudFront KeyValueStore, a globally managed key value datastore

Amazon CloudFront announces CloudFront KeyValueStore, a globally managed key value datastore

Also unlocks the use of JavaScript ES6 with CloudFront functions with a new runtime option. :+1:

If anyone has worked with cloudfront functions they know how big this is. I’ve contemplated calling out to Dynamo or other data stores for custom feature flags (or the like). Almost always just move on to another solution because the concern for tying page loads to external response times is too far a jump to make

I’ve contemplated calling out to Dynamo or other data stores for custom feature flags (or the like).

Which you can’t do with CloudFront functions anyway - need to use Lambda@Edge for such cases :+1:

Very cool option for CF Functions. The 5MB storage limit feels a little miserly though. Although $0.03/million reads is very sharp compared to other AWS options.

Awesome! Now do Global SSM Param Store please.

I guess this is to try and get people to stop doing this shit with Route53?

Thanks for calling out the pricing and size limits :+1:

Are we requesting features? :slight_smile: I’d like to ingest HTTP API access logs into Firehose and skip CloudWatch.

Probably more so a direct competitor to Cloudflare Workers KV

What’s pricing like?

But then how would AWS charge you for those sweet, sweet PutLogEvents API call?

anything is a database if you try hard enough

Oh, Oh… I got one. How about cheap(er) bandwidth!!

I would be interested to hear some example use-cases for which people are planning to use the K/V store… Because I agree: 5MB seems too small for most use-cases…. My first thought was excitement about running an entitlements service on top of the k/v store, but even if you “index” policy docs (and refer to them with a short ID against user IDs), 5MB is not enough for a site with more than a few hundred thousand users (assuming multiple access policies per user is possible).

Well… I’d guess that most sites don’t have hundreds of thousands of users.

But it seems AWS’ examples/intentions are mostly to use this where you’d want some type of configuration you can adjust on the fly without needing to redeploy the entire function/CF distribution. Things like redirects, feature flags, site up/down, etc.

Or cloudwatch evidently

That’s why all my apps use a .tsv file in s3 as a db

And pay a huge DDB traffic price

What kind of things would you use global SSM param store for?