We build Ec2 instances like linux instances in aws. Sometimes we need to make two Ec2 instances connect each other so that they can exchange files etc. However by default this communication is not available. We need to make some configuration changes to make two Ec2 instances connect each other. Here is quick way to do so.