Skip to content

Commit

Permalink
Update lesson2-windows-and-linux-login.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
ravsau authored Mar 8, 2019
1 parent 898070b commit ac76771
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion terraform-aws/lesson2-windows-and-linux-login.MD
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,23 @@ resource "aws_security_group" "allow_rdp" {
```

3)
3) After you create the windows.tf file. Save it .Make sure you have AWS your Credentials entered properly. Then use this command to launch the terraform stack
```
terraform apply --auto-approve
```

Auto approve flag skips the yes/no question whether if you want to create the stack or not.

4) Go to your AWS Management Console. An EC2 should be spinning up. Wait 5 minutes( Windows instaces take around 5 mins to get ready) . Then select the EC2 Instance and click on connect.
- Click Decrypt passoword.
- Choose your .pem file you downloaded earlier and upload it to decrypt the password
- Once you get the password , download the RDP file
- Open the downloaded RDP file. You will be asked for the pasword when Windows Remote desktop opens. Supply the pass. Note: If you don't have Remote Desktop Installed, you many need to install it.

![key](../images/decrypt-pass.png)
![key](../images/windows.png)

5) You should be logged in now.



Expand Down

0 comments on commit ac76771

Please sign in to comment.