I am looking for an automated solution or script that can set the security group of my Amazon EC2 machines, so that only my current IP address can be the source of an RDP connection. I am looking for an automated solution, that works the following>
- I run my script or app that would get my IP address and update the security group that only my IP can be the source of an RDP connection
- Connect to my Amazon EC2 machine using EC2
- Do the work
Is there any application or script that I can use for this? Is this a good idea at all to secure my machines?