• Resolved Renzo

    (@boletinextra)


    Hi, I have enable elasticache on aws and setup redis. but cant seem to make it work.

    Status: Not Connected
    Client: Predis

    I have no idea what sup. any help on this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Did you configure your connection settings in you wp-config.php?

    Hi Renzo,

    I got by doing the following steps:

    In ElastiCache:

    1) Access the ElastiCache on your dashboard in AWS;
    2) Launch Cache Cluster;
    3) Select Engine Redis;
    4) Specify Cluster Details;
    5) Set Advanced Settings. *Important1: Select the VPC Security Group(s) of your WP instance;
    6) Launch Cache Cluster;

    While ElastiCache will create your Cache Cluster, do the following:

    ?*Important1: You must have added the same “security group” of this instance WP in your Cache Cluster Redis;

    Now let’s add port 6379 in your security group in EC2:

    1) Access EC2 on your dashboard in AWS;
    2) Select the instance of your WP;
    3) In the tab “Description” click the Security Group of its Instance WP;
    4) Select the tab “Inbound” and edit adding: Custom TCP Rule >> TCP >> 6379 and save;

    Finally, copy and paste the code below into your wp-config and was replacing somename.xxxxx.0001.region.cache.amazonaws.com

    for the endpoint generated in your ElastiCache;

    define ( 'WP_REDIS_HOST', 'somename.xxxxx.0001.region.cache.amazonaws.com');

    • This reply was modified 8 years, 1 month ago by God Aliens.
    Plugin Author Till Krüss

    (@tillkruess)

    Thanks @godaliens!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cant connect to redis AWS’ is closed to new replies.