Create a swapfile for your Linux server

Yes - but if you change your server config, or perhaps if you do a migration, you might need to look after this yourself. (At the same time there are two important kernel configs to change which the installation does not look after - see MKJ’s Opinionated Discourse Deployment Configuration