3 hours 27 minutes
in this video,
we will use putting toe log in tow are easy to instance
and use Patijn to convert our pen file to a PPK file.
In our last video, we launched our very first E c. Two instance.
We also interacted with our instance from the command line of my Lennox box.
In this video, I will show the Windows users how to interact with the easy to instance via putty
for those who may not be familiar, but he is a free terminal emulator that runs on Windows.
It's very lightweight and easy to install
if you recall from our last lesson.
Our private key that AWS generated for us is stored as a dot pen file.
But he doesn't understand pen files, but instead uses a P p K file, which stands for Putty Private Key.
So we will actually need to convert our pen file to the PPK format.
But it comes with a tool called Putty Jin that performs his conversion for us.
So let's get started by opening up a Web browser.
Let's type putty in the search bar.
Then let's select the link that begins with Chae Arc
Select, a package based on. If your computer is 32 bit or 64 bit,
I will select 64
Then download the package
next navigate to where you downloaded the package,
then run the installer.
You can accept all of the defaults with this install,
so just click next
and then stall
and then click Finish.
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.
Next, I will navigate to my easy to instance from our last lesson
and turn it back on
to turn it on. Just right. Click
and then click. Start,
then click. Yes, start
open putty gin on your desktop
Quick load to navigate where you stored the old pen file.
Putty Jin will be looking for a dot PPK file,
but of course there won't be any since we haven't created one yet,
so we will need to change the filter and Explorer to all files.
Then we'll be able to see our pen file.
So let's highlight our pin file and click open
informs us that our import was successful
now we will need to rename our private key
and save it as a dot PPK file.
Then click open,
then click Save Private Key.
Next open putty
for the host name. We will type
E C two desks user at
and then we will paste in the I P address of our instance.
Since we just turned the EEC to instance back on, it will have a new I p address.
I have already copied the new one,
so I'll just paste it in.
Then let's copy this host name so that we don't have to keep typing it in all time
and then paste it under save sessions.
Next scroll down to off under SS H.
This is where we will tell Putty to use our private key.
Next click Save
Select our easy to session,
then click open.
And now we get that message from our instance about our private key not being cashed.
This is normal. So just click Yes,
and we have just authenticated to R E. C. Two instance
are easy to instance, says that there are some security updates available, so let's install those Now
we have to make ourselves route
Then run the command Yum update dash y
and then enter.
And that, my friends, is all there is to it.
Excellent job, everyone.
In this video,
we download it and use putty to log into our easy to residence.
we also used Putty Jin to convert our pen file
to a PPK file.