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