![]() ![]() It is achieved by : sudo chmod 400 path/to/key/file Step 6 - Connecting to Instance The permission for the downloaded key file needs to be changed so that it is not publicly viewable for SSH to work. ![]() With the successful launch of the instance, you will be redirected to the page which gives a success message that instance has been launched.Ĭlick on the button View Instances and you will be redirected to the EC2 management console. And clicking that button is the last step to launch the instance in AWS. With the key file downloaded, the button for launching the instance became active. #AWS UBUNTU INSTALL PHPMYADMIN DOWNLOAD#This key file is used to connect to the EC2 instance from your system.Ĭhoose the option Create a new key pair and download the key file. The next page will present with options for Key file. This can be edited later also.Ĭlicking Review and Launch button in this page takes us to a page where you can review our instance settings. But you can also restrict some IP addresses from accessing all protocols. For the tutorial, both the protocols are open to all IP addresses. In short you can set up the rules regarding IP addresses that can access the added protocols. To add HTTP rule, click on Add Rule & choose HTTP from the dropdown.Īs per AWS documentation, security groups acts as a virtual firewall. HTTP is for the web server that will be installed shortly. This is already added to the security group. SSH is required to login to the virtual machine using command line. However add 2 rules under Configure Security Group. Go for the default settings for Configure Instance, Add Storage and Add Tags screens. ![]() Step 3 - Editing Some Basic Configurations Single processor core and 1 GB memory is good enough for general purposes. In this tutorial, t2.micro instance is selected as it is free-tier eligible. In the next screen choose the instance type. Select Ubuntu Server 18.04 LTS (HVM), SSD Volume Type. Here you get to choose the OS for the virtual machine and also the other hardware. Log into the AWS EC2 Management Console, and click on the button Launch Instance Step 2 - Choosing the OS and HardwareĬlicking on the option from Step 1 takes to the below page. Step 1 - Launch an AWS EC2 Virtual Machine The steps will work for all flavours of Linux, and also for Mac.įor Windows, the steps are almost the same, the only difference being you need to use PuTTY for SHH connection (rather than command line on Linux systems). After an year, the instance is charged hourly depending upon the type of instance. #AWS UBUNTU INSTALL PHPMYADMIN FREE#Under the Amazon Free-Tier, you can use an EC2 instance for a year, free of cost. Connection to the instance from your system.In this article step-by-step process is discussed to setup LAMP stack in AWS EC2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |