Changed the database to postgresql for ec2 deployment.