

It's a best practice to use an Elastic IP address instead of a public IP address when routing external traffic to your instance.Ģ.


Be aware that if your instance is instance store-backed or has instance store volumes containing data, the data is lost when you stop the instance. This procedure requires a stop and start of your EC2 instance.

Note: If you receive errors when running AWS CLI commands, make sure that you're using the most recent version of the AWS CLI. For information on configuring the EC2 Serial Console for Linux, see Configure access to the EC2 Serial Console. If your instance is unreachable and you haven't configured access to the serial console, follow the instructions in Method 2: Use a rescue instance. Also, every instance using the serial console must include at least one password-based user. Then, create AWS Identity and Access Management (IAM) policies granting access to your IAM users. You can access the serial console using the Amazon EC2 console or the AWS Command Line Interface (AWS CLI).īefore using the serial console, grant access to it at the account level. The serial console connects to your instance without the need for a working network connection. The serial console helps you troubleshoot boot issues, network configuration, and SSH configuration issues. If you enabled EC2 Serial Console for Windows, then you can use it to troubleshoot supported Nitro-based instance types. Use one of the following methods to correct this:
