檢視 ElastiCache 叢集的詳細資訊 - Amazon ElastiCache

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

檢視 ElastiCache 叢集的詳細資訊

您可以使用 ElastiCache 主控台或 檢視一或多個叢集的詳細資訊 AWS CLI ElastiCache API。

您可以使用 ElastiCache 主控台、 AWS CLI for ElastiCache或 來檢視 Memcached 叢集的詳細資訊 ElastiCache API。

下列程序詳細說明如何使用 ElastiCache 主控台檢視 Memcached 叢集的詳細資訊。

檢視 Memcached 叢集的詳細資訊
  1. 登入 AWS Management Console 並在 開啟 Amazon ElastiCache 主控台https://console.aws.amazon.com/elasticache/

  2. 從右上角的清單中,選擇您感興趣的 AWS 區域。

  3. 在 ElastiCache 引擎儀表板中,選擇 Memcached 。這樣做會顯示 Memcached 引擎上執行的所有叢集清單。

  4. 若要查看叢集的詳細資訊,請選擇叢集名稱左側的方塊。

  5. 若要檢視節點資訊,請選擇 Nodes (節點) 標籤,此標籤會顯示節點狀態和端點的相關資訊。

  6. 若要檢視指標,請選擇 Metrics (指標) 標籤,此標籤會顯示叢集中所有節點的相關指標。如需詳細資訊,請參閱 監控與 CloudWatch 指標搭配使用

  7. 選擇網路和安全索引標籤,以檢視叢集的網路連線、子網路群組組態和VPC安全群組的詳細資訊。如需詳細資訊,請參閱子網路和子網路群組

  8. 選擇 Maintenance (維護) 標籤,以檢視叢集維護設定的詳細資訊。如需詳細資訊,請參閱管理 ElastiCache 叢集維護

  9. 選擇 Tags (標籤) 標籤,以檢視套用至叢集資源的任何標籤詳細資訊。如需詳細資訊,請參閱標記您的 ElastiCache 資源

您可以使用 ElastiCache 主控台、 AWS CLI for 或 ElastiCache來檢視 Valkey 或 Redis OSS(停用叢集模式) 叢集的詳細資訊 ElastiCache API。

下列程序詳細說明如何使用 ElastiCache 主控台檢視 Valkey 或 Redis OSS(停用叢集模式) 叢集的詳細資訊。

檢視 Valkey 或 Redis OSS(停用叢集模式) 叢集的詳細資訊
  1. 登入 AWS Management Console 並在 開啟 Amazon ElastiCache 主控台https://console.aws.amazon.com/elasticache/

  2. 在 ElastiCache 引擎儀表板中,選擇 ValkeyRedis OSS 以顯示在該引擎上執行的所有叢集清單。

  3. 要查看叢集的詳細資訊,請選擇叢集名稱左側的核取方塊。請務必選取執行 Valkey 或 Redis OSS引擎的叢集,而非叢集 Valkey 或叢集 RedisOSS。這會顯示叢集的詳細資訊,包括叢集的主端點。

  4. 檢視節點資訊:

    1. 選擇叢集名稱。

    2. 選擇 Shards and nodes (碎片和節點) 標籤。這會顯示各節點的詳細資訊,包括您必須用來讀取叢集的節點之端點。

  5. 若要檢視指標,請選擇 Metrics (指標) 標籤,此標籤會顯示叢集中所有節點的相關指標。如需詳細資訊,請參閱 監控與 CloudWatch 指標搭配使用

  6. 若要檢視日誌,請選擇 Logs (日誌) 標籤,此標籤會指出叢集是否使用慢速日誌或引擎日誌,並提供相關詳細資訊。如需詳細資訊,請參閱日誌傳送

  7. 選擇 Network and security (網路和安全性) 標籤,以檢視叢集網路連線和子網路群組組態的詳細資訊。如需詳細資訊,請參閱子網路和子網路群組

  8. 選擇 Maintenance (維護) 標籤,以檢視叢集維護設定的詳細資訊。如需詳細資訊,請參閱管理 ElastiCache 叢集維護

  9. 選擇 Service updates (服務更新) 標籤,以檢視任何可用的服務更新詳細資訊,以及其建議套用日期。如需詳細資訊,請參閱中的服務更新 ElastiCache

  10. 選擇 Tags (標籤) 標籤,以檢視套用至叢集資源的任何標籤詳細資訊。如需詳細資訊,請參閱標記您的 ElastiCache 資源

您可以使用 ElastiCache 主控台、 AWS CLI 的 或 來檢視 Valkey 或 Redis ElastiCacheOSS(啟用叢集模式) 叢集的詳細資訊 ElastiCache API。

下列程序詳細說明如何使用 ElastiCache 主控台檢視 Valkey 或 Redis OSS(啟用叢集模式) 叢集的詳細資訊。

