Engine Yard Developer Center

Set the Time Zone for an Instance

Engine Yard Cloud instances are set up in the "UTC" timezone by default. Based on your location, you may want to change this so timestamps in your logs match your timezone.

Note: If you have instances using the older AMI, they might default to "PST8PDT". The steps below work in any case.

Steps to change the time zone:

  1. Identify the desired time zone inside /usr/share/zoneinfo.
    It may be common name like EST5EDT or identified by a popular city belonging to the time zone (e.g., Australia/Sydney).

  2. Add this cookbook to your custom recipes: https://github.com/engineyard/ey-cloud-recipes/tree/master/cookbooks/timezone and modify it with the correct timezone that you wish to use, as per the README instruction.
  3. Upload and apply your custom recipes.

See our Custom Chef Recipes article for further instructions on using custom recipes.


If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.

Powered by Zendesk