Unable to type in AWS Serial console

0

I have access to the Serial Console for my EC2 instance, however once the after loading i am unable to enter commands in the screen. Not sure if the IAM user is missing any more access permissions. Currently below is the permission provided.

"Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:GetSerialConsoleAccessStatus", "ec2:EnableSerialConsoleAccess", "ec2:DisableSerialConsoleAccess" ], "Resource": "*" },

{ "Sid": "AllowinstanceBasedSerialConsoleAccess",
"Effect": "Allow", "Action": [ "<instance info>" ], "Resource": "<instance info" } ] }

Additionally my main objective is to have access to the serial console and then "DISABLE the RDP" services in the Instance. Right now we have no other way to access the server, thus I am hoping that there is a way to REMOVE or DISABLE the RDP in my instance using the Serial Console. Is this possible? If yes, can someone provide the script that needs to be executed ? If Not, can someone suggest an alternative way ? FYI ..It's a Windows Server

1 個回答
0

Hello.

As far as I can see from the document below, there seems to be no problem with the IAM policy.
https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configure-access-to-serial-console.html

Why not try connecting to PowerShell via Systems Manager Session Manager instead of a serial console connection?
You can connect by setting the policy "AmazonSSMManagedInstanceCore" in the EC2 IAM role.
For EC2 in a private subnet, you need to set up a NAT Gateway or VPC endpoint.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html

profile picture
專家
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南