Event Notifications and Amazon SNS
ElastiCache can publish messages using Amazon Simple Notification Service (SNS) when significant events happen on a cache cluster. This feature can be used to refresh the server-lists on client machines connected to individual cache node endpoints of a cache cluster.
Note
For more information on Amazon Simple Notification Service (SNS), including
information on pricing and links to the Amazon SNS documentation, see the Amazon SNS product page
Notifications are published to a specified Amazon SNS topic. The following are requirements for notifications:
-
Only one topic can be configured for ElastiCache notifications.
-
The AWS account that owns the Amazon SNS topic must be the same account that owns the cache cluster on which notifications are enabled.
-
The Amazon SNS topic you are publishing to cannot be encrypted.
Note
It is possible to attach an encrypted (at-rest) Amazon SNS topic to the cluster. However, the status of the topic from the ElastiCache console will show as inactive, which effectively disassociates the topic from the cluster when ElastiCache pushes messages to the topic.
-
The Amazon SNS topic has to be in the same Region as the ElastiCache cluster.
ElastiCache Events
The following ElastiCache events trigger Amazon SNS notifications. For information on event details, see Viewing ElastiCache events.
Event Name | Message | Description |
---|---|---|
ElastiCache:AddCacheNodeComplete |
ElastiCache:AddCacheNodeComplete :
|
A cache node has been added to the cache cluster and is ready for use. |
ElastiCache:AddCacheNodeFailed due to insufficient free IP addresses |
ElastiCache:AddCacheNodeFailed :
|
A cache node could not be added because there are not enough available IP addresses. |
ElastiCache:CacheClusterParametersChanged |
ElastiCache:CacheClusterParametersChanged :
|
One or more cache cluster parameters have been changed. |
ElastiCache:CacheClusterProvisioningComplete |
ElastiCache:CacheClusterProvisioningComplete
|
The provisioning of a cache cluster is completed, and the cache nodes in the cache cluster are ready to use. |
ElastiCache:CacheClusterProvisioningFailed due to incompatible network state |
ElastiCache:CacheClusterProvisioningFailed :
|
An attempt was made to launch a new cache cluster into a nonexistent virtual private cloud (VPC). |
ElastiCache:CacheClusterScalingComplete |
|
Scaling for cache-cluster completed successfully. |
ElastiCache:CacheClusterScalingFailed |
ElastiCache:CacheClusterScalingFailed : |
Scale-up operation on cache-cluster failed. |
ElastiCache:CacheClusterSecurityGroupModified |
ElastiCache:CacheClusterSecurityGroupModified :
|
One of the following events has occurred:
|
ElastiCache:CacheNodeReplaceStarted |
ElastiCache:CacheNodeReplaceStarted :
|
ElastiCache has detected that the host running a cache node is degraded or unreachable and has started replacing the cache node. NoteThe DNS entry for the replaced cache node is not changed. In most instances, you do not need to refresh the server-list for your clients when this event occurs. However, some cache client libraries may stop using the cache node even after ElastiCache has replaced the cache node; in this case, the application should refresh the server-list when this event occurs. |
ElastiCache:CacheNodeReplaceComplete |
ElastiCache:CacheNodeReplaceComplete :
|
ElastiCache has detected that the host running a cache node is degraded or unreachable and has completed replacing the cache node. NoteThe DNS entry for the replaced cache node is not changed. In most instances, you do not need to refresh the server-list for your clients when this event occurs. However, some cache client libraries may stop using the cache node even after ElastiCache has replaced the cache node; in this case, the application should refresh the server-list when this event occurs. |
ElastiCache:CacheNodesRebooted |
ElastiCache:CacheNodesRebooted :
|
One or more cache nodes has been rebooted. Message (Memcached):
|
ElastiCache:CertificateRenewalComplete (Valkey or Redis OSS only) |
ElastiCache:CertificateRenewalComplete
|
The Amazon CA certificate was successfully renewed. |
ElastiCache:CreateReplicationGroupComplete |
ElastiCache:CreateReplicationGroupComplete :
|
The replication group was successfully created. |
ElastiCache:DeleteCacheClusterComplete |
ElastiCache:DeleteCacheClusterComplete :
|
The deletion of a cache cluster and all associated cache nodes has completed. |
ElastiCache:FailoverComplete (Valkey or Redis OSS only) |
|
Failover over to a replica node was successful. |
ElastiCache:ReplicationGroupIncreaseReplicaCountFinished |
ElastiCache:ReplicationGroupIncreaseReplicaCountFinished :
|
The number of replicas in the cluster has been increased. |
ElastiCache:ReplicationGroupIncreaseReplicaCountStarted |
ElastiCache:ReplicationGroupIncreaseReplicaCountStarted :
|
The process of adding replicas to your cluster has begun. |
ElastiCache:NodeReplacementCanceled |
ElastiCache:NodeReplacementCanceled :
|
A node in your cluster that was scheduled for replacement is no longer scheduled for replacement. |
ElastiCache:NodeReplacementRescheduled |
ElastiCache:NodeReplacementRescheduled :
|
A node in your cluster previously scheduled for replacement has been rescheduled for replacement during the new window described in the notification. For information on what actions you can take, see Replacing nodes (Valkey and Redis OSS). |
ElastiCache:NodeReplacementScheduled |
ElastiCache:NodeReplacementScheduled :
|
A node in your cluster is scheduled for replacement during the window described in the notification. For information on what actions you can take, see Replacing nodes (Valkey and Redis OSS). |
ElastiCache:RemoveCacheNodeComplete |
ElastiCache:RemoveCacheNodeComplete :
|
A cache node has been removed from the cache cluster. |
ElastiCache:ReplicationGroupScalingComplete |
|
Scale-up operation on replication group completed successfully. |
ElastiCache:ReplicationGroupScalingFailed |
|
Scale-up operation on replication group failed. |
ElastiCache:ServiceUpdateAvailableForNode |
|
A self-service update is available for the node. |
ElastiCache:SnapshotComplete (Valkey or Redis OSS only) |
ElastiCache:SnapshotComplete :
|
A cache snapshot has completed successfully. |
ElastiCache:SnapshotFailed (Valkey or Redis OSS only) |
SnapshotFailed :
|
A cache snapshot has failed. See the cluster’s cache events for more a detailed cause. If you describe the snapshot,
see |