title: AWS Security Groups - EC2 to RDS
body: <p>I wanted to ask about connecting EC2 to RDP in AWS.</p>
  
  <p>I have added my EC2 Security Group (that contains the EC2 instances) into the Default RDP Group and Data is flowing - the connection works.</p>
  
  <p>The EC2 Security group has Port 80 to 0.0.0.0/0 and SSH to my IP enabled.</p>
  
  <p>I'm a touch concerned that by adding this EC2 group to the RDS Database it will allow Port 80 traffic from anywhere to access the Databases. Is this correct or wrong?</p>
  
  <p>Do the rules in the EC2 apply to the RDS instances if you connect them like this?</p>
  
  <p>I did read on the AWS websites that 'Database Security Groups only allow access to the database server port'. Can anyone confirm this is correct?</p>
  
  <p>thankyou</p>