The most important dial is the one in Packages. Limit the Swap, same like the RAM. Whether you use 0.5RAM, RAM or 2RAM or whatever is up to you, but unlimited SWAP usage is a bad idea for website containers, especially if no other limits are set and one website can kneecap a whole server.
Second, with the arrival of Ubuntu 26.04, zswap is now an interesting option on the OS level. It already was on the 24.04 HWE kernel, but this is more accessible for everyone now. Zswap is amazing on many levels, and although there are some drawbacks (look them up), disk I/O generally goes down quite a lot when just using zswap as an extension of RAM+SWAP or not using SWAP at all. You'll get limited extra CPU used, which is mostly low with the types of setups running Enhance. Do not look into Zram, which sounds similar but is a terrible idea.
SWAP size for the server based on your RAM size, and whatever type disk and disk space you can afford to expend. The sysctl.conf values aren't thát relevant, but vm.swappiness=10 is generally good for a server.
If your memory is >75% full, with >50% swap usage and quite a lot of swapping I/O going on constantly after this, you need to size up the VPS, get your Packages right, or clamp down on abusive behaviour.