Add a Swap Partition to a Ubuntu 22.04 instance

Below is a guide on how you can add a swap disk/partition to a Ubuntu 22.04 instance, I would recommend that you have a decent amount of hard disk space available to avoid constant use of the swap drive, a…