Connect to instance

Assign IAM role and restart EC2 instance.

  1. Go to EC2 service management console
  • Click Private Windows Instance.
  • Click Actions.
  • Click Security.
  • Click Modify IAM Role.

Connect

  1. At the Modify IAM Role page.
  • In the IAM role section, select SSM-Role.
  • Click Save.

Connect

  1. Click Private Windows Instance.
  • Click Instance state.
  • Click Reboot instance to restart, then click Reboot to confirm.

Connect

Please wait 5 minutes before doing the next step.

Connect to the private EC2 instance.

  1. Go to System Manager - Session Manager service management console
  • Click Start session.
  1. Click Private Windows Instance.
  • Click Start session.
  1. Type ipconfig command to check the IP address information of Private Windows Instance as shown below.

Connect