# Migrate from Amazon EC2 to Amazon ElastiCache Serverless with zero downtime

DevFeed: [Migrate from Amazon EC2 to Amazon ElastiCache Serverless with zero downtime](<https://devfeed.tech/articles/migrate-from-amazon-ec2-to-amazon-elasticache-serverless-with-zero-downtime-129586.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/migrate-from-amazon-ec2-to-amazon-elasticache-serverless-with-zero-downtime/>)

Author: Rong Zhang

Published: 2026-11-11T18:12:18Z

Content type: tutorial

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [Amazon ElastiCache](<https://devfeed.tech/topics/amazon-elasticache.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [downtime](<https://devfeed.tech/topics/downtime.md>), [self-hosted databases vs managed services](<https://devfeed.tech/topics/self-hosted-databases-vs-managed-services.md>)

Tags: [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-elastic-compute-cloud-amazon-ec2](<https://devfeed.tech/tags/amazon-elastic-compute-cloud-amazon-ec2.md>), [amazon-elasticache](<https://devfeed.tech/tags/amazon-elasticache.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cli](<https://devfeed.tech/tags/aws-cli.md>), [aws-command-line-interface-aws-cli](<https://devfeed.tech/tags/aws-command-line-interface-aws-cli.md>), [aws-govcloud-us](<https://devfeed.tech/tags/aws-govcloud-us.md>), [console](<https://devfeed.tech/tags/console.md>), [downtime](<https://devfeed.tech/tags/downtime.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [managed](<https://devfeed.tech/tags/managed.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [migration](<https://devfeed.tech/tags/migration.md>), [online](<https://devfeed.tech/tags/online.md>), [oss](<https://devfeed.tech/tags/oss.md>), [redis](<https://devfeed.tech/tags/redis.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [valkey](<https://devfeed.tech/tags/valkey.md>)

## AI overview

Amazon ElastiCache's online migration lets workloads on self-managed Valkey or Redis OSS on EC2 move to ElastiCache Serverless for Valkey while clients keep using one endpoint. ElastiCache validates the source, provisions migration infrastructure, performs a full data sync followed by replication of writes, then routes the endpoint to the serverless cache at a fully synced window. Cutover can be manual, allowing validation first, or automatic; all shards switch together, and traffic continues through the same endpoint. At launch, serverless migrations require cluster-mode sources running Valkey 7.2-8.1 or Redis OSS 4.0-7.2, and target Valkey 7.2, 8.1, or 9.0 at least as new as the source. Prerequisites include an empty reachable target, TLS-capable clients, and source credentials and CA certificates where applicable. The migration is free for 180 days from the account's first preparation; afterward migration nodes are billed per node-hour, while the serverless cache is charged separately. The source should retain headroom and stable network, credentials, certificates, and shard layout until migration completes.

## Source excerpt

On October 20, 2026, Amazon ElastiCache introduced online migration to ElastiCache Serverless for Valkey from self-managed Valkey and Redis OSS on Amazon EC2 with zero downtime. This post shows what's supported at launch, how online migration works, and how to run a migration in the ElastiCache console.