Recently, I wanted to move my applications from a tradional hosting service into AWS. The main services to be migrated are a webserver, an email server, and a database server. Both, webserver and email server connect to the backend database server with their various services (e.g. the webserver running Apache, and the mailserver running Exim).

In this article, I’ll give a detailed explanation how to setup such a solution.