Heroku Key-Value Store
The key-value datastore you love, with the developer experience you deserve.
The Valkey you love, made better
Heroku Key-Value Store delivers a robust, scalable, and developer-friendly in-memory datastore, compatible with Redis®* OSS. It brings enhanced performance and greater efficiency to supercharge your applications. Heroku Key-Value Store lets you gain greater visibility into performance and better manage your instances with a powerful CLI. Let our experts run your Valkey instance so you can focus on what matters – your app.The developer experience you deserve
Visual performance analytics for instant insight
Performance Analytics surfaces key runtime metrics like the number of calls per command, active connections over time, the number of keys in play, and memory being consumed on a unified time axis. Gain clearer insights into your Valkey usage with new logging capabilities, including a command log for identifying bandwidth-heavy operations.
Real-time, aggregated logging
Fine-grained logs from your Valkey instance join your application’s real-time aggregated log-stream and can be consumed via the new Heroku Key-Value Store CLI plugin or any of the many logging-related Heroku Add-ons.
Powerful CLI experience
Provision, connect, and configure Heroku Key-Value Store from the comfort of your command line with the Heroku CLI. Leverage powerful modules like Valkey Bloom, and ValkeyJSON to unlock entirely new ways to leverage the power and simplicity of Heroku Key-Value Store within your applications.
Valkey you can trust, on Heroku
Advanced Data Capabilities
Unlock advanced data functionalities with powerful modules such as Valkey Bloom and ValkeyJSON. These modules enhance your Heroku KVS instance with capabilities like efficient probabilistic data structures to reduce database load, and native JSON handling for rich data structures and atomic updates.
High availability
Where application uptime is critical, Heroku Key-Value Store Premium plans offer higher availability through low latency failover of your Valkey instance. We’ll take care of uptime, so you can focus on what matters – your app.
Secure Private Connectivity
Seamlessly and securely connect your Heroku Key-Value Store databases in a Private Space to resources in one or more Amazon VPCs, leveraging PrivateLink for enhanced network isolation and data security.
Bring your own key (BYOK)
Deploy a new Valkey service with your own key created and managed in your private AWS KMS account. You can block access from anyone, at any time, by revoking the key, giving you full control and custody of your sensitive data.
Build real-time HIPAA-compliant apps
Use Heroku Shield for Valkey to handle PHI and PII data safely in-memory. Build a new class of real-time apps with strict security and seamless HIPAA compliance, perfect for regulated industries such as Healthcare & Life Sciences and Financial Services.
Operational expertise
The Heroku team has more experience and world-class expertise running large scale key-value data stores as a service than anyone. For years, customers have relied on our managed in-memory data store services for critical use cases like caching, session management, and real-time leaderboards. Let us run your Valkey instance, so you can focus on what you’re great at.
“Heroku Key-Value Store is the gold standard, and we found it to be a natural fit for our service, especially as it meant that we didn’t have to worry about configuration. That’s one of the beautiful things about Heroku.”
Heroku Key-Value Store FAQs
What is Heroku Key-Value Store and is it compatible with Redis®?
Heroku Key-Value Store is a fully managed, secure, and scalable key-value datastore built on the open-source Valkey project. Yes, it maintains high compatibility with Redis® OSS, allowing you to use standard Redis® clients, tools, and drivers without modifying your application code.
Because of its low-latency performance, it is ideal for high-speed use cases. Beyond sub-millisecond caching, it powers high-throughput ephemeral workloads including session storage, real-time leaderboards, and message queuing. Check out our Key-Value Store documentation in the Heroku Dev Center to learn more.
How does Heroku ensure high availability for my key-value store?
Heroku ensures key-value store resilience through Premium, Private, and Shield plans. These plans automatically provision a standby replica in a separate availability zone. In the event of a primary instance failure, the service automatically fails over to the standby, ensuring your application remains online with minimal disruption.
Is Heroku Key-Value Store suitable for applications handling sensitive data like PII or PHI?
Yes, Heroku Shield Key-Value Store provides a HIPAA-compliant environment for processing sensitive data (PII/PHI). These plans enforce strict security controls, including network isolation within a Shield Private Space, encrypted backups, and encryption-in-transit, making them ideal for healthcare, finance, and other regulated industries.
What advanced data modules are available in Heroku Key-Value Store?
Heroku Key-Value Store supports powerful modules to extend functionality beyond simple caching. Available modules include Valkey Bloom for probabilistic data structures (like bloom filters), and ValkeyJSON for storing, updating, and querying complex JSON data natively. These modules allow you to build sophisticated and efficient data-intensive features directly within your key-value store.
How can I monitor the performance of my Key-Value Store instance?
You can monitor your Heroku Key-Value Store instance using Performance Analytics, a visual dashboard in the Heroku CLI and Dashboard that tracks critical runtime metrics like active connections, memory usage, and throughput. Additionally, you can inspect real-time logs to identify slow operations or bandwidth spikes, and integrate with third-party monitoring add-ons for advanced alerting.
Can I use my own encryption keys with Heroku Key-Value Store?
Yes, Heroku Private Key-Value Store and Shield Key-Value Store plans support Bring Your Own Key (BYOK) encryption. This allows you to manage the encryption keys for your data at rest using your own AWS Key Management Service (KMS) account, giving you full custody over key lifecycle and access revocation.
How do I connect Heroku Key-Value Store to resources in AWS?
You can securely connect your Heroku Key-Value Store to external AWS resources (like EC2 or Lambda) using PrivateLink. Available on Private and Shield plans, this feature creates a secure, unidirectional connection that keeps traffic entirely within the AWS private network, bypassing the public internet for enhanced security and lower latency.
Can I use Heroku Key-Value Store for session management?
Yes. Heroku Key-Value Store is an industry-standard solution for session management due to its sub-millisecond latency. By storing user session data in-memory, you ensure fast page loads and a seamless user experience for high-traffic web applications.
Ready to Get Started?
Sign Up Now View Heroku Key-Value Store Plans
*Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by Heroku is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Heroku.