How to Start Instance Selection (and optimal sizing)

In this article, we will show you how to start an instance (and choose an instance size) through the AWS Marketplace. 

EC2 Region Selection

EC2 is being hosted in multiple locations globally called, “Regions”.

  • US East (Virginia)
  • US West (Oregon)
  • US West (Northern California)
  • EU West (Ireland)
  • Asia Pacific (Singapore)
  • Asia Pacific (Sydney)
  • Asia Pacific (Tokyo)
  • South America (Sao Paulo)

You must select the region prior to initiating an EC2 instance.

For example you would like to create a site with Tokyo viewers as your target, and you are based in USA, you may choose the “Tokyo” Region (closest region) for faster transfer rates.

Check!

Users who live in Japan, the Asia Pacific (Tokyo) region is recommended.

 

EC2 Instance Types

There are multiple EC2 instances, and they are referred to as “family” that is broadly categorized by its performance.

Small CPU resources: T1* 

The t1 instance has a free trial period and you may use this for a blog site, some small management applications, bastion host, and sites with low traffic.

General purpose: M1*, M3

For medium-sized databases, data processing, encryption, caching, SAP enterprise applications (of Microsoft SharePoint), and other small scale apps.

Computing optimization: C1, CC2

For high traffic web application, ad delivery, batch processing, video encryption, analysis of variance, high-energy physics, genome analysis, and computational fluid dynamics.

Optimize memory: M2, CR1 

Deploy a large-scale enterprise application analysis, high-performance database, distributed memory cache, memory analysis, and genome assembly, SAP, of Microsoft SharePoint, etc.

Storage Optimization: HI1*, HS1

A common usage case of HI1: transaction database scale-out and NoSQL databases, including Mongo B and Cassandra.

A typical use case of HS1: data warehouse, Hadoop, and cluster file system.

GPU instance: G2, CG1*
A typical usage case of G2: Game streaming, graphics workload of the server side of the 3D application streaming, and others.
The usual usage case of CG1: computational chemistry, rendering, financial modeling and engineering design.

The vCPU, ECU and memory ratios are determined by the instance family: “micro”, “small”, “medium” and “large”.

Though T1, M1, C1, CC2, M2, CR1, CG1, and HI1 are previous generation instances, they are still supported by AWS. However, for best performance, choose the latest generation of instances. 

Below you may check the vCPU, instance family, ECU, memory, and so on:

Instance
family
Instance
type
OSbitvCPUECUMemory (GiB)Instance
storage
(GB)
EBS
optimization
Network
T1t1.micro32-bit
or
64-bit
OneVariable0.615Only EBSThe very low
M1m1.small32-bit
or
64-bit
OneOne1.71 x 160Low
M1m1.medium32-bit
or
64-bit
OneTwo3.751 x 410Medium
M1m1.large64-bitTwoFour7.52 x 420YesMedium
M1m1.xlarge64-bitFourEightFifteen4 x 420YesHigh
M2m2.xlarge64-bitTwo6.517.11 x 420Medium
M2m2.2xlarge64-bitFour1334.21 x 850YesMedium
M2m2.4xlarge64-bitEight2668.42 x 840YesHigh
M3m3.xlarge64-bitFour13FifteenOnly EBSYesMedium
M3m3.2xlarge64-bitEight26ThirtyOnly EBSYesHigh
C1c1.medium32-bit
or
64-bit
TwoFive1.71 x 350Medium
C1c1.xlarge64-bitEightTwentySeven4 x 420YesHigh
CC2cc2.8xlarge64-bit328860.54 x 84010 Gigabit
CR1cr1.8xlarge64-bit32882442 x 120 SSD10 Gigabit
HI1hi1.4xlarge64-bitSixteen3560.52 x 1,024 SSD10 Gigabit
HS1hs1.8xlarge64-bitSixteen3511724 x 2,04810 Gigabit
G2g2.2xlarge64-bitEight26Fifteen1 x 60 SSDYesHigh
CG1cg1.4xlarge64-bitSixteen33.522.52 x 84010 Gigabit

See http://aws.amazon.com/ec2/instance-types/

 

 

Which instance should I choose?

For your first blog, you may choose the free trial, so we can start with a t1.micro instance.

A general corporate site should be alright with t1.micro because corporate sites usually have a monthly PV of 100,000 PV~30 (about 10,000 as a guide).

On a blog media with a monthly PV of 500,000 PV~100 (about 10,000 PV as a guide), you can choose the m1.small or m1.medium instance.

It is possible to optimize gradually while checking in the cloud, etc. Watch the CPU usage for the first time from a small instance (especially when the optimal instance is unknown to the site).

Furthermore, it’s also possible to scale the instance up such as during a high web traffic (so the images will load quickly). And when the web traffic returns back to normal, you can scale your instance down.

The AWS usage is not a monthly fee, but is determined by the amount of time spent.

Check!

If you create a new account in AWS, the t1.micro + AMIMOTO entitles you to a free trial (up to 750 hours per month for the first year).

Usage is calculated at the 30th of the month and let’s say that you only used up 720 hours this month, then you can plan to run multiple instances for the remaining hours.

 

How to Start

At the “Amimoto Self-Hosting Plan”, you can choose the region where you’d like to launch the instance. For example, “Tokyo” region:

Screen Shot 2014-10-22 at 13.46.30

 

Once you click “Launch AMI”, you will be redirected to AWS Marketplace (login required).

Detailed settings can be made at the “1-Click Launch” tab. For more info on how to use, check this guide and continue.

Check!

Please note that the data transfer fee and EBS fee are paid for separately. In addition, the cost varies on the location.

At the AWS Marketplace right hand tab, you may see the estimated cost like this:

For instance t1.micro Asia Pacific at (Tokyo) Region

For t1.micro Asia Pacific (Tokyo) Region.

For instance m1.small US East in (Virginia) Region

For m1.small instance US East (Virginia) region.

 

Share on facebook
Share on google
Share on twitter
Share on linkedin