Edge Data Storage
Last updated 2026-03-31
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 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.
- There is a limit of 100 edge data stores total per account, including ACLs on Compute. 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 describes in detail how Fastly handles personal data privacy.
Config Store
With fast and secure read performance, Config Store 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, if you've purchased a packaged offering, or are using a product or feature trial.
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 for more info.
- Config store keys are limited to 255 characters and their values are limited to 8,000 characters.
KV Store
KV Store 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, if you've purchased a packaged offering, or are using a product or feature trial.
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, andUpdateStore. Free accounts are limited to 250,000 operations per month. - Class B Operations (reads) include operations like
GetKeyandGetStore. Free accounts are limited to 5 million operations per month. - Free Operations include operations like
DeleteKeyandDeleteStore.
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. Once enabled, any user on your account with the appropriate 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.
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, if you've purchased a packaged offering, or are using a product or feature trial.
Users assigned the superuser role can purchase Secret Store by enabling it on the Products page. Once enabled, any user on your account with the appropriate 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.
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.