before deploying on ec2