Migrating previous generation nodes - Amazon ElastiCache

Migrating previous generation nodes

Previous generation nodes are node types that are being phased out. If you have no existing clusters using a previous generation node type, ElastiCache does not support the creation of new clusters with that node type. If you have existing clusters, you can continue to use them or create new clusters using the previous generation node type.

Due to the limited amount of previous generation node types, we cannot guarantee a successful replacement when a node becomes unhealthy in your cluster(s). In such a scenario, your cluster availability may be negatively impacted.

We recommend that you migrate your cluster(s) to a new node type for better availability and performance. For a recommended node type to migrate to, see Upgrade Paths. For a full list of supported node types and previous generation node types in ElastiCache, see Supported node types.

Migrating nodes on a Memcached cluster

To migrate ElastiCache for Memcached to a different node type, you must create a new cluster, which always starts out empty that your application can populate.

To migrate your ElastiCache for Memcached cluster node type using the ElastiCache Console:

To modify a Memcached cluster node type using the AWS CLI:

Use the modify-cache-cluster API as shown following:

For Linux, macOS, or Unix:

aws elasticache modify-cache-cluster / --cache-cluster-id my-cache-cluster / --cache-node-type new-node-type / --apply-immediately

For Windows:

aws elasticache modify-cache-cluster ^ --replication-group-id my-cache-cluster ^ --cache-node-type new-node-type ^ --apply-immediately

In this scenario, the value of new-node-type is the node type you are migrating to. By passing the --apply-immediately parameter, the update will be applied immediately when the replication group transitions from modifying to available status. If Apply immediately is not chosen, the migration process is performed during the cluster's next maintenance window.

If nodes are running on EC2-Classic

If your Amazon EC2 nodes are running on EC2-Classic platform, connect to your Memcached cluster from the Amazon EC2 instance using ClassicLink.

Follow these steps to verify if your EC2 is running in EC2-Classic platform (console):

  1. Sign in to the AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Choose Instances in the navigation pane.

  3. Choose your instance and go to Description.

  4. If VPC ID is blank, the instance is running on the EC2-Classic platform.

For information on migrating your EC2-Classic instance to a VPC, see Migrating an EC2-Classic cluster into a VPC.