Completely close your AWS Security Group

Now, you can change your AWS security group to completely close open access from the outside.



Confirm that direct SSH access to the AWS EC2 instance times out now:

C:\>ssh -i "Ubuntu-Virginia.pem"

ssh: connect to host port 22: Connection timed out

You've made your system invisible to the outside world, yet access using still works!