How to move VAR folder to a different partition on Amazon AMI

On Amazon AMI it's difficult to recover if the instance fails to allow connection.

The root volume cannot be attached to another instance if the image is from AMI marketplace.

If you wish to move the /VAR partition to a different partition, please ensure that SELINUX is disabled.

Enter the following command:

getenforce

The output should 'disabled', if not, change the config file

vi /etc/sysconfig/selinux

Change the line:

SELINUX=enforcing

to 

SELINUX=disabled

Reboot the box and follow the process outlined in the link below:

How to move a folder to a different partition in Linux.html

This will also work for issues when you modify the fstab and cannot connect to the AMI, assuming the fstab entry is correct.