Saturday, May 17, 2025
News PouroverAI
Visit PourOver.AI
No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
News PouroverAI
No Result
View All Result

Introducing Amazon CloudFront KeyValueStore: A low-latency datastore for CloudFront Functions

November 21, 2023
in Cloud & Programming
Reading Time: 2 mins read
0 0
A A
0
Share on FacebookShare on Twitter



Amazon CloudFront enables you to securely deliver static and dynamic content with fast transfer speeds and minimal latency. With CloudFront Functions, you can customize millions of requests per second by performing latency-sensitive actions such as modifying headers, rewriting URLs, normalizing cache keys, and authorizing requests. We are excited to introduce CloudFront KeyValueStore, a global, secure, and low-latency key-value datastore that allows read access from within CloudFront Functions. This enables advanced customization at the CloudFront edge locations.

Previously, you had to embed configuration data within the function code, which meant that even small changes in configuration required code redeployment. This approach introduced the risk of unintentional code changes and had a maximum function size limitation of 10 KB, making it challenging to include all necessary data within the code.

With CloudFront KeyValueStore, you can now update the data associated with a function independently from the function code. This simplifies the code and allows for easy data updates without the need for code deployment. Here’s how it works:

1. Creating a CloudFront key-value store:
– Go to the CloudFront console and select “Functions” from the navigation pane.
– In the KeyValueStores tab, click on “Create KeyValueStore”.
– Optionally, you can import key-value pairs from a JSON file in an Amazon S3 bucket.
– Enter a name and description for the key-value store and complete the creation process.
– Once created, click on “Edit” in the Key value pairs section and then “Add pair”.
– Enter a key and its corresponding value, and save the changes.

2. Using CloudFront KeyValueStore from CloudFront Functions:
– In the CloudFront console, select “Functions” from the navigation pane and click on “Create function”.
– Provide a name for the function, select the cloudfront-js-2.0 runtime, and complete the creation process.
– Associate the key-value store with the function using the provided option.
– Copy the key-value store ID from the console and use it in the function code.
– Save the changes and publish the function.
– In the Publish tab, associate the function with a CloudFront distribution.
– Choose the Viewer Request event type and Default (*) cache behavior to intercept all requests to the distribution.
– Wait for the function to be deployed.
– Use curl or similar tools to test the function by making requests to the CloudFront distribution.

By separating configuration data from code, you gain flexibility in managing and updating your functions. CloudFront KeyValueStore is available in all global edge locations, and you only pay for the read/write operations from the public API and read operations from within CloudFront Functions. The maximum size of a key-value store is 5 MB, and you can associate a single key-value store with each function. Importing key-value data during creation is supported and can be done using a JSON structure in an Amazon S3 source file. AWS CloudFormation support for CloudFront KeyValueStore is coming soon.



Source link

Tags: AmazonCloudFrontdatastorefunctionsIntroducingKeyValueStorelowlatency
Previous Post

Home Automation 32CH Distribution Board DIY Smart Home IOT Project 2020

Next Post

c programming | c programming for beginners | c programming tutorial | c language | #shorts

Related Posts

Top 20 Javascript Libraries You Should Know in 2024
Cloud & Programming

Top 20 Javascript Libraries You Should Know in 2024

June 10, 2024
Simplify risk and compliance assessments with the new common control library in AWS Audit Manager
Cloud & Programming

Simplify risk and compliance assessments with the new common control library in AWS Audit Manager

June 6, 2024
Simplify Regular Expressions with RegExpBuilderJS
Cloud & Programming

Simplify Regular Expressions with RegExpBuilderJS

June 6, 2024
How to learn data visualization to accelerate your career
Cloud & Programming

How to learn data visualization to accelerate your career

June 6, 2024
BitTitan Announces Seasoned Tech Leader Aaron Wadsworth as General Manager
Cloud & Programming

BitTitan Announces Seasoned Tech Leader Aaron Wadsworth as General Manager

June 6, 2024
Copilot Studio turns to AI-powered workflows
Cloud & Programming

Copilot Studio turns to AI-powered workflows

June 6, 2024
Next Post
c programming | c programming for beginners | c programming tutorial | c language | #shorts

c programming | c programming for beginners | c programming tutorial | c language | #shorts

Latest Tech Websites

Latest Tech Websites

Suzlon Energy: Next Success Story OR Another Flop Show?

Suzlon Energy: Next Success Story OR Another Flop Show?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest
Is C.AI Down? Here Is What To Do Now

Is C.AI Down? Here Is What To Do Now

January 10, 2024
Porfo: Revolutionizing the Crypto Wallet Landscape

Porfo: Revolutionizing the Crypto Wallet Landscape

October 9, 2023
23 Plagiarism Facts and Statistics to Analyze Latest Trends

23 Plagiarism Facts and Statistics to Analyze Latest Trends

June 4, 2024
A Complete Guide to BERT with Code | by Bradney Smith | May, 2024

A Complete Guide to BERT with Code | by Bradney Smith | May, 2024

May 19, 2024
Part 1: ABAP RESTful Application Programming Model (RAP) – Introduction

Part 1: ABAP RESTful Application Programming Model (RAP) – Introduction

November 20, 2023
Saginaw HMI Enclosures and Suspension Arm Systems from AutomationDirect – Library.Automationdirect.com

Saginaw HMI Enclosures and Suspension Arm Systems from AutomationDirect – Library.Automationdirect.com

December 6, 2023
Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

June 10, 2024
AI Compared: Which Assistant Is the Best?

AI Compared: Which Assistant Is the Best?

June 10, 2024
How insurance companies can use synthetic data to fight bias

How insurance companies can use synthetic data to fight bias

June 10, 2024
5 SLA metrics you should be monitoring

5 SLA metrics you should be monitoring

June 10, 2024
From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

June 10, 2024
UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

June 10, 2024
Facebook Twitter LinkedIn Pinterest RSS
News PouroverAI

The latest news and updates about the AI Technology and Latest Tech Updates around the world... PouroverAI keeps you in the loop.

CATEGORIES

  • AI Technology
  • Automation
  • Blockchain
  • Business
  • Cloud & Programming
  • Data Science & ML
  • Digital Marketing
  • Front-Tech
  • Uncategorized

SITEMAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2023 PouroverAI News.
PouroverAI News

No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing

Copyright © 2023 PouroverAI News.
PouroverAI News

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In