Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8856651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:24:12+00:00 2026-06-14T14:24:12+00:00

I am currently using Heroku’s Memcached in a Rails 3 app and would like

  • 0

I am currently using Heroku’s Memcached in a Rails 3 app and would like to move over to Elasticache because the pricing is much more favorable. Is this possible? Is the configuration relatively straightforward? Is there anything that I should be aware of as regards the performance?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:24:13+00:00Added an answer on June 14, 2026 at 2:24 pm

    DANGER: I do NOT recommend using this solution for production use. While this does work, @btucker pointed out that it allows any Heroku-hosted app to access your ElastiCache cluster.

    Yes you can. The setup is similar to the guide Heroku has on Amazon RDS. The steps that differ go like this:

    1. Follow the “Get Started with Amazon ElastiCache” guide to create a cache cluster and node
    2. Install the ElastiCache Command Line Toolkit
    3. Allow Heroku’s servers ingress to your ElastiCache cluster like the RDS guide explains but replace the rds- commands with elasticache- ones:

      elasticache-authorize-cache-security-group-ingress \
        --cache-security-group-name default \ 
        --ec2-security-group-name default \
        --ec2-security-group-owner-id 098166147350 \
      
        # If your AWS_CREDENTIAL_FILE environment setting is configured,
        # this option is not necessary.
        --aws-credential-file ../credential-file-path.template
      
    4. Set a Heroku config value for your production app with your cluster’s hostname:

      heroku config:set MEMCACHE_SERVERS=elasticachehostname.amazonaws.com
      

    After that, follow the Memcache Rails setup, and you’re set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have my rails app on heroku and github and am currently using
I have a rails app running on Heroku. I am using paperclip for some
I'm currently testing a web app on Heroku and using their free 5MB shared
I am using socket.io on heroku, and on socket connection I would like to
Hi I'm currently using carrierwave on my rails app without Amazon S3 or any
I'm currently using asset_sync in my Rails app, and I have the environment variables
heres what I'm currently using: Rails -v 3.2.3 I'm trying to make a path
I'm using active admin in my rails 3.0.9 app with the default setup.i.e I
My Rails 3.1 app is using PDFkit to render specific pages, and I'm running
I'm currently using SQLite3 with a simple post and image sharing app, similar to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.