Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k 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.1k 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.4k 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.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...