檢視 Valkey 或 Redis OSS(啟用叢集模式) 叢集的詳細資訊
  1. 登入 AWS Management Console 並在 開啟 Amazon ElastiCache 主控台https://console.aws.amazon.com/elasticache/

  2. 從右上角的清單中,選擇您感興趣的 AWS 區域。

  3. 在 ElastiCache 引擎儀表板中,選擇 ValkeyRedis OSS 以顯示在該引擎上執行的所有叢集清單。

  4. 若要查看 Valkey 或 Redis OSS(啟用叢集模式) 叢集的詳細資訊,請選擇叢集名稱左側的方塊。請務必選擇執行 Valkey 或叢集 Redis OSS引擎的叢集。

    叢集下方會展開一個畫面,並顯示叢集的詳細資訊,包括叢集的組態端點。

  5. 若要查看叢集碎片的清單,以及每個碎片的節點數,請選擇 Shards and nodes (碎片與節點) 標籤。

  6. 若要檢視節點的特定資訊:

    1. 選擇碎片的 ID。

      這麼做會顯示每個節點的資訊,包括您要用來讀取叢集資料之每個節點的端點。

  7. 若要檢視指標,請選擇 Metrics (指標) 標籤,此標籤會顯示叢集中所有節點的相關指標。如需詳細資訊,請參閱 監控與 CloudWatch 指標搭配使用

  8. 若要檢視日誌,請選擇 Logs (日誌) 標籤,此標籤會指出叢集是否使用慢速日誌或引擎日誌,並提供相關詳細資訊。如需詳細資訊,請參閱日誌傳送

  9. 選擇網路和安全索引標籤,以檢視叢集的網路連線和子網路群組組態、VPC安全群組的詳細資訊,以及叢集上如果有的話,啟用哪些加密方法。如需詳細資訊,請參閱 子網路和子網路群組Amazon 中的資料安全 ElastiCache

  10. 選擇 Maintenance (維護) 標籤,以檢視叢集維護設定的詳細資訊。如需詳細資訊,請參閱管理 ElastiCache 叢集維護

  11. 選擇 Service updates (服務更新) 標籤,以檢視任何可用的服務更新詳細資訊,以及其建議套用日期。如需詳細資訊,請參閱中的服務更新 ElastiCache

  12. 選擇 Tags (標籤) 標籤,以檢視套用至叢集資源的任何標籤詳細資訊。如需詳細資訊,請參閱標記您的 ElastiCache 資源

下列程式碼會列出 的詳細資訊 my-cluster:

aws elasticache describe-cache-clusters --cache-cluster-id my-cluster

Replace (取代) my-cluster 使用 create-cache-cluster命令建立叢集時,叢集的名稱為 1 個快取節點和 0 個碎片。

{ "CacheClusters": [ { "CacheClusterStatus": "available", "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "Engine": "redis", "PreferredMaintenanceWindow": "wed:12:00-wed:13:00", "CacheSubnetGroupName": "default", "SnapshotWindow": "08:30-09:30", "TransitEncryptionEnabled": false, "AtRestEncryptionEnabled": false, "CacheClusterId": "my-cluster1", "CacheClusterCreateTime": "2018-02-26T21:06:43.420Z", "PreferredAvailabilityZone": "us-west-2c", "AuthTokenEnabled": false, "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2" }, "SnapshotRetentionLimit": 0, "AutoMinorVersionUpgrade": true, "EngineVersion": "3.2.10", "CacheSecurityGroups": [], "NumCacheNodes": 1 }
{ "CacheClusters": [ { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": false, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:13:24.250Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": false, "PreferredAvailabilityZone": "us-west-2a", "TransitEncryptionEnabled": false, "ReplicationGroupId": "my-cluster2", "Engine": "redis", "PreferredMaintenanceWindow": "sun:08:30-sun:09:30", "CacheClusterId": "my-cluster2-001", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": false, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:13:24.250Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": false, "PreferredAvailabilityZone": "us-west-2b", "TransitEncryptionEnabled": false, "ReplicationGroupId": "my-cluster2", "Engine": "redis", "PreferredMaintenanceWindow": "sun:08:30-sun:09:30", "CacheClusterId": "my-cluster2-002", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": false, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:13:24.250Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": false, "PreferredAvailabilityZone": "us-west-2c", "TransitEncryptionEnabled": false, "ReplicationGroupId": "my-cluster2", "Engine": "redis", "PreferredMaintenanceWindow": "sun:08:30-sun:09:30", "CacheClusterId": "my-cluster2-003", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2" }, "SnapshotRetentionLimit": 0, "EngineVersion": "3.2.10", "CacheSecurityGroups": [], "NumCacheNodes": 1 }
{ "CacheClusters": [ { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2a", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0001-001", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2b", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0001-002", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "3.2.6", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2c", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0001-003", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2b", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0002-001", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2c", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0002-002", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "3.2.6", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2a", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0002-003", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 } ] }

如果使用 建立叢集 AWS Management Console (啟用或停用具有 1 個或更多碎片的叢集節點),請使用下列命令來描述叢集的詳細資訊 (取代 my-cluster 具有複寫群組名稱 (叢集名稱):

aws elasticache describe-replication-groups --replication-group-id my-cluster

如需詳細資訊,請參閱 ElastiCache 主題 AWS CLI 的 describe-cache-clusters

您可以使用 DescribeCacheClusters動作檢視叢集 ElastiCache API的詳細資訊。如果包含 CacheClusterId 參數,則會傳回指定叢集的詳細資訊。如果省略 CacheClusterId 參數,則會傳回最多 MaxRecords 個叢集 (預設值為 100) 的詳細資訊。MaxRecords 的值不可小於 20 或大於 100。

以下程式碼會列出 my-cluster 的詳細資訊。

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheClusters &CacheClusterId=my-cluster &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

以下程式碼清單會列出最多 25 個叢集的詳細資訊。

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheClusters &MaxRecords=25 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

如需詳細資訊,請參閱 ElastiCache API參考主題 DescribeCacheClusters