ElastiCache Autodiscovery Magento

770 views Asked by At

I'm with a problem to use ElastiCache nodes with Magento, because I'm not able to configure Autodiscovery merged with Magento.

Is possible to configure Magento just with the Host of the ElastiCache Cluster and use all the nodes simultaneously? (just as a cluster)

2

There are 2 answers

1
Ben Whaley On

Yes. In the Elasticache console, click on Replication Groups, then pick your cluster from the list. Find the value for Primary Endpoint and use that as your cache host. This will point at the cluster and will properly handle node failover.

0
Tyler V. On

Have you tried using the ElastiCache Cluster Client for your version of PHP? You'd have to build a module to edit local.xml or to otherwise change Magento's internal vars before the session or cache get used, but hopefully that's a start for you.