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:
-
Identify the desired time zone inside
/usr/share/zoneinfo
.
It may be common name likeEST5EDT
or identified by a popular city belonging to the time zone (e.g.,Australia/Sydney
). - 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.
- 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.
Comments
Article is closed for comments.