Hello Folks . In last post , I made a guide how to setup VPS with Microsoft Azure. Today im gonna make a guide to setup VPS with  Amazon Web Services (AWS) . I made this guide base on my experience and for setup purpose only. 

By Creating AWS account you will get The AWS Free Tier for 12 Month following your sign up date. You can use your acount for logging in to all amazon services. 

What is AWS Free Tier :

Well in short its a free trial to use all the AWS products listed within certain usage limits. In this guide we will use Amazon Elastic Compute Cloud (Amazon EC2)

You can look limits of AWS Free Trial for EC2 in below picture, choose only one instance for 750 hours per month.

Each month you will get :

  • 750 hours of EC2 running Linux, RHEL, or SLES t2.micro instance usage
  • 750 hours of EC2 running Microsoft Windows Server t2.micro instance usage
  • 750 hours of Elastic Load Balancing plus 15 GB data processing
  • 30 GB of Amazon Elastic Block Storage in any combination of General Purpose (SSD) or Magnetic, plus 2 million I/Os (with Magnetic) and 1 GB of snapshot storage
  • 15 GB of bandwidth out aggregated across all AWS services
  • 1 GB of Regional Data Transfer


To see all products listed in AWS FREE TRIAL click here   

Ok let's have your acount created and verified first.

Register here  https://aws.amazon.com/  and click on "Sign in to the Console"

 Enter your email address , click on "i am a new user" and click "sign in using our secure server"

Now enter your Login Credentials describe in below picture, click "Create Account"

Enter your contact information, Fill all the required form and click "Create Account and Continue"

Next step is fill your payment information. Don't worry,  your payment information is use for verify the authenticity of your account and prevent fraudulent activity. Your account will only get charged if exceeds The AWS Free Tier limits. You can always track your AWS Free Tier Limit and create an billing alarm.

I will explain how to track and creating an billing alarm later. Complete  your registration until the last step.


After you completed all registration steps, we can now begin create your instance.

For having all amazon products diplayed you can click at orange cube at up left corner in AWS Management Console. Look for your location in red circle that i marked. FYI i can only running an instance from singapore for first month. Maybe its because my account registered in singapore. I received an email from AWS support in the next or two month, inform about another available location for running an instance. I don't know about this term, maybe is written somewhere but i never care about it LOL. But if you want to run your instance from another location, contact support for assistant first.

OK !! Let's Get it on... Click On EC2 marked with red rectangle.  

Location List :

This is EC2 Dashboard. Green Rectangles contains all informations about you instance resources. Now Click "Launch Instance"

Now choose you AMI . Remember to choose "Free tier eligible" AMI for safe billing LOL, unless you need bigger resource and wll be able to handle all additional cost. You can scroll down for all listed AMI. Im choosing Ubuntu for this guide.  To proceed click "Select".

Now choose an instance and read the description. Choosing another Instance will exceed your free tier limits fast. Click Next

Configure the instance with your needs, detailed instructions are below picture.

Number of instances :

You can choose to launch more than one instance at a time.

Purchasing option :

You have the option to request Spot Instances and specify the maximum price you are willing to pay per instance hour. If you bid higher than the current Spot Price, your Spot Instance is launched and will be charged at the current Spot Price. Spot Prices often are significantly lower than On-Demand prices, so using Spot Instances for flexible, interruption-tolerant applications can lower your instance costs by up to 90%. Learn more about Spot Instances.

Network :

Launch your instance into an Amazon Virtual Private Cloud (VPC). You can create a VPC and select your own IP address range, create subnets, configure route tables, and configure network gateways. Learn more about Amazon VPC.

Subnet :

A range of IP addresses in your VPC that can be used to isolate different EC2 resources from each other or from the Internet. Each subnet resides in one Availability Zone. 

Auto-assign Public IP :

Requests a public IP address from Amazon's public IP address pool, to make your instance reachable from the Internet. In most cases, the public IP address is associated with the instance until it’s stopped or terminated, after which it’s no longer available for you to use. If you require a persistent public IP address that you can associate and disassociate at will, use an Elastic IP address (EIP) instead. You can allocate your own EIP, and associate it to your instance after launch. 

IAM role :

IAM roles for EC2 automatically deploys and rotates AWS credentials for you, removing the need to store your AWS access keys with your application. Select the instance profile that contains the required IAM role. If you created your IAM role using the console, the instance profile has the same name as your IAM role. Learn more about IAM roles for EC2.   

Shutdown behavior  :

Specify the instance behavior when an OS-level shutdown is performed. Instances can be either terminated or stopped.

Enable termination protection :

You can protect instances from being accidentally terminated. Once enabled, you won't be able to terminate this instance via the API or the AWS Management Console until termination protection has been disabled. 

Monitoring  Enable :

Enables you to monitor, collect, and analyze metrics about your instances through Amazon CloudWatch. Additional charges apply if you enable this option.

Tenancy :

You can choose to run your instances on physical servers fully dedicated for your use. The use of host tenancy will request to launch instances onto Dedicated hosts (https://aws.amazon.com/ec2/dedicated-hosts/), while the use of dedicated tenancy will launch instances as Dedicated instances (https://aws.amazon.com/dedicated-instances/). You can launch an instance with a tenancy of host or dedicated into a Dedicated VPC. Additional charges apply if you dedicated tenancy.

Once you done click next

Free tier costumers can modify storage up to 30 GB, you can split with new volume or single use of storage. If you done click next.

Create your tag and click next

Create new security group , change its name and description. Add new rule to fit your needs. once you done click review and launch.

Type :

The protocol to open to network traffic. You can choose a common protocol, such as SSH (for a Linux instance), RDP (for a Windows instance), and HTTP and HTTPS to allow Internet traffic to reach your instance. You can also manually enter a custom port or port ranges.

Protocol :

The type of protocol, for example TCP or UDP. Provides an additional selection for ICMP.

Port Range :

For custom rules and protocols, you can manually enter a port number or a port range.

Source :

Determines the traffic that can reach your instance. Specify a single IP address, or an IP address range in CIDR notation (for example, If connecting from behind a firewall, you'll need the IP address range used by the client computers. You can specify the name or ID of another security group in the same region. To specify a security group in another AWS account (EC2-Classic only), prefix it with the account ID and a forward slash, for example: 111122223333/OtherSecurityGroup.

Now review all before you launch your instance. Next click Launch.

Create a new key pair . Name it and download your private key  .Store it in a safe place and remember its location.If you loose it, you can't get it no more.  Click "Download Key Pair" and Click "Launch Instances"

Congratulation !!! Now your Instance are launching. Click on Instance name.

Yup Its Running and Healthy Folks !!! 

To track your Free Tier Usage and to create an alarm you can refer to my post here 

Hope this useful.... Thanks Folks ....