How To Setup VPS Using Amazon Web Services

2016-10-14_013706

Amazon Web Services is a cloud service provided by a giant internet company, Amazon. While, Virtual Private Server (VPS) is a virtual machine that runs its own copy of an operating system. VPS customers will have a superuser-level access to the operating system instance, so they can install any kind of software that compatible with the operating system.

In this tutorial, the service that will be used is the Elastic Compute Cloud (EC2). Elastic Computer Cloud (EC2) is a computation platform in the form of virtual computer that can be customized and developed using the principles of the cluster and load balancing. The deployment process is quite easy because it only needs to choose image that is called Amazon Machine Instances (AMI) and the setup process does not take that long, only 5-10 minutes. To be able to use EC2, you need to create an Amazon Web Services account first, but it needs a credit card. Here are the step-by-step of setting up VPS using EC2:

Enter EC2 Dashboard

Log in to Amazon Web Services Main Dashboard. Then choose and click EC2, next you will be redirected to EC2 Dashboard.

ec2-dashboard-1024x479

Choose Amazon Machine Instances (AMI)

Click Launch Instance to start setting up your configuration. Choose the server location from the navigation bar above, in this example the server location is in Singapore. Then the page will be redirected to the page to choose Amazon Machine Image (AMI). There are plenty Operating Systems that are provided by Amazon Web Services, starting from Amazon Linux AMI, Ubuntu, RedHat and even Windows. Be careful when choosing AMI. Make sure you choose an operating system that is familiar for you and you know and understand how to use it, most importantly you know you need it. There is list of Free Tier Amazon Machine Image too. This tutorial uses Ubuntu Server 14.04 LTS (HVM), SSD Volume Type – ami-d6e7c084, click Select.

ec2-step1-1024x441

Choose Instance Type

Next, select Type t2.micro (Free Tier Eligible) which means it is free, but if you want to use the paid one, it is always welcomed. Of course, different types have different prices and different specifications too. For new register with Amazon Free for 1 year promo might see the t1.micro option. After that, click Configure Instance Details.

ec2-step2-1024x508

Configure Instance Details

For this section, there will be not much setup. If you are already familiar with Amazon Web Services network architecture, you might want to Create a new VPS (as Amazon Web Services’ network service) For now, just click Add Storage.

ec2-step3-1024x504

Add Storage

You can configure the storage however you want. In this case, because the VPS is only going to be filled with server host, 8 Giga would be more than enough. Next, click Tag Instance.

ec2-step4-1024x502

Tag Instance

In this section, you can create a tag as needed. Then, click Configure Security Group.

ec2-step5-1024x501

Configure Security Group

In here, you can create a new Security Group. Create its name and description as information for you later on. Since, in this tutorial the VPS is for web server, then rule SSH, HTTP and HTTPS will be added. Next, click Review and Lauch.

ec2-step6-1024x495

Review and Launch

Next, you will be redirected to a page for reviewing the settings that you have done. If you made a mistake, you can go back to the previous page. If everything is okay, click Launch.

ec2-step7-1024x514

Key Pair

Before your VPS launched by AWS. Popup with a form where you are required to create a keypair will show up. Please note, you need SSH to access that server.

ec2-step8-1024x549

Now, go back to the EC2 Dashboard. Then click Instance to see the list of running servers.

ec2-step9-1024x511

You will get Public IP and Public DNS.

Leave a Reply

Your email address will not be published. Required fields are marked *