I put the web servers
and db servers
in different auto scaling group.
Those machines in auto scaling group will be added or removed dynamically.
Therefore, I have no idea about what's the db server IP address
What the common way to achieve this under AWS