---
header: Edge Data Storage
lang: en
last_updated: '2026-03-31'
url: https://docs.fastly.com/products/edge-data-storage
---

Compute gives you the option of storing the data you need at the edge as key-value pairs in versionless containers. You can attach these containers to an active service and update the data at any time after it's created, without ever incrementing a service’s version. Additionally, these containers can be shared by multiple [Compute services](https://www.fastly.com/documentation/guides/getting-started/services/working-with-compute-services) in your account.

## Prerequisites

Edge data storage options are only available for Fastly's Compute services, not for VCL-based services.

## Important considerations

- Compute is required to use any of the Edge Data Storage options, and separate Compute charges apply in addition to Edge Data Storage billing. For more information on how Compute is billed, refer to the [Compute product documentation](https://docs.fastly.com/products/compute#billing).
- There is a limit of 100 edge data stores total per account, including [ACLs on Compute](https://www.fastly.com/documentation/reference/api/acls/acls/). To raise this limit, contact your account manager.
- Personal information, secrets, or sensitive data should not be included in edge data stores or incorporated into edge logic other than secrets included in Secret Store.
- We do not maintain version histories of your stores. Our [Compliance and Law FAQ](https://www.fastly.com/trust/faq) describes in detail how Fastly handles personal data privacy.

## Config Store

With fast and secure read performance, [Config Store](https://www.fastly.com/documentation/guides/compute/edge-data-storage/working-with-config-stores) is useful for moving simple functions to the edge. You can store environment variables, redirect lists, and more in Config Store, where they can be shared across services and referenced in your edge logic. A config store might be useful if you:

- have essential data that you don’t want to expire.
- have a small dataset.
- need to make frequent changes to your data.

### Billing

> **NOTE:** Billing limits for this product may be different depending on your [account type](https://www.fastly.com/documentation/guides/account-info/billing/account-types/), if you've purchased a [packaged offering](https://www.fastly.com/package-entitlements/), or are using a [product or feature trial](https://www.fastly.com/documentation/guides/account-info/billing/about-the-products-page).

Config Store is included with your Compute service with the following limitations:

- All accounts include up to five (5) config stores (each having a maximum of 500 entries). You can add additional stores for a monthly fee.
- Write operations to Config Store are limited to 1000 writes per hour. Write limits are shared with all other Fastly API calls. Exceeding the limit will result in an API limit error. Refer to [API rate limiting](https://www.fastly.com/documentation/reference/api/#rate-limiting) for more info.
- Config store keys are limited to 255 characters and their values are limited to 8,000 characters.

## KV Store

[KV Store](https://www.fastly.com/documentation/guides/compute/edge-data-storage/working-with-kv-stores) is a key-value store that provides high performance reads and writes across Fastly’s network to enable powerful edge applications. A KV store might be useful if you:

- require global access to your data from hundreds of POPs.
- require frequent and intensive read operations.
- write or update infrequently (one operation per second, per key).

### Limitations and considerations

KV Store supports 1024 byte UTF-8 files with a maximum size of 25MB but that limit can be raised to 100MB upon request.

### Billing

> **NOTE:** Billing limits for this product may be different depending on your [account type](https://www.fastly.com/documentation/guides/account-info/billing/account-types/), if you've purchased a [packaged offering](https://www.fastly.com/package-entitlements/), or are using a [product or feature trial](https://www.fastly.com/documentation/guides/account-info/billing/about-the-products-page).

Billing for KV Store is based on a combination of total storage charges and data processing operations for the month. Storage is calculated using GB-months rounded to the nearest hour for each object and processing operations are categorized into three groups, each with differing prices:

- **Class A Operations (writes)** include operations like `SetKey`, `CreateStore`, and `UpdateStore`. Free accounts are limited to 250,000 operations per month.
- **Class B Operations (reads)** include operations like `GetKey` and `GetStore`. Free accounts are limited to 5 million operations per month.
- **Free Operations** include operations like `DeleteKey` and `DeleteStore`.

All accounts include two KV stores with the following limitations:

- Storage must not exceed 1GB between both stores.
- Class A Operations are limited to 250,000 per month.
- Class B Operations are limited to 5 million per month.

Use of KV Store is disabled by default for new accounts. Users assigned the superuser role can purchase KV Store by contacting [sales@fastly.com](mailto:sales@fastly.com). Once enabled, any user on your account with the [appropriate permissions](https://www.fastly.com/documentation/guides/account-info/user-access-and-control/configuring-user-roles-and-permissions) will be able to use this product. Additional KV stores and higher storage and operations limits can be purchased as part of an add-on priced in addition to Compute services.

> **IMPORTANT:** Compute is a prerequisite for KV Store, and separate Compute charges may apply once KV Store is enabled. For more information on how Compute is billed, refer to the [Compute product documentation](https://docs.fastly.com/products/compute#billing).

## Secret Store

Fastly Secret Store is a secrets management service that helps you extend protected access to your origins, applications, and other resources on the Fastly edge. This service allows you to store, manage, and access credentials and tokens from your Fastly Compute applications.

A secret store might be useful if you need to securely store:

- Database credentials
- API keys
- Access tokens

### Limitations and considerations

Read operations to Secret Store are limited to 5 reads per Compute Request.

### Billing

> **NOTE:** Billing limits for this product may be different depending on your [account type](https://www.fastly.com/documentation/guides/account-info/billing/account-types/), if you've purchased a [packaged offering](https://www.fastly.com/package-entitlements/), or are using a [product or feature trial](https://www.fastly.com/documentation/guides/account-info/billing/about-the-products-page).

Users assigned the superuser role can purchase Secret Store by enabling it on the [Products page](https://manage.fastly.com/products). Once enabled, any user on your account with the [appropriate permissions](https://www.fastly.com/documentation/guides/account-info/user-access-and-control/configuring-user-roles-and-permissions) will be able to use this product.

> **IMPORTANT:** Compute is a prerequisite for Secret Store, and separate Compute charges may apply once Secret Store is enabled. For more information on how Compute is billed, refer to the [Compute product documentation](https://docs.fastly.com/products/compute#billing).

All accounts include ten (10) total secrets across any number of stores. You can add additional secrets for a monthly fee.

### Security products notice

No security product, including products storing secrets and sensitive information, will detect or prevent all possible attacks or threats. As a subscriber, you should maintain appropriate security controls on all web applications and origins. The use of Fastly's security products and stores does not relieve you of this obligation. As a subscriber, you should test and validate the effectiveness of Fastly's security services to the extent possible prior to deploying them in production, continuously monitor their performance, and adjust these services as appropriate to address changes in your web applications, origin services, and configurations of the other aspects of your Fastly services.
