Create Linux server with Amazon

Last updated : June 27, 2017

Posted by: 2


Amazon Linux Server is the most reliable, flexible, easy to configure & secure server to host your web applications. Creating Linux server with Amazon is quite easy. 

Let me guide you to create an Amazon Linux Server. All you need to do is follow these steps to create a server on Amazon cloud:


Step 1: Go to the URL aws.amazon.com  


Step 2: If you are a new user you will need to Sign Up. Click on ‘My Account’ & Select ‘AWS Management Console’.




Step 3: Once an account has been registered in your name. CLICK ON ‘Sign-in to the Console’ button. Sign-In with your credentials & click on “Sign in using our secure server”.




Step 4:  In the image below you can see at the right-top of the web page, your Username, followed by the Location where you wish to create the server & last Support to get assistance from the Amazon.


Here, Location plays an important role. It provides various locations to select from. You can select the most feasible location to you and the domain you want to run on the server.


Example: If you select US (California). It must have to go under maintenance for sometime after creation. Location-based server creation lets your server to go into maintenance mode during night hours of that location. But if your server is US based but your traffic comes from Asia region then it might not be feasible to choose the time to go under maintenance according to the location. Moreover, there is different speed for different servers. You can even keep the track of all that happens on your server, be it server failure or maintenance.




Step 5: You will see an AWS services page. Here starts the actual process of creating the Linux server. Then out of all the options available, CLICK ON EC2.




Step 6: In the Resources page above, you see a list of EC2 resources. If one EC2 resource is created the value of ‘Running Instance’ will become one.


By default, you have a Security Group and with each Running Instance you create, it gets linked with Security Groups & the number of security groups increases with the number of Instances you create.


Step 7: Now either you can directly choose ‘Launch Instance’ or CLICK ON ‘Running Instance’ to launch an Instance.





Step 8: After you click on Launch instance a new window opens where it asks you to “Choose an Amazon Machine Image (AMI)”. This is a freely available shared server.


Out of all the options available, you will SELECT the first option i.e.  Amazon Linux AMI (HVM), SSD Volume Type.



Step 9: Now you are navigated to a new window to ‘Choose an Instance Type’. Here you can specify the settings of memory & more.


You will SELECT ‘t2.micro’ which is the best option for small applications. At the top of the table, it will show the specifications of the server you have selected.


At the bottom right, there are four buttons. Clicking on ‘Review & Launch’ button will set automated settings for the Amazon Linux server & create the server.



Step 10: In case, if you want to do customized settings for the server, you can select ‘next: Configure Instance Details’ button.


Here you can make changes according to your application's requirement:


As mentioned before that this is a freely available shared server, you might wish to host more than one website on the server. So in case an instance fails, it will result in failure of all the sites linked or running on that instance. That’s when you realize the importance of a dedicated server.

Out of all the options available, there you can see ‘Tenancy’ which will provide you with three options. You can select in accordance with your application's requirements.


Step 11: Again at the right bottom, CLICK ON ‘Add Storage’. You will be required to insert the size. It won’t allow you to select less than 8 GB. Then select volume type, by default the latest one is selected.


Step 12: Next step is ADD TAG. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment.


This is useful when you have many resources of the same type — you can quickly identify a specific resource based on the tags you've assigned to it. Each tag consists of a key and an optional value, both of which you have to define.


For example, you could define a set of tags for your account's Amazon EC2 instances that help you to track each instance's owner and stack level. I recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add.


To create a tag, CLICK ON ‘Add Tag’ button. You will get options to insert the Key & the Value. You can provide that in accordance with your application's requirements.


Step 13: CLICK ON ‘Configure Security Group’ button. Again, you will get options to choose.


You will select “Create a new security group”. Give some relevant name to the security group.


Now in the TYPE section, you will take SSH as our first type. SSH requires a high level of security so from the SOURCE option SELECT ‘My IP’. This will take your system's IP address & will not allow anyone to access except your IP.


Then, the other two are HTTP & HTTPs, which you can permit according to your requirement. Click On ‘Review & Launch’ button.



Step 14: Again new window appears to Review Instance Launch.


Here you will be able to see all the previously created & previously done settings, such as security groups & much more.


Now, CLICK ON Launch, you will get a pop-up. In this pop-up box, you will need to create a key-pair. Key-pair plays an important role in authentication (Login) through the terminal; moreover, to login into FTP you will need this key-pair. Either take the existing key if you have or create a new key-pair.


Create a new key pair & download it. Later this key-pair will be used to login into the terminal or FTP. Finally, CLICK ON Launch Instance.





Step 15: Launch Status


A block of text will appear “Your instances are now launching”.


CLICK ON the link displayed and the SERVER is created. You can view the properties of the server setup by you.