Engineyard : Amazon EC2 Maintenance – Maintenance

What to do when such email you receive from Engineyard. Normally what is going on and what to do is clearly explained by Engineyard email. However, we might not gather enough courage to mess with production server instances. Continue reading

Engineyard: Connect to database in production / staging

You can connect to databases hosted inside Database Instances in Engineyard servers from your local computer using softwares like MySqlWorkbench. Follow the following guidelines to do so.

Connection Method: Standard TCP/IP over SSH

Continue reading

Engineyard : Ruby On Rails : Setting environment variables at once

I was also using Heroku previously now I moved to Engineyard. This is how I get my ENvironemnt variables in Heroku I added gem figaro. This gem basically needs file application.yml in app/config directory. When Rails app is initialized, it gets executed and loads the key value pair set in YAML format into memory. In Heroku Figaro has option to set the content of application.yml. Continue reading

Engineyard : Deployment : Passing multiple Environment variables to deploy hooks

Engineyard has made it easier to send environment variables to deploy hook when you execute the deployment command from client console. Environment variable is not the exact terminology to be used. EY sends it as configuration hash.  You may want/need to send environment variables in situations such as:

  • When you want to detect that this is the attempt when you want your seeds ( Data defined in seed.rb) to be committed to database.
  • When you want specific services or packages like Elastic Search to reindex the records

Continue reading