I am planning to use AWS (Amazon Web Services) to build a portal using Tomcat and MySQL. For Tomcat I would be using an EC2 instance and for MySQL I would be using RDS (Relational Database Service).
When an RDS instance is started it's assigned an IP address. How can I get this IP address in the Tomcat EC2 instance and use it in the JDBC URL? How does this work with and without Static IP Addresses?
Thanks, Praveen