Trying to solve Amazon AWS server errors