from local vs from ec2