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
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
app/config directory. When
Rails app is initialized, it gets executed and loads the key value pair set in
YAML format into memory. In
Figaro has option to set the content of
application.yml. Continue reading
VPS/VPC deployment being at remote makes it cumbersome to know exactly what is happening under the hood during the deployment process. So, I think it would be great if we could know what is happening and what configuration the EY client sending to the VPS. Continue reading
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
Well from help command of Engineyard ruby gem
ey help deploy
we can see that we can send data as key:value pair like
ey deploy -e my_app_staging --config=key:value
I have been using Engineyard as PaaS for deploying my Ruby On Rails application. To have my app server intact I have created a utility instance called ‘redis’ to host Redis-Server and Sidekiq. Continue reading
Engineyard uses CHEF recipes to configure the server instances. You must enable the appropriate chef-recipes according to type of server environment you require.
Platform as a service (PaaS) is a category of cloud computing services that provides a platform allowing customers to develop, run and manage Web applications without the complexity of building and maintaining the infrastructure typically associated with developing and launching an app.