In this post I will show basic usage of Amazon EC2. After we login to aws console, we can see the dashboard of our systems and also aws services.
Now let’s create an instance step by step. First we click on “Launch Instance”. After that console asks us to choose the AMI type. AMI means Amazon machine image.
For example you need several production servers that have the same configuration. First you install operating system ( for example linux ) and LAMP stack. Then you made some configurations for your specific purposes. In that state if you take a snapshot of your disk, you can create same server using that image. As you will see below Amazon offers several amis for us.
If you created an ami before you can choose it from “My AMIs” tab.
Also you can choose an AMI from AWS Marketplace. AWS Marketplace have different AMIs for specific purposes. For example you may want to use Citrix Netscaler image as a loadbalancer.
In our example we will choose a Free Tier 64 bit Ubuntu server 13.10 AMI ( ami-480bea3f This is the ami-id for the image ) . After selecting it we will configure out instance type .
Here we see some definitions like ECU , vCPU etc. We selected Free tier usage and the size of instance is t1.micro. There are different instance types. You can refer to this link to learn them.
ECU (Amazon EC2 Compute Unit ): One ECU unit provides 1.0-1.2 GHz cpu power. And for vCpu we can think of it like the core of the processor. For example if we choose m3.large:
It has 2 vCpu and 6.5 ECU. So 6.5×1.2=7.8 GHz cpu power. And we have 2 cores. 7.8/2= 3.9 GHz per core cpu power we have.
EBS-Optimized available option is disabled now. EBS optimization means improved dedicated throughput for I/O. And finally our network performance is very low that our performance of data transfer will be low. On the other tabs you can change the instance type to General purpose, Memory optimized,Storage optimized and compute optimized. Next step is configuring our instance details…