Reputation: 483
I am pretty new to AWS.
I have an EC2 instance running a Java web app on Tomcat, and I need to connect it to an Oracle RDS instance. The intances are in the same region.
Do you think that for such situation would be better a VPC?
Thank you
Upvotes: 0
Views: 667
Reputation: 743
P1) Make sure EC2 and RDS are in same AZ
P2) Make sure you use bigger instance types for NW bandwidth between them
P3) Add PIOPS to RDS if your app demands performance
Upvotes: 0
Reputation: 8109
I have not made any specific measurements, but the connection speed between RDS and EC2 should be very good. Just make sure that the machines are set up in the same availability zone.
Regarding security, you can also specify that access to your RDS machine should be open for specific EC2 groups, so normally the port won't be open publically.
Upvotes: 1