elasticache

Manage Elasticache clusters with AWS CLI. List and describe clusters easily. Free cheatsheet for developers.

Elasticache AWS CLI Cheatsheet

This cheatsheet provides essential AWS CLI commands for managing Elasticache clusters. Use these commands to list and describe your Elasticache resources efficiently.

Listing Elasticache Clusters

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", 
            ...
        }
    ]
}

Describing an Elasticache Cluster

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", 
            ...
        }
    ]
}

Additional Resources