A Few Things to Remember to Do before Deploying a Rails App to AWS Elastic Beanstalk

This might just be a few notes for myself but maybe someone else will find this handy:

  • Include the Puma gem, gem 'puma' (and bundle of course).
  • In the database.yml change the production database settings to this:
  • Once the environment is created run rake secret in the command line.
  • Copy the output and type eb setenv SECRET_KEY_BASE=generated_secret_key
  • Any additional environment variables are set the same way
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrShare on RedditBuffer this pageDigg thisEmail this to someone
Tell Your Friends