Changed socket.io server to aws server.