By default, Google instances do not have swap space allocated. Session Manager requires swap space from time to time. So, swap space needs to be added before installing the Session Manager ISO.
Procedure
As a root user, run the following command:
dd if=/dev/zero of=/swapfile bs=1M count=8192
Run the following command to format the swap space:
mkswap /swapfile
Run the following command to turn on the swap:
swapon /swapfile
Run the following command to make the change permanent by adding the following command to /etc/fstab: