In the video at left, Wei helps you
restore internet connectivity
for Windows EC2 instances

In the video at right,
Ahmed helps you troubleshoot
Windows EC2 connectivity issues

restore-network-connectivity-windows-wei
restore-network-connectivity-windows-ahmed

I accidentally disabled network connectivity in Windows while I was working on it, and I’ve lost connection to my Amazon EC2 instance. How can I fix it?

You can create a temporary Elastic Network Interface (ENI) and attach it to your instance. This will allow you to connect to the instance temporarily and fix the issue.

  1. Sign in to the Amazon EC2 management console.
  2. Select your instance, and make a note of what subnet its ENI is in.
  3. Create a new ENI in the same subnet as the instance, selecting a security group that allows you to connect to your instance via RDP.
  4. Attach the new ENI to your instance.
    Note: The new ENI might take a few minutes to come online. If you connect to the instance over the Internet via RDP, associate an Elastic IP address with the ENI.
  5. Make sure that the security group associated with your instance allows inbound RDP connections.
  6. Using the new ENI, connect to your instance using RDP.
  7. Change the network connection settings in Windows to use DHCP, or specify the correct private IP address settings.
  8. Detach the temporary ENI.
    Note: If you’ve associated an Elastic IP address with the ENI, and no longer need the Elastic IP address, release it by following the instructions at Releasing an Elastic IP Address.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-08-02