Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create AWS Cloud resources to support RDP into Amazon EC2 for Windows without any ingress security group rule. #24

Open
kunduso opened this issue May 31, 2024 · 0 comments
Assignees

Comments

@kunduso
Copy link
Owner

kunduso commented May 31, 2024

Using the "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore" IAM policy it is possible to connect to an Amazon EC2 instance using Session Manager. However that gives a commandline interface. For a GUI based experience on an Amazon EC2 for Windows instance. this is can be accomplished using Fleet Manager.
The steps are:

  • continue on having the above managed policy attached to the IAM role to create the instance profile
  • create a new IAM policy and attach to the role as described in https://docs.aws.amazon.com/systems-manager/latest/userguide/fleet-rdp.html
  • create the security group with no ingress rule and open the egress for all ports on the tcp protocol
  • create a local user and add it to the Administrators group on the Windows instance using user data
  • login to the Amazon EC2 instance using Fleet Manager
@kunduso kunduso self-assigned this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant