title: How to connect two Ec2 Instance so that they can Communicate with each other
body: <p>I want to connect two EC2 instances with each other so that they can communicate with each other.</p>
  <p>One will have Wordpress installed, and the 2nd will have a database configured (e.g. Mysql/Mariadb).</p>
  <p>I found the problem in the way we can connect 2 EC2 instances with each other by using private IP.</p>