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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