How to use Amazon ElastiCache ?

1,540 views
Skip to first unread message

Gavin Yue

unread,
Sep 22, 2011, 1:00:07 PM9/22/11
to hibernate-memcached
I just tried Amazon ElastiCache. It is Memcached based.

So I guess I just need to replace the url with ElastiCache endpoint.

But it is a cluster, so has multiple nodes. How to configure this?

And it seems it can only be accessed inside EC2. Anyway to test it
through local machine?

If there are detailed guides, it would be helpful.

Thank you.

RayKrueger

unread,
Sep 22, 2011, 1:09:35 PM9/22/11
to hibernate-memcached
The Elasticache getting started guide shows how to create a cluster
and connect to nodes in that cluster.
http://docs.amazonwebservices.com/AmazonElastiCache/latest/GettingStartedGuide/

From there you just need to configure hibernate-memcached to use the
nodes in your cluster
http://code.google.com/p/hibernate-memcached/wiki/Configuration
hibernate.memcached.servers - Space delimited list of memcached
instances in host:port format

As for playing with it, the getting started guide explains that you
can only connect to ElastiCache nodes from an EC2 instance in the same
security group.
So create a micro instance for that security group and SSH into it.
Then you can do stuff.

I was able to find these answers via Google, do some experimenting and
you'll get it to work I'm sure.
Reply all
Reply to author
Forward
0 new messages