0 votes
1 view
in AWS by (19.2k points)

I have two separate instances in my test scenario

  1. Web Server Instance
  2. Database Server Instance

So far the only way I can get from 1st to 2nd Instance is by having Elastic IP's configured and using the Public DNS (or IP) reference. I can limit unwanted access by configuring the Security Group for 2nd to only take Port 1433 traffic only from 1st.

It seems like Instances within the same Amazon AWS zone should be able to talk to each other more efficiently than first going out and then coming back in.

Is there a way to go directly from 1st to 2nd instance using just the Private DNS (or IP)?

2 Answers

0 votes
by (19.2k points)

If you use Amazon Public DNS names or public IP, Amazon makes sure that the internal traffic will get routed internally only. Using public DNS names is not a problem.

0 votes
by (44.6k points)

If you use Amazon Public DNS names or public IP, Amazon makes sure that the internal traffic will get routed internally only. Using public DNS names is not a problem.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...