I hope you have basic understanding on Terracotta products. If no I would suggest you to first go through the documentation on our website :
http://terracotta.org/
Ehcache is now available as a part of Bigmemory Go and Bigmemory max.
Bigmemory Go provides you the capabilities of enterprise ehcache with 32 GB of offheap free.BigMemory Go lets you keep all of your application's data instantly available in your server's memory. This is basically for standalone cache.
Bigmemory max helps you scale out and keep 100's of terabytes of data instantly available in RAM distributed across any size server array. This supports Distributed caching and gives data consistency guarantees, full fault-tolerance, and very fast restart.