Upgrade Amazon Linux on Opsworks


As failed to upgrade amazonlinux os from 2014.3 to 2016.3 with opsworks deopyment, I upgraded the os manually and then run opswork's job, update_dependencies to change /etc/motd or so.

$ ssh $HOST
$ vi /etc/yum.conf
releasever=2016.03 # change from 2014.03
$ sudo yum clean all
$ sudo yum update

Then, go to Opsworks console, change agent version to the latest, then run update_dependencies.

Finally deploy your app :)