In the Category panel on the left, choose Session. Open PuTTY ( Start > All Programs > PuTTY > PuTTY) Now that we have a suitable file extension for PuTTY to work, we can now connect to the instance. Specify the same name as that of the downloaded. PuTTYgen will display a message that the. PEM file (choose option to display files of all types)Ĭhoose Open. Ĭhoose Load and choose the downloaded.Open PuTTYgen ( Start > All Programs > PuTTY > PuTTYgen)įor Type of key to generate field choose RSA PPK using the PuTTYgen application (included by default in Windows). However the key file that was downloaded is a. We can use the key file to connect to the instance using PuTTY application (this is included in Windows by default). (From the next step on-wards we need to connect to the virtual machine from our system and execute commands on it through a terminal / shell) Step 4.1 - Connecting to Instance - From Windows This will contain the public DNS & public IP address of instance which will be required in the later steps. With the successful launch of the instance, we will be redirected to the page which gives a success message that instance is being launched.Ĭlick on the button View Instances redirects us to the EC2 management console. Clicking that button is the last step to launch the AWS instance. With the key file downloaded, the button for launching the instance became active. This key file is used to connect to the EC2 instance from our system.Ĭhoose the option Create a new key pair and download the key file. Step 3 - Creating and Downloading a Key PairĪfter clicking on the Launch button, the next page will present with options for Key file. If required, this can be edited later as well.Ĭlicking Review and Launch button in this page takes us to a page where we can review our instance settings. For the tutorial, both the protocols are open to all IP addresses. We can also setup rules regarding IP addresses that can access the added protocols. HTTP is required for the web server that will be installed shortly. In the next screen we are going with t2.micro instance which is Free Tier Eligible.įor the section Configure Instance - go for default settings.įor the section Add Storage - go for default settings.įor the section Add Tags - go for default settings.įor the section Configure Security Group - add HTTP rule. Select Ubuntu Server 20.04 LTS(HVM), SSD Volume Type. Step 2 - Selecting Virtual Machine SpecsĬlicking Launch Instance will take us to a page where the specs for virtual machine can be chosen. Log into the AWS EC2 Management Console, and click on the button Launch Instance. Connecting to EC2 virtual machine with an FTP client (FileZilla).Allowing MySql root login through phpMyAdmin (if required).Installing PHP 7.4 & commonly used PHP extensions.Updating package list on virtual machine.Connecting to EC2 virtual machine from a Windows, Linux or Mac OS system.Creating Key Pair required to connect to virtual machine.This tutorial discusses installation of LAMP stack in an AWS EC2 virtual machine. Ubuntu 20.04 was released in April 2020, and it is now available on major cloud platforms as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |