aws ElastiCache

WordPress で Amazon ElastiCache を利用する - dogmap.jp

【ElastiCache】memcachedのMulti-AZ配置(ゾーンをまたいだノード分散配置)が来ました!!! | DevelopersIO

php memcached

https://docs.aws.amazon.com/ja_jp/AmazonElastiCache/latest/mem-ug/Appendix.PHPAutoDiscoverySetup.Installing.html

https://aws.amazon.com/jp/elasticache/memcached/wordpress-with-memcached/

PHP アプリケーションから ElastiCache Memcached を使用する場合、AWS が提供している ElastiCache Cluster Client をインストールする必要がある。(普通の php-pecl-memcached を入れるとマルチ AZ な Memcached に対応してなさそう)

Amazon Linux 2 & PHP-FPM 7.3 の場合は以下のような手順になる。

ElastiCache のメニューにある「ElastiCache クラスタークライント」から使用している PHP のバージョンに合ったクライアントをダウンロードする。
ElastiCacheでMemcachedを使うときのクライアントのインストール - mattintosh note

https://elasticache-downloads.s3.amazonaws.com/ClusterClient/PHP-7.4/latest-64bit-X86

PHPアプリケーションのセッション管理にAWS ElastiCacheを使う | DevelopersIO