Amazon MemoryDB vs Redis: when each option fits
If your AWS renewal or cost review has you weighing a Redis-compatible store, start with where the data must live. Amazon MemoryDB fits when you want AWS to operate the durable layer: its Multi-AZ transaction log keeps writes durable across zones, AWS manages encryption at rest and in transit, private VPC endpoints keep client traffic inside your network, and IAM authentication sits alongside other authentication options. Self-hosted Redis or Valkey fits when data must stay in client-run infrastructure, when license terms for a specific Redis release matter to your legal team, or when your platform team already runs stateful systems and wants this one on its own servers. Neither path removes the operating work. Each one assigns failover, patching and durability duties to a different party.
Data location is the first filter. List the regions, AWS accounts and jurisdictions the data may occupy, including replicas, snapshots and backups, then confirm that a managed MemoryDB deployment in an approved region meets that rule. Self-hosting settles who operates the infrastructure but raises a second question: who keeps it running. Your team owns failover, patching, backup verification and restore tests. Redis Sentinel provides failover for deployments that do not use Redis Cluster, and its documentation calls for at least three Sentinel instances, so plan monitoring, on-call coverage and a tested runbook before cutover. Ask your architects how much acknowledged write loss the design accepts, and compare that answer with the durability AWS describes for MemoryDB.
The last two filters are the target engine and write volume. Confirm the exact Redis or Valkey version your application documents. Valkey is BSD licensed and compatible with Redis OSS 7.2 and earlier, Redis 7.4 through 7.8 use a dual RSALv2 or SSPLv1 license, and Redis 8 adds AGPLv3 as an option, so the version your license team has already approved may decide the answer. Recent Adobe Commerce requirement tables list Valkey as the cache dependency and omit Redis, which suggests some application vendors now document Valkey first. Then model write volume. The AWS MemoryDB pricing page lists data written at $0.20 per GB for Redis OSS, while its Valkey example shows no charge up to 10 TB per month, so write-heavy workloads can shift which engine costs less. Ask AWS for a quote built on your own write rate, and compare it with the staff hours a self-hosted cluster would consume.
Which Amazon MemoryDB vs Redis option fits your team
This table maps common situations to the option that usually fits them, comparing Amazon MemoryDB with self-hosted Valkey and Redis Open Source. Read each row by checking its condition against your own environment, since one requirement such as data location or engine version can settle the choice. The main takeaway is that MemoryDB suits teams that want AWS to run the database, while self-hosting suits teams that need data control, a specific engine version or particular licensing terms.
| Scenario | Better fit | Condition that makes the fit hold |
|---|---|---|
| No database operations staff on AWS | Amazon MemoryDB | Your team wants AWS to run the nodes, failover and Multi-AZ transaction log, and AWS-only hosting is acceptable. |
| Data must stay in your data center or air-gapped network | Self-hosted Valkey or Redis Open Source | MemoryDB has no self-managed edition, so it cannot run inside your own facilities. |
| Cost review driven by data written and snapshot charges | Self-hosted Valkey, after a side-by-side model | Write volume and snapshot retention are large enough that the data written and snapshot charges on the AWS pricing page change the total. |
| Application pinned to Redis 7.2 or earlier | Valkey or Redis OSS 7.2, self-hosted | Redis 7.2.x and earlier are BSD-3-Clause, and Valkey is compatible with them. Confirm MemoryDB offers your engine version. |
| Application needs Redis Open Source 8 features such as JSON or the Redis Query Engine | Self-hosted Redis Open Source 8 | Redis 8 includes JSON and the Redis Query Engine. Confirm the MemoryDB engine and modules support your exact feature set first. |
| Team standardizing on Valkey | Self-hosted Valkey | You want a BSD-licensed engine under Linux Foundation governance on the same software in every environment, including your own servers. |
Does self-hosted Redis keep data as durable as MemoryDB?
MemoryDB's durability is a design that AWS operates on your behalf. AWS states that Amazon MemoryDB stores data durably in a Multi-AZ transaction log, and it attributes 99.99% availability, near instantaneous recovery and no data loss to that design. Your team does not configure the log, choose the zones it spans or manage the recovery path, so the evidence for those claims is AWS's documentation and service terms. Self-hosted Redis moves those decisions to your team. Durability there is a set of settings you choose and operate: whether persistence is enabled, how writes reach disk, how often snapshots are taken, and where copies of the data live.
On self-hosted Redis, the controls that matter most are the appendonly and save settings, which determine how much recent write activity could be lost after a crash, and the placement of replicas. A replica on the same host as the primary protects against a process failure but not a host failure, so replicas should sit on separate hosts and, where your platform allows, in separate availability zones. For failover without Redis Cluster, run Redis Sentinel. The Sentinel documentation says a sound deployment needs at least three Sentinel instances, placed so they do not share a failure domain with the primary. Sentinel promotes a replica, but your application clients must also reconnect to the new primary, and that path needs testing.
Do not treat either vendor's figures as the answer for your environment. Confirm recovery point and failover behavior with your own tests: stop the Redis process on the primary, stop the whole host, and simulate the loss of a zone. Measure how many acknowledged writes are missing afterward and how long the application takes to resume writing. Run the same tests against MemoryDB in a nonproduction account so both options are measured the same way. Record the results in the design review, because they show whether the self-hosted setup meets your recovery requirements and whether your team can operate it during an incident.
How Amazon MemoryDB vs Redis compares on capabilities
This table compares what Amazon MemoryDB provides as a managed service with what a self-hosted Redis or Valkey deployment requires your team to configure and operate. Read the self-hosted column as work your team owns, and treat AWS figures as vendor statements to verify in your own environment. The main takeaway is that AWS documents MemoryDB's durability, scale and managed controls, while self-hosted equivalents depend on the design, hardware and operating practices you choose.
| Capability | Amazon MemoryDB | Self-hosted Redis or Valkey |
|---|---|---|
| Redis OSS and Valkey compatibility | Compatible with both Valkey and Redis OSS. | Valkey is compatible with Redis OSS 7.2 and earlier. Confirm command and client support for newer Redis OSS releases. |
| Data durability model | AWS stores data in a Multi-AZ transaction log, with near instantaneous recovery without data loss. | Durability depends on the persistence and replication settings your team configures. Confirm the write and recovery behavior in a failure test. |
| High availability | AWS states 99.99% availability for the Multi-AZ design. Confirm the terms in the service documentation. | Redis Sentinel provides failover for deployments that do not use Redis Cluster, and needs at least three Sentinel instances. |
| Scale | AWS states hundreds of millions of requests per second and over one hundred terabytes of storage per cluster. | Limits depend on hardware, topology and design. Load test your own workload to find the ceiling. |
| Encryption at rest and in transit | AWS lists encryption at rest and in transit as part of the service. | Your team configures TLS and storage encryption. Confirm the settings in your deployment and in an audit. |
| Private network access | AWS lists private VPC endpoints for access inside your network. | Runs inside your own network segments, with access limited by your firewall and network design. |
| Authentication | Multiple mechanisms, including IAM authentication. Confirm which options apply to your client libraries. | Access controls your team configures, such as ACL users and passwords. Confirm the options for your version. |
| Redis Open Source 8 features | Confirm with AWS which Redis OSS 8 data types and search features are available. | Redis 8 includes JSON, time series, probabilistic structures, vector sets in beta and Redis Query Engine. |
| Self-managed editions | No self-managed edition. MemoryDB is an AWS managed service. | Open source Redis and Valkey run on your servers. Redis Software is a commercial, self-managed product. |
Where Redis data lives and who holds the keys
The hosting model decides who can reach the data, who manages encryption keys and who produces the evidence that a review asks for. Amazon MemoryDB keeps those answers inside AWS services, while a self-hosted Redis or Valkey deployment moves them into your own environment. The cards below set out what to check on each side.
Data location and hosting
Amazon MemoryDB runs as an AWS managed service with no self-managed edition described on its product page, so its data stays inside AWS infrastructure. A self-hosted Redis or Valkey deployment can run in your AWS account, your own data center or an air-gapped network, which gives you control over the boundary, so confirm which Regions, accounts and backup locations your data classification allows.
MemoryDB product pageIdentity and access
Amazon MemoryDB supports multiple authentication mechanisms, including IAM authentication, so access follows the identity controls you already run in AWS. On self-hosted Redis, the team configures access controls itself, and whether those controls integrate with your SSO provider is something your team must confirm before the design is approved, and each application role should map to a named permission set.
Encryption and key management
AWS lists encryption at rest and in transit for Amazon MemoryDB, and private VPC endpoints are available for network paths. With a self-hosted deployment, you own key handling end to end, including key generation, rotation, storage and the TLS configuration on every node, so the key custody model, including who approves a key change, must be written down before go-live.
Audit and compliance evidence
DeployOpen prepares the controls, configuration records and evidence that an assessment will ask for, on either platform, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those reports, so ask your assessor in writing which evidence they accept from managed AWS services and which they expect from the self-hosted Redis hosts you operate.
Vendor dependence and exit
Amazon MemoryDB operates inside AWS services, so changing platforms later means exporting data and rebuilding the operating model on another stack, and its service terms are set by AWS. A Redis-compatible deployment that you run yourself can move between hosts and clouds, provided you choose a license and version that fit your plans, since Redis 8 offers AGPLv3 alongside RSALv2 and SSPLv1, and Valkey is BSD-licensed.
Redis license termsWhich Redis license applies, and what Valkey changes
The license that applies to self-hosted Redis depends on the version you deploy, so pin the version before you read any license text. Redis 7.2 and earlier remain under BSD-3-Clause, an OSI-approved permissive license. Versions 7.4.x through 7.8.x moved in March 2024 to a dual license, RSALv2 or SSPLv1, and neither of those is OSI-approved. The license page cites managed service providers as the reason for the change. Redis Open Source 8.0 and later add AGPLv3 as a third option, so for those releases you choose among RSALv2, SSPLv1 and AGPLv3. The Redis licenses page is the primary source for these terms, and your legal team should document which option it relies on for Redis 8.
Valkey gives you a BSD option that does not depend on the Redis release line. It is a BSD-licensed key/value datastore backed by the Linux Foundation, and it includes BSD-licensed Redis code. Valkey is compatible with Redis OSS 7.2 and earlier, so the target version still drives the license path: a workload pinned to 7.2 or older can point at Valkey for BSD terms, while a workload that depends on 7.4 or later features must be checked against the license for those releases. Two items need attention. Intel SVS-VAMANA vector optimizations in Redis Open Source are closed source and usable only when Redis Open Source is distributed under RSALv2. Adobe's Magento Open Source requirements list Valkey 8.1 for 2.4.8-p5 and Valkey 9 for 2.4.9, with no Redis row, so an ecommerce stack may already document Valkey as its cache.
Start with three checks before you pick a target. First, record the engine and version used by your application, your client libraries and your Amazon MemoryDB clusters, because that version selects the license path. Second, check whether you rely on Intel SVS-VAMANA vector optimizations, since that code is usable only under RSALv2 within Redis Open Source. Third, ask your legal team to confirm which license fits your hosting model, including whether you embed the datastore in a product you distribute or offer it to customers as a service. Document the answer for each environment, because a staging cluster and a production cluster can target different versions during a migration.
What each side charges for, and what drives it up
Amazon MemoryDB bills for node hours, data written and retained snapshots, while self-hosted Redis moves the spend to compute, storage, backup and staff time you control. The figures below are AWS pricing examples, and rates change, so confirm current numbers with AWS before comparing totals.
MemoryDB node instance-hours
AWS bills each node by the instance-hour, so node type, shard count and replicas per shard set the recurring base. AWS's pricing example uses db.r6g.xlarge at $0.432 per hour, which is an illustrative rate. Reserved nodes on one-year or three-year terms change the hourly rate in exchange for a commitment, so model your node count for the full term before you sign. Confirm current rates with AWS.
AWS MemoryDB pricingData written and snapshot storage
Data written is a separate meter from node hours, so write-heavy workloads raise the bill even when node sizes stay flat. AWS lists Redis OSS data written at $0.20 per GB, and its Valkey example shows $0 up to 10 TB per month, so the engine you choose can change this line. Snapshot storage is billed at a $0.021 per GB-month example rate, so retention windows and snapshot frequency affect the stored volume. Ask AWS which engine and retention settings apply to your account.
Primary, replica and Sentinel compute
You pay your cloud provider or hardware vendor for the primary, replica and Sentinel nodes, and that spend recurs for as long as the cluster runs. Sizing follows dataset size, write rate and the replica count you need for failover. The Redis Sentinel docs say a deployment needs at least three Sentinel instances, so budget for three small nodes even when the data set is modest. Ask your infrastructure team to price reserved or committed capacity in your own environment.
Redis Sentinel docsBackup storage in your account
Backups land in storage you own, so the bill covers the object or block capacity, any transfer charges if you copy them off-site, and the staff who test restores. Retention length and backup frequency set the stored volume. Confirm where backups are written, who holds the keys and how long copies persist. Restore tests use staff time and capacity, so ask that they appear in the written scope.
Staff time for operations
Setup is one-time staff time, while patching, failover testing and monitoring recur on the self-hosted side. Under MemoryDB, AWS handles the service operations, so your team's labor shifts from running the service to configuring and using it. Your cost depends on how many engineers already run Redis or Valkey, how often you patch and how often you rehearse failover. Ask your team to estimate hours per month for each task, since their skills and on-call rotation set the total.
Implementation services from written scope
Migration, hardening and the first deployment are usually one-time work, and you can buy them from an internal team or an implementation partner. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and the quote follows from that scope. Ask every bidder to list the deliverables, the failover and restore tests and the handover documentation. Upgrades and continuous testing recur if you add a retainer.
What moving from Amazon MemoryDB to self-hosted Redis involves
A move from Amazon MemoryDB to self-hosted Redis is a sequence of compatibility, data and access changes, and each step closes with a check you can record. The MemoryDB cluster stays in service as the fallback until the self-hosted service has carried live traffic and a rollback window has been agreed in writing.
Inventory every client and target version
Your team and the application owners list every service, batch job, admin script, monitoring agent and vendor product that connects to the MemoryDB cluster. For each one, record the client library and the Redis OSS or Valkey version it targets, since some vendors now document Valkey as the cache dependency. Include scheduled and one-off connections, because these are the ones most often missed. The step is done when every connection has a named owner, a client version and a chosen target engine in one shared register.
Check command, module and cluster compatibility
Your engineers check every command, data type, module and cluster setting in the register against the target's own documentation. Valkey is compatible with Redis OSS 7.2 and earlier, and Redis Open Source 8 includes JSON, time series, probabilistic structures and the Redis Query Engine, so confirm which of these your code depends on. Confirm whether each client expects cluster mode, because Sentinel provides high availability only for deployments that do not use Redis Cluster. Redis 7.4 to 7.8 use a dual license that is not OSI-approved, while Redis 8 adds AGPLv3, so confirm the version and license with counsel. The step is done when a written compatibility matrix, signed by the application owners, lists every gap and its fix.
Confirm the export and snapshot path
Ask AWS in writing how a copy of your data can leave MemoryDB, including the snapshot formats, export methods and permissions that apply to your account and region, and what an export does to a live cluster. Confirm how snapshot storage and data written are billed during the parallel period, since MemoryDB pricing charges for both. Ask how the encryption keys protecting the data can be handled by your own team after the copy. The step is done when AWS has answered these questions in writing and your team has documented the export runbook and its required permissions.
Build and test the self-hosted topology
Your platform team builds the target topology in your own cloud accounts, data center or air-gapped network. Choose Sentinel for high availability when clients do not use Redis Cluster, and plan at least three Sentinel instances, as the Sentinel documentation requires. Replace IAM-based access with the target's own authentication model, store credentials in your secrets manager and enable TLS. Because MemoryDB's durability comes from its Multi-AZ transaction log, test persistence and failover against the data loss your business accepts. The step is done when a failover test passes and every client connects with a non-IAM credential.
Load data and run shadow reads
Restore the exported copy into the self-hosted topology, then keep it current using the method confirmed in the export step. Mirror a share of production read traffic to the new service, compare its responses with MemoryDB, and log every mismatch, including key counts, data types and expiry behavior. If the design uses dual writes, the application change and its tests belong to this step. Time a full restore and a node rebuild. The step is done when the mismatch log stays empty through the agreed parallel period and the business owners accept the results in writing.
Cut over with planned connection and TLS changes
Agree a change window with each application owner, then change connection strings, endpoints, TLS settings and credentials in one planned release per service, starting with the lowest-risk client. Keep MemoryDB as the source of record for each service until its new path has run cleanly. Confirm that clients validate the certificate chain of the self-hosted endpoints, and that private network routing replaces the VPC endpoints used today. The step is done when every client reads and writes against the self-hosted topology and monitoring shows no unexplained errors.
Retire MemoryDB after a written rollback window
Hold the MemoryDB cluster in a state the rollback plan allows through a rollback window that the change board and application owners agree in writing. Test the rollback steps before cutover, and record the triggers for rollback and who may invoke them. When the window closes without rollback, take a final snapshot, retain it under your retention policy, delete the cluster and revoke the IAM roles and policies that only it used. The step is done when the deletion record, retained snapshot location and credential revocation are filed with your compliance team.
How to decide between MemoryDB and self-hosted Redis
The decision starts with data location. If the data must stay in infrastructure you run, the path goes straight to self-hosted Redis. If it does not have to, the next question is whether your team can run failover, patching and backups. A team that can take on that work follows the self-hosted path. A team that cannot follows the MemoryDB branch and schedules a written evaluation. On the self-hosted path, the target version decides the software: applications that target Redis OSS 7.2 or earlier should check Valkey compatibility, while teams that need JSON or the Redis Query Engine should review Redis Open Source 8 and its license choice before going further.
Decision path from data location to the next check for each Redis option.
Questions buyers ask before moving from Amazon MemoryDB
What drives the cost of self-hosting Redis compared with MemoryDB?
The comparison turns on which costs you carry yourself after the move. MemoryDB charges per node instance-hour, offers reserved nodes on one-year or three-year terms, and also bills for data written and snapshot storage. AWS's pricing example uses db.r6g.xlarge at $0.432 per hour, and its Redis OSS example lists data written at $0.20 per GB. Self-hosted costs include compute and memory for each node, replicas placed across failure domains, block storage for persistence, backup storage, monitoring, and the staff who patch, upgrade and test failover. Open-source licenses carry no per-node fee, so most recurring spend moves to infrastructure and people. Ask any quote to separate one-time migration work from these recurring items, and to show the assumptions behind each one.
Can our own database team move from MemoryDB to self-hosted Redis?
Yes, if your team already runs stateful services and can own patching, failover, backups and restore testing. The move depends on skills in Redis replication, high availability design, access control lists, TLS and application connection handling. Outside Redis Cluster, the Redis Sentinel documentation says a robust deployment needs at least three Sentinel instances, so plan that third node and its placement early. Teams that have not operated Redis before often underestimate cutover rehearsal and rollback. Before you decide, check whether your team has the time and on-call coverage for this work. A fixed-scope engagement can plan, implement and document the deployment while your staff learn to run it.
What do we need to provide for a MemoryDB to Redis move?
Four inputs matter most, and they should be in place before work starts.
- Named owners for the database, each application that connects to it, security approvals and the business sign-off on cutover.
- A test environment that matches production topology, client library versions and typical traffic patterns.
- An agreed maintenance window for cutover, with written rollback criteria.
- Application connection changes, including new endpoints, TLS settings, and the move from IAM authentication to Redis access control lists or other credentials your security team approves.
Ask the engagement scope to name who on your side approves each item and how long those approvals take in your change process.
How long does a move from Amazon MemoryDB take?
The timeline depends on scope, and no duration is published here, so ask for one in the written scope. The main drivers are the number of clusters and applications that connect, the data volume and how it is copied, whether you use cluster mode or modules, how many environments must be tested, and how many approval gates your change process requires. Cutover planning often takes as much schedule as the data copy itself. Any MemoryDB reserved node term or contract end date may set a practical deadline, so confirm those dates with your AWS account team. Agree the cutover window and rollback plan early, because they set the pace for the whole project.
Will our data and Redis features carry over from MemoryDB?
Redis-compatible data and commands usually move, but you must confirm each feature your applications use against the self-hosted version. AWS describes MemoryDB as Valkey and Redis OSS compatible, so check command coverage for your workload first. Durability needs separate review, because MemoryDB writes through a Multi-AZ transaction log, and your self-hosted persistence and replica settings must meet the write guarantees your application expects. Confirm whether you use JSON, time series, vector sets or the Redis Query Engine, since Redis 8 bundles these and vector sets are in beta. The Intel SVS-VAMANA optimizations are closed source and usable only under RSALv2, so check whether you depend on them. Test snapshot export and restore on your own data before cutover.
Does choosing Valkey or Redis 8 change the license?
Yes, the choice changes the license terms, and Valkey is the simpler BSD option. Valkey is a BSD-licensed datastore backed by the Linux Foundation and is compatible with Redis OSS 7.2 and earlier. Redis 7.4.x through 7.8.x use a dual RSALv2 or SSPLv1 license, and neither is OSI-approved. From Redis 8.0, you can choose RSALv2, SSPLv1 or AGPLv3, and Redis 8.0 became available on May 2, 2025. Redis 7.2.x and earlier remain under BSD-3-Clause. Pick the version that your applications support, then have legal counsel confirm which license terms apply to your deployment. You can review the current terms on the Redis licenses page.
How does DeployOpen scope and support a MemoryDB to Redis engagement?
Most engagements are fixed-scope, and scope, deliverables and timelines are agreed in writing before work starts. A quote follows from that written scope, and DeployOpen does not publish a price list. A typical scope covers the target design, implementation of the self-hosted platform in your cloud accounts or data centers, application connection changes, migration rehearsal, cutover support, backup setup and documentation. Security testing and compliance evidence can be added as separate deliverables if your review requires them. After cutover, ongoing support, upgrades and continuous testing are available as retainers. Ask for the scope to list each deliverable, who signs off on it, and what support is included once the platform is live.
How DeployOpen helps evaluate, implement or migrate Redis
DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Amazon MemoryDB vs Redis, that means scoping the Redis deployment, the MemoryDB data and the cutover conditions before any work starts, then delivering the system with the controls and evidence your compliance and security teams need to review.
How we scope
- The written scope names which MemoryDB clusters, snapshots, users and applications are in the Redis move.
- Scope also records the Redis version line, license choice and whether Valkey or Redis 8 fits your apps.
- Engagements are fixed-scope, and the agreed scope, deliverables and timelines are written down before work starts.
How we build
- Build a self-hosted Redis or Valkey environment in your infrastructure with access control, encryption and network restrictions configured.
- Configure high availability for the Redis topology you choose, including Sentinel for non-cluster deployments, and test failover.
- Map MemoryDB's Multi-AZ transaction log durability to the persistence and replication settings you choose for Redis.
How we hand over
- Deliver architecture diagrams, runbooks, configuration records and backup and restore procedures for your own storage.
- Document the cutover plan, rollback steps and client connection changes for each MemoryDB application.
- Provide compliance evidence, such as access settings, logging and change records, for your security and audit teams to review.
How we support
- Ongoing support, upgrades, backups and continuous testing are available as retainers after handover.
- Redis releases, including the 8.x line, can be planned and tested in a test environment before rollout.
- Ask in the written scope how retesting after each change is covered and who signs off on fixes.

