The code for the AWS server