How to access the EC2 instance in AWS

Posted by Howard on November 16, 2018

After build an instance in AWS, the next thing is to access the instance to install software such as python, python modules and the rest API software.

I am not going to rebuild the wheel, instead use the existing official document in amazon, which is quite useful and informative:

Prior to the process, we need to prepare the private key file and convert it to .ppk file following the instruction in the link above ‘To convert your private key’.

With Putty, we can get access to the terminal to install files and run applications. The first thing we need to do is to install python3, we can follow this instruction to accomplish:

My system in EC2 is ubuntu, so I used the following command:

$ sudo apt-get install python3

winSCP is a powerful tool to download and upload files with remote computers, simply following the instruction above, it will prompt you to import settings, keys in putty during the process. Then we can exchange files with aws EC2 instance:


Related topics: