I have two EC2 instances operating in the Oregon location (us-west-2c). Each of these when I issue the command date returns a value 7 hours ahead of what I would expect.
I have tried adjusting the timezone settings and each one returns a date and time much different than I would expect.
Creating the file /etc/sysconfig/clock with a value of ZONE="America/Phoenix" did not provide any change. Even after restarting the instance. (i.e. sudo reboot)
Examples of what I am dealing with and seeing. (All results within 5 minutes of test time stamp.) Time of test : Sat Mar 26 13:24:16 MST 2016 (America/Phoenix)
sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/MST /etc/localtime && date
Sat Mar 26 18:23:35 MST 2016
sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/America/Phoenix /etc/localtime && date
Sat Mar 26 18:24:16 MST 2016
sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/GMT /etc/localtime && date
Sun Mar 27 01:22:21 GMT 2016
So if America/Phoenix is the same as GMT-7 then the above would be calculating correctly. But how is it that America/Phoenix is off by 7 hours?
What time(zone) is Amazon using for Servers in Oregon?
EDIT NOTE: Time of test was noted above incorrectly. This has been updated. - Steven