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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容