But on a more serious note if one does not mind incredible latency to swap then get a SSD USB3 drive and use it for swap. You might not have the drive plugged in and as such add it to fstab with the "noauto" option using the swapon command to activate it, or use the user-space autofs mounter instead i.e. /etc/auto.master
Swap is an extension of memory and as such you are putting unencrypted memory contents into your swap device. This could be PGP/GPG keys, LastPass, KeePass keys and passwords, PII and more. Putting this into the cloud adds some risk. One can encrypt swap to partially mitigate this risk.
Swap is an extension of memory and as such you are putting unencrypted memory contents into your swap device. This could be PGP/GPG keys, LastPass, KeePass keys and passwords, PII and more. Putting this into the cloud adds some risk. One can encrypt swap to partially mitigate this risk.