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

**URL:** <https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523>\
**Category:** AWS Compute Discussion\
**Tags:** cloudfront\
**Created:** [November 22, 2023, 12:06am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523 "2023-11-22T00:06:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnetik79](https://awshq.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@magnetik79](https://awshq.com/u/magnetik79)\
**Post date:** [November 22, 2023, 12:06am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/1 "2023-11-22T00:06:13Z")

</div>

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

> **[Amazon CloudFront announces CloudFront KeyValueStore, a globally managed key...](https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-cloudfront-keyvaluestore-globally-managed-key-value-datastore/)**
>
> Discover more about what's new at AWS with Amazon CloudFront announces CloudFront KeyValueStore, a globally managed key value datastore

---

<div class="post-metadata">

**Author:** ![magnetik79](https://awshq.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@magnetik79](https://awshq.com/u/magnetik79)\
**Post date:** [November 22, 2023, 12:06am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/3 "2023-11-22T00:06:59Z")

</div>

Also unlocks the use of JavaScript ES6 with CloudFront functions with a new runtime option. 👍

---

<div class="post-metadata">

**Author:** ![from\_the\_river\_flow](https://awshq.com/letter_avatar_proxy/v4/letter/f/76d3ee/32.png) [@from\_the\_river\_flow](https://awshq.com/u/from_the_river_flow)\
**Post date:** [November 22, 2023, 1:58am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/4 "2023-11-22T01:58:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![magnetik79](https://awshq.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@magnetik79](https://awshq.com/u/magnetik79)\
**Post date:** [November 22, 2023, 2:14am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/5 "2023-11-22T02:14:24Z")

</div>

> [@from\_the\_river\_flow](#):
>
> 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 …

> 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 👍

---

<div class="post-metadata">

**Author:** ![kondro](https://awshq.com/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@kondro](https://awshq.com/u/kondro)\
**Post date:** [November 22, 2023, 3:29am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/6 "2023-11-22T03:29:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![The\_Kwizatz\_Haderach](https://awshq.com/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@The\_Kwizatz\_Haderach](https://awshq.com/u/The_Kwizatz_Haderach)\
**Post date:** [November 22, 2023, 4:47am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/7 "2023-11-22T04:47:46Z")

</div>

Awesome! Now do Global SSM Param Store please.

---

<div class="post-metadata">

**Author:** ![wafflefriesdev](https://awshq.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@wafflefriesdev](https://awshq.com/u/wafflefriesdev)\
**Post date:** [November 22, 2023, 4:49am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/8 "2023-11-22T04:49:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![magnetik79](https://awshq.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@magnetik79](https://awshq.com/u/magnetik79)\
**Post date:** [November 22, 2023, 5:39am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/9 "2023-11-22T05:39:55Z")

</div>

> [@kondro](#):
>
> 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.

Thanks for calling out the pricing and size limits 👍

---

<div class="post-metadata">

**Author:** ![redditor\_tx](https://awshq.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@redditor\_tx](https://awshq.com/u/redditor_tx)\
**Post date:** [November 22, 2023, 5:57am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/10 "2023-11-22T05:57:14Z")

</div>

> [@The\_Kwizatz\_Haderach](#):
>
> Awesome! Now do Global SSM Param Store please.

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

---

<div class="post-metadata">

**Author:** ![guywithalamename](https://awshq.com/letter_avatar_proxy/v4/letter/g/3ab097/32.png) [@guywithalamename](https://awshq.com/u/guywithalamename)\
**Post date:** [November 22, 2023, 10:07am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/11 "2023-11-22T10:07:59Z")

</div>

> [@wafflefriesdev](#):
>
> I guess this is to try and get people to stop doing this shit with Route53?

Probably more so a direct competitor to [Cloudflare Workers KV](https://www.cloudflare.com/en-gb/developer-platform/workers-kv/)

---

<div class="post-metadata">

**Author:** ![SwingKitchen6876](https://awshq.com/letter_avatar_proxy/v4/letter/s/ba9def/32.png) [@SwingKitchen6876](https://awshq.com/u/SwingKitchen6876)\
**Post date:** [November 22, 2023, 12:25pm UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/12 "2023-11-22T12:25:18Z")

</div>

What’s pricing like?

---

<div class="post-metadata">

**Author:** ![fd4e56bc1f2d5c01653c](https://awshq.com/letter_avatar_proxy/v4/letter/f/eada6e/32.png) [@fd4e56bc1f2d5c01653c](https://awshq.com/u/fd4e56bc1f2d5c01653c)\
**Post date:** [November 22, 2023, 2:37pm UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/13 "2023-11-22T14:37:39Z")

</div>

> [@redditor\_tx](#):
>
> Are we requesting features? 🙂 I’d like to ingest HTTP API access logs into Firehose and skip CloudWatch.

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

---

<div class="post-metadata">

**Author:** ![8dtfk](https://awshq.com/letter_avatar_proxy/v4/letter/8/85e7bf/32.png) [@8dtfk](https://awshq.com/u/8dtfk)\
**Post date:** [November 22, 2023, 2:48pm UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/14 "2023-11-22T14:48:17Z")

</div>

anything is a database if you try hard enough

---

<div class="post-metadata">

**Author:** ![lifelong1250](https://awshq.com/letter_avatar_proxy/v4/letter/l/3bc359/32.png) [@lifelong1250](https://awshq.com/u/lifelong1250)\
**Post date:** [November 22, 2023, 2:59pm UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/15 "2023-11-22T14:59:14Z")

</div>

> [@redditor\_tx](#):
>
> Are we requesting features? 🙂 I’d like to ingest HTTP API access logs into Firehose and skip CloudWatch.

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

---

<div class="post-metadata">

**Author:** ![erve1879](https://awshq.com/letter_avatar_proxy/v4/letter/e/df788c/32.png) [@erve1879](https://awshq.com/u/erve1879)\
**Post date:** [November 22, 2023, 11:23pm UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/16 "2023-11-22T23:23:52Z")

</div>

> [@kondro](#):
>
> 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.

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).

---

<div class="post-metadata">

**Author:** ![kondro](https://awshq.com/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@kondro](https://awshq.com/u/kondro)\
**Post date:** [November 23, 2023, 12:30am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/17 "2023-11-23T00:30:33Z")

</div>

> [@erve1879](#):
>
> 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 …

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.

---

<div class="post-metadata">

**Author:** ![dennis8844](https://awshq.com/letter_avatar_proxy/v4/letter/d/a4c791/32.png) [@dennis8844](https://awshq.com/u/dennis8844)\
**Post date:** [November 23, 2023, 5:24am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/18 "2023-11-23T05:24:59Z")

</div>

> [@magnetik79](#):
>
> Which you can’t do with CloudFront functions anyway - need to use Lambda@Edge for such cases 👍

Or cloudwatch evidently

---

<div class="post-metadata">

**Author:** ![Few-Philosopher-1699](https://awshq.com/letter_avatar_proxy/v4/letter/f/76d3ee/32.png) [@Few-Philosopher-1699](https://awshq.com/u/Few-Philosopher-1699)\
**Post date:** [November 23, 2023, 8:41pm UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/19 "2023-11-23T20:41:35Z")

</div>

> [@8dtfk](#):
>
> anything is a database if you try hard enough

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

---

<div class="post-metadata">

**Author:** ![yellowlaura](https://awshq.com/letter_avatar_proxy/v4/letter/y/bbce88/32.png) [@yellowlaura](https://awshq.com/u/yellowlaura)\
**Post date:** [November 27, 2023, 12:34am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/20 "2023-11-27T00:34:23Z")

</div>

> [@magnetik79](#):
>
> Which you can’t do with CloudFront functions anyway - need to use Lambda@Edge for such cases 👍

And pay a huge DDB traffic price

---

<div class="post-metadata">

**Author:** ![CheddarMaclean](https://awshq.com/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@CheddarMaclean](https://awshq.com/u/CheddarMaclean)\
**Post date:** [November 29, 2023, 6:17am UTC](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523/21 "2023-11-29T06:17:01Z")

</div>

> [@The\_Kwizatz\_Haderach](#):
>
> Awesome! Now do Global SSM Param Store please.

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

[Next page](https://awshq.com/t/amazon-cloudfront-announces-cloudfront-keyvaluestore-a-globally-managed-key-value-datastore/17523.md?page=2)
