E C
asked on
AWS RDP into Windows Server EC2 instances without Elastic IP
I'm creating a network on AWS that is comprised of a load balancer, 3 x EC2 instances and a SQL database.
Because the public internet only hits the load balancer, my EC2 instances do not need to have static IPs. The LB can always attach to the EC2 instances in the group.
My issue has to do with remote desktop. Today I can go to the EC2 dashboard and download the pre-configured RDP files for each EC2 instance. It's convenient to be able to remote into the EC2 instances using Remote Desktop. The problem is, if the IP address of the EC2 instance changes (which it will, eventually, when shutting down and starting back up), those Remote Desktop shortcuts no longer work. Minor inconvenience but I am just wondering - is there an easier way to be able to remote into any EC2 instance running Windows? (I am connecting with the auto-assigned DNS name for the EC2 instance but the DNS name is actually comprised of the public IP. So if the public IP changes, so does the DNS record)
Because the public internet only hits the load balancer, my EC2 instances do not need to have static IPs. The LB can always attach to the EC2 instances in the group.
My issue has to do with remote desktop. Today I can go to the EC2 dashboard and download the pre-configured RDP files for each EC2 instance. It's convenient to be able to remote into the EC2 instances using Remote Desktop. The problem is, if the IP address of the EC2 instance changes (which it will, eventually, when shutting down and starting back up), those Remote Desktop shortcuts no longer work. Minor inconvenience but I am just wondering - is there an easier way to be able to remote into any EC2 instance running Windows? (I am connecting with the auto-assigned DNS name for the EC2 instance but the DNS name is actually comprised of the public IP. So if the public IP changes, so does the DNS record)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER