This cheatsheet provides essential AWS CLI commands for managing Elasticache clusters. Use these commands to list and describe your Elasticache resources efficiently.
Use the following command to list Elasticache clusters:
$ aws --profile dev elasticache describe-cache-clusters --max-items 5
{
"CacheClusters": [
{
"CacheClusterId": "test-cluster-dev-0001-001",
...
}
]
}
To get detailed information about a specific cluster, use the following command:
$ aws --profile eu-dev elasticache describe-cache-clusters --cache-cluster-id "test-cluster-dev-0001-001"
{
"CacheClusters": [
{
"CacheClusterId": "test-cluster-dev-0001-001",
...
}
]
}