I am using AWS Ethereum cloud form template (on EC2/docker). The contract deploys quickly in remix VM but it hangs and does not return mined address in Ethereum on AWS. I checked with AWS services, no issues with the cluster. So I am wondering if the code needs optimization? I tested small contracts, they mined well. Can you please help?