Connect to the Windows Instance

Connect to the Windows Instance

  1. Go to Amazon EC2 console.
  • On the left navigation bar, click Intances.
  • Select DevAxWindowsHost.
  • Click Connect.

Connect to the Windows Instance

  1. In the Connect to instance page
  • Click tab RDP client.
  • Click Download remote desktop file. We will download file remote desktop to the folder contains the key pair.
  • Click Get password.

Connect to the Windows Instance

  1. In the Get Windows password page:
  • Click Browse.
  • Select file KPforDevAxInstances.pem we downloaded in the section 1.1.
  • Click Decrypt Password to decrypt the password.

Connect to the Windows Instance

  1. Copy decrypted password .

Connect to the Windows Instance

  1. Open file DevAxWindowsHost.rdp we downloaded in the step 2.
  • Click Connect.

Connect to the Windows Instance

  1. Type the password we copied in the step 4
  • Click OK.

Connect to the Windows Instance

  1. Click Don’t ask me again for connections to this computer.
  • Click Yes.

Connect to the Windows Instance

  1. Connect successfully.

Connect to the Windows Instance

Cấu hình AWS CLI

  1. Assign the Administrator Access to user awsstudent was created by Cloud Formation template

Connect to the Windows Instance

  1. In the Permissions policies section
  • Click Add permissions

Connect to the Windows Instance

  1. In the Add permissions to awsstudent page
  • Click Attach existing policies directly
  • Type AdministratorAccess to the search bar.
  • Select AdministratorAccess
  • Click Next:Review

Connect to the Windows Instance

  1. Click Add Permission

Connect to the Windows Instance

  1. Click tab Security credentials
  • Click Create access key to create the access key

Connect to the Windows Instance

  1. Click Download .csv file to save Access key and Secret access key to use in the next steps

Connect to the Windows Instance

  1. Execute the below command:
aws configure set profile.devaxacademy.region <your_region>
aws configure set profile.devaxacademy.aws_access_key_id <access_key_id>
aws configure set profile.devaxacademy.aws_secret_access_key <secret_access_key>

Change <your_region> by Region code
Change <access_key_id> by Access Key Id we saved in the step 6
Change <secret_access_key> by Secret Access Key we saved in the step 6

Connect to the Windows Instance