- Newest
- Most votes
- Most comments
Dont use the Serial Connection. This is mainly for linux instances.
Instead select the EC2 from the console and click Connect. Use Session Manager
This will give you a Windows PowerShell prompt.
The black screen issue you're experiencing when trying to connect to your EC2 Windows instance through the Serial Console is a common problem that can occur for several reasons. Here are some steps you can take to troubleshoot and potentially resolve the issue:
-
Ensure that you have properly configured access to the serial console. This is a prerequisite for using the feature.
-
For Windows instances, you need to enable the Special Administrative Console (SAC) before you can use the serial console effectively. If SAC is not enabled, you may see a black screen.
-
Try pressing Enter multiple times. Sometimes the prompt may not appear immediately, and pressing Enter can help initiate the connection.
-
If the screen remains black after pressing Enter, you may need to enable SAC on your instance. This can be done either online (if you have RDP access) or offline (by attaching the volume to another instance).
-
Check the console output for additional information. You can do this from the EC2 console by selecting your instance, then choosing Actions > Monitor and troubleshoot > Get system log.
-
Consider rebooting your instance. This can sometimes resolve connection issues with the serial console.
-
If possible, try accessing the instance through other means (like RDP) to ensure the instance is functioning correctly.
-
As a last resort, you might want to check the instance's console screenshot. This can sometimes reveal if there's an error dialog or other issue preventing normal boot that isn't visible through the serial console.
If none of these steps resolve the issue, you may need to contact AWS support for further assistance, as there could be an underlying problem with the instance or the serial console service.
Sources
Connect to the EC2 Serial Console - Amazon Elastic Compute Cloud
Troubleshoot an EC2 instance by using the EC2 serial console - AWS Prescriptive Guidance
Troubleshoot your Windows instance with Amazon EC2 serial console | AWS re:Post
problem accessing the instance | AWS re:Post
For a table that lists the different methods for connecting to your EC2 instance, please see the following documentation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect.html
The EC2 Serial Console is used when you want to troubleshoot boot, network configuration, and other issues with your instance. If you just want to log into (connect) your instance, please use one of the methods listed in the table linked above.
To learn more about the EC2 Serial Console, please see the following documentation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html
Relevant content
- asked a year ago
- asked 2 years ago
- asked 3 years ago
- asked 3 years ago
- How do I turn on the EC2 serial console, SAC, and boot menu to troubleshoot my Windows EC2 instance?AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 5 months ago
When im at the Session Manager tab, a yellow-box appears with:
SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service.
Are such issues region-based? or is it a temporal error?
Ensure the EC2 can access the Internet/SSM Private VPC Endpoint. Ensure the EC2 has the SSMManagedInstanceCore Policy attached