Skip to main content

Posts

Showing posts from January, 2019

How to ssh to the remote server using Windows machine

In this blog, I will explain how to use the putty and puttygen software to connect to the remote server. putty is a free software application for  Window. which can be used to make a connection to the remote server. What you need  ssh login credential download putty.exe and puttygen.exe from this link  Initial Plan I have created an AWS EC2 instance and downloaded the myKeys.pem file. By using the puttygen software, myKeys.pem will be converted to myKeys.ppk format. Finally, using this key I will make a connection to the remote server using putty. Let's Start. Step 1: convert .pem to  .ppk  Start the puttygen application. Click on Load and select the .pem file to be converted. click on the "Save Private Key" button and name the key with .ppk extension and save. Now I have the myKeys.ppk file. I will use this key to connect to the remote server. Step 2: make a connection with the remote server Start the putty applic

Run Website on AWS EC2

You may need to learn how to run your website without any help from others. Here is a way to do this. What you need. AWS Account ( you can register for Free Tier account) Initial Plan Firstly, I will create an AWS S3 Bucket for uploading the web content. In order to copy the content of the S3 to EC2, I need to create IAM role with s3 full access permission. Then  I will launch an AWS EC2 instance and configure the EC2 instance to run my website. This is very simple. Let's Start. Steps 1: Create S3 bucket Go to services and select the S3 Create a bucket Now click the create button I have downloaded the basic HTML template website for this blog. you can simply upload your web content to the S3 bucket. Here I have a zip file. click the newly created bucket and select the web content to upload Click the upload button Ok, now we have our web content on the S3 bucket. Let's create an IAM role w