Time
3 hours 27 minutes
Difficulty
Beginner
CEU/CPE
4

Video Transcription

00:01
in this video,
00:02
we will use putting toe log in tow are easy to instance
00:08
and use Patijn to convert our pen file to a PPK file.
00:15
In our last video, we launched our very first E c. Two instance.
00:21
We also interacted with our instance from the command line of my Lennox box.
00:26
In this video, I will show the Windows users how to interact with the easy to instance via putty
00:33
for those who may not be familiar, but he is a free terminal emulator that runs on Windows.
00:38
It's very lightweight and easy to install
00:42
if you recall from our last lesson.
00:44
Our private key that AWS generated for us is stored as a dot pen file.
00:50
But he doesn't understand pen files, but instead uses a P p K file, which stands for Putty Private Key.
00:58
So we will actually need to convert our pen file to the PPK format.
01:04
But it comes with a tool called Putty Jin that performs his conversion for us.
01:11
So let's get started by opening up a Web browser.
01:15
Let's type putty in the search bar.
01:26
Then let's select the link that begins with Chae Arc
01:32
Select, a package based on. If your computer is 32 bit or 64 bit,
01:38
I will select 64
01:41
Then download the package
01:45
next navigate to where you downloaded the package,
01:49
then run the installer.
01:52
You can accept all of the defaults with this install,
01:56
so just click next
01:57
and then stall
02:07
and then click Finish.
02:13
It's a good idea to copy the putty, gin and putty. Execute a bles to your desktop or taskbar as you use them often.
02:23
Next, I will navigate to my easy to instance from our last lesson
02:28
and turn it back on
02:39
to turn it on. Just right. Click
02:42
and then click. Start,
02:45
then click. Yes, start
02:57
next
02:58
open putty gin on your desktop
03:00
Quick load to navigate where you stored the old pen file.
03:06
Putty Jin will be looking for a dot PPK file,
03:09
but of course there won't be any since we haven't created one yet,
03:14
so we will need to change the filter and Explorer to all files.
03:19
Then we'll be able to see our pen file.
03:21
So let's highlight our pin file and click open
03:30
Putty. Jen
03:30
informs us that our import was successful
03:34
quick. Okay,
03:37
now we will need to rename our private key
03:39
and save it as a dot PPK file.
03:53
Then click open,
03:58
then click Save Private Key.
04:03
Next open putty
04:06
for the host name. We will type
04:10
E C two desks user at
04:13
and then we will paste in the I P address of our instance.
04:15
Since we just turned the EEC to instance back on, it will have a new I p address.
04:20
I have already copied the new one,
04:23
so I'll just paste it in.
04:26
Then let's copy this host name so that we don't have to keep typing it in all time
04:31
and then paste it under save sessions.
04:38
Next scroll down to off under SS H.
04:45
This is where we will tell Putty to use our private key.
04:56
Great
05:04
Next click Save
05:08
Select our easy to session,
05:11
then click open.
05:15
And now we get that message from our instance about our private key not being cashed.
05:19
This is normal. So just click Yes,
05:23
and we have just authenticated to R E. C. Two instance
05:26
over party
05:29
are easy to instance, says that there are some security updates available, so let's install those Now
05:35
we have to make ourselves route
05:42
Then run the command Yum update dash y
05:46
and then enter.
06:02
And that, my friends, is all there is to it.
06:08
Excellent job, everyone.
06:15
In this video,
06:17
we download it and use putty to log into our easy to residence.
06:23
And
06:25
we also used Putty Jin to convert our pen file
06:28
to a PPK file.

Up Next

Intro to AWS

This Introduction to Amazon Web Services (AWS) course will teach you about Amazon's secure cloud services platform, offering compute power, database storage, content delivery and other functionality to help businesses scale and grow.

Instructed By

Instructor Profile Image
Shaun Balkum
Sr. Network Engineer at Presidio
Instructor