Amazon Web Services is a set of Cloud Computing services provided by Amazon. As we know, Amazon is famously known for its service in e-commerce but it has rapidly grown becoming an internet giant that provides infrastructure service in internet as well.
This time, we would like to explain how to set up Virtual Private Server (VPS) with Amazon Web Services (AWS).
First off, you have to set up an account on this site: http://aws.amazon.com
Once you have logged in Member Dashboard, you can use Elastic Compute Cloud (EC2) service.
Click on the AWS Dashboard then choose EC2 and you will enter to the services.
Click Launch Instance to initiate setup. Select your server location. For this tutorial, we choose Singapore as our server location because our target visitors are Indonesian. You can choose any server in the top right corner of the Dashboard.
Then, we go to a page to choose Amazon Machine Image (AMI).
There are many Operating Systems that provided by AWS, such as Amazon Linux AMI, Ubuntu, Redhat, even Windows.
Please be wise when choosing AMI, make sure you know the right Operating Systems (OS) to use that meets your specifications. AMI has Free Tier too.
In this tutorial, we choose Free Tier
We choose Ubuntu Server 14.04, besides it is free and we are familiar with this OS too. Then select the options which is Ubuntu Server 14.04 LTS (HVM), SSD Volume Type -ami-d6e7c084.
Next step, select Type t2.micro (Free tier eligible) which means it can be used for free. If you wish to choose the others, it is okay but you will be charged and it depends on the specifications of your choice.
Then click Configure Instance Details
At this point, we won’t have many setup configurations. Those who have experience and understand the architecture of AWS network, you can add new VPS for network and the others.
Then click add Storage
In this part, you can edit the storage you need. In this tutorial, We are going to create a VPS that consist of hosting services. We have thought that 8GB is more than enough.
Then, click Tag Instance
In this part, you can create Tag for your needs. We skip this part and directly click Configure Security Group
In this part, you can create new Security Group. Creating Security Group Name with Description allows us to easily retrieving the information next time.
Don’t forget, we want this VPS to have function as a web server, so we add Rule SSH, HTTP, and HTTPS.
Then click Review and Launch
Next, it will load a page for us to review the settings that we have made from the beginning. If you are misguided or making mistake you can always go back to previous page.
If you are sure and everything is okay, then click Launch.
Before the VPS to be launched by AWS. There’s a pop-up window that requires you to create KeyPair.
Please keep in mind, SSH is needed to access server. It’s through putty for Windows users and Terminal for Mac or Linux users.
Where accessing SSH on AWS does not require username and password like commonly we access box.
Please take into account, KeyPair ( Your-Key-Name.pem ) will not disappear and it’s stored in a safe point.
Then click Launch Instance.
We are going back to EC2 Dashboard. then click Instance, so we can see list of running server.
If you have obtained Public IP and Public DBS, that means your Virtual Private Server is live.
It’s easy, isn’t it?