-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Example of Using Elasticache #22
Comments
This is a really old issue, but I found it while attempting to do the same thing and figure'd I'd write down the steps I used to use this module in my play 2.4 application. Step 1. Setup a memcached cluster in your AWS account. It will provide you with a configuration endpoint like Step 2. Setup your build.sbt to include the appropriate libraries
Step 3. configure your application's configuration file to disable the EhCache module and enable the Memcache one:
By using the host with Note that for the auto-discovery to work you'll need to be running your application in the AWS VPC. It is possible to use an SSH tunnel to connect to the AWS environment by modifying your hosts file, however when I did this for testing purposes I just swapped my
and this matches up with my /etc/hosts file:
and then I'm able to connect from my local application to a memcache instance running in AWS without any trouble. I hope this helps out anyone who runs into the same issue. |
We are interested in using this plugin to connect to an Amazon Elasticache cluster. I noticed that a pull request for this feature was merged and the issue closed, but I am unsure how to configure a project to make use of this functionality. There doesn't appear to be anything in the documentation yet. Unfortunately I do not know Scala well as we are a Java shop, so going by the source code is a bit difficult.
We are especially interested in the cluster auto-discovery so we don't have to worry about maintaining a list of our cache instances and can auto-scale our cluster without having to redeploy the application.
It would be nice if the documentation would cover:
Thanks!
The text was updated successfully, but these errors were encountered: