welcome back to BackSpace Academy. In this lab we're going to go through the 2
process of creating an ec2 Windows Server instance and then connecting to 3
that instance using remote desktop protocol. So first off we'll jump into 4
the ec2 management console and we'll go through the process that we've gone 5
through before we creating a Linux instance it's no different there so we 6
just click on a launch instance now we'll go down and we'll scroll to 7
Windows Server and we'll select that as our AMI 8
we just select general purposes that's fine and we'll configure instance 9
details I'm just going to leave everything as it is there there's no 10
point in changing anything there obviously you would go through and 11
assign public IPs and put an IAM role there or whatever we just want to 12
basically launch an instance and then connect to that instance and simple as 13
that so just go through there and storage we'll flick through that again 14
configure security group. So this is where things change with a Windows 15
Server instance so whereas before with a Linux instance we would be using SSH to 16
connect into it you can see there SSH we would use if it was a Linux instance 17
when we be using port 22 because this is a Windows Server instance we can't 18
connect in with SSH we have to use RDP to connect into. So we select RDP and 19
that will be on port 3389. Now normally I would select my IP 20
here but because it's it's just an example and I'm just going to shut it 21
down and immediately after creating or just leave it as anywhere. So just go 22
through and review and launch that. We can see there everything 23
is the same as the Linux instance except that we've got here RDP. Okay so we just 24
launch that. Choose our existing key pair that is fine and launch the instance. 25
So that's started to happen. So we can just go back and view our instance and 26
then we can see it's starting to deploy. So now thanks to the magic of 27
pre-recorded video our Windows ec2 instance is up and running. So what 28
we can do now is that we need to connect to it. So the first thing we need to do 29
is click on actions and get our Windows password.So what we need to do is select 30
our key pair or our key pair file we upload that in and then we decrypt our 31
password and we'll give us those details. I'm just going to do that now let's just 32
choose my file 33
Okay so that's decrypted the password fine. So there I've got my password and 34
my administrator and everything there. Okay so I've now just jumped into the 35
Windows 10 remote desktop application but you don't have to use that there are 36
a number of RDP remote desktop applications out there that you can use. 37
So first thing we want to do is click on add to add our RDP connection and we 38
select desktop there now the PC name will be our server name that we were 39
given so I'll just jump in and find that 40
So just copy that over and put that in now we need to put the user account 41
details in there which is administrator and the password 42
and we'll save that and save again and then we can see we've got a connection 43
there set up on remote desktop. So all we need to do is double click on this 44
and we'll connect into our EC2 Server. Let's see it happen 45
and then we'll just click on connect 46
Okay so there we are we've connected into our Windows server and such brings 47
us to the end of the the hands-on session on Windows Server. I'll see you 48
in the next ones