Changing syntax errors in EC2 use case