Serverless cache events
ElastiCache logs events that relate to your serverless cache. This information includes the date and time of the event,
the source name and source type of the event, and a description of the event. You can easily retrieve events from the log
using the ElastiCache console, the AWS CLI describe-events command, or the ElastiCache API action DescribeEvents
.
You can choose to monitor, ingest, transform, and act on ElastiCache events using Amazon EventBridge. Learn more in the Amazon EventBridge https://docs.aws.amazon.com/eventbridge/latest/userguide/.
Viewing ElastiCache events (Console)
To view events using the ElastiCache console:
Sign in to the AWS Management Console and open the ElastiCache console at https://console.aws.amazon.com/elasticache/
To see a list of all available events, in the navigation pane, choose Events.
On the Events screen each row of the list represents one event and displays the event source, the event type, the GMT time of the event, and a description of the event. Using the Filter you can specify whether you want to see all events, or just events of a specific type in the event list.
Viewing ElastiCache events (AWS CLI)
To generate a list of ElastiCache events using the AWS CLI, use the command describe-events. You can use optional parameters to control the type of events listed, the time frame of the events listed, the maximum number of events to list, and more.
The following code lists up to 40 serverless cache events.
aws elasticache describe-events --source-type serverless-cache --max-items 40
The following code lists all events for serverless caches for the past 24 hours (1440 minutes).
aws elasticache describe-events --source-type serverless-cache --duration 1440
Serverless Events
This section documents the different types of events that you may receive for your serverless caches.
Serverless Cache Creation Events
Detail-Type | Description | Unit | Source | Message |
---|---|---|---|---|
Cache created |
Cache arn |
creation |
serverless-cache |
Cache <cache-name> is created and ready to use. |
Cache created |
Cache arn Snapshot arn |
creation |
serverless-cache |
Cache <cache-name> is created and data was restored from snapshot. Your cache is ready to use. |
Cache creation failed |
Cache arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. Insufficient free IP addresses to create VPC endpoint. |
Cache creation failed |
Cache arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. Invalid subnets provided in the request. |
Cache creation failed |
Cache arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. Quota limit reached for creating VPC endpoint. |
Cache creation failed |
Cache arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. You do not have permissions to create a VPC endpoint. |
Cache creation failed |
Cache arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. A user with an incompatible Redis OSS version is present in user group <user-group-name>. |
Cache creation failed |
Cache arn Cache snapshot arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. The provided user group <user-group-name> does not exist. |
Cache creation failed |
Cache arn |
failure |
serverless-cache |
Failed to create cache <cache-name>. Data restoration from snapshot failed because <reason>. Failure reasons:
|
Serverless Cache Update Events
Detail-Type | Resources list | Category | Source | Message |
---|---|---|---|---|
Cache updated |
Cache arn |
configuration change |
serverless-cache |
SecurityGroups updated for the cache <cache-name>. |
Cache updated |
Cache arn |
configuration change |
serverless-cache |
Tags updated for the cache <cache-name>. |
Cache updated failed |
Cache arn |
configuration change |
serverless-cache |
An update to the cache <cache-name> failed. A user with an incompatible Redis OSS version is present in user group <user-group-name>. |
Cache updated failed |
Cache arn |
configuration change |
serverless-cache |
An update to the cache <cache-name> failed. SecurityGroups update failed. |
Cache updated failed |
Cache arn |
configuration change |
serverless-cache |
An update to the cache <cache-name> failed. SecurityGroups update failed because of insufficient permissions. |
Cache updated failed |
Cache arn |
configuration change |
serverless-cache |
An update to the cache <cache-name> failed. SecurityGroups update failed because the SecurityGroups are invalid. |
Serverless Cache Deletion Events
Detail-Type | Resources list | Category | Source | Message |
---|---|---|---|---|
Cache deleted |
Cache arn |
deletion |
serverless-cache |
Cache <cache-name> was deleted. |
Serverless Cache Usage Limit Events
Detail-Type | Description | Unit | Source | Message |
---|---|---|---|---|
Cache updated |
Cache arn |
configuration change |
serverless-cache |
Limits updated for the cache <cache-name>. |
Cache limit approaching |
Cache arn |
notification |
serverless-cache |
Slot <X> is using more than <Y>% of the per-slot limit of 32 GB. For example, Slot 10 is using more than 90% of the per-slot limit of 32 GB. |
Cache updated failed |
Cache arn |
failure |
serverless-cache |
A limit update to the cache <cache-name> failed because the cache was deleted. |
Cache updated failed |
Cache arn |
failure |
serverless-cache |
A limit update to the cache <cache-name> failed due to invalid configuration. |
Cache updated failed |
Cache arn |
failure |
serverless-cache |
A limit update to the cache <cache-name> failed because current cached data exceeds new limits. Please flush some data before applying the limits. |
Serverless Cache Snapshot Events
Detail-Type | Resources-list | Category | Source | Message |
---|---|---|---|---|
Snapshot created |
Cache arn Snapshot arn |
creation |
serverless-cache-snapshot |
Snapshot <snapshot-name> created for cache <cache-name>. |
Snapshot creation failed |
Cache arn Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to create snapshot for cache <cache-name>. Snapshot <snapshot-name> creation failed with Customer Managed Key <key-id> <reason>. Failure reason messages:
|
Snapshot creation failed |
Cache arn Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to create snapshot for cache <cache-name>. Snapshot <snapshot-name> creation failed because <reason>. Default reason:
|
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket %s because ElastiCache does not have permissions to the bucket. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s' because there is already an object with the same name in the bucket. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s' because bucket owner account Id has changed. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s' because the S3 bucket is not accessible. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s' because the bucket is not accessible. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s' because bucket does not exist. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s' with source snapshot Customer Managed Key %s <reason>. |
Snapshot export failed |
Snapshot arn |
failure |
serverless-cache-snapshot |
Failed to export snapshot for cache <cache-name>. Could not export snapshot to bucket '%s'. |
Snapshot copy failed |
Snapshot arn-1 Snapshot arn-2 |
failure |
serverless-cache-snapshot |
Failed to copy snapshot <snapshot-name>. Could not copy snapshot '%s' to snapshot '%s' with source snapshot Customer Managed Key <key-id> <reason-name>. |
Snapshot copy failed |
Snapshot arn-1 Snapshot arn-2 |
failure |
serverless-cache-snapshot |
Failed to copy snapshot <snapshot-name>. Could not copy snapshot '%s' to snapshot '%s' with target snapshot Customer Managed Key '%s' '%s'. |