Amazon EC2 instances are grouped into two families: standard and High-CPU. Standard instances have memory to CPU ratios suitable for most general purpose applications; High-CPU instances have proportionally more CPU resources than memory (RAM) and are well suited for compute-intensive applications. When selecting instance types, you might want to use less powerful instance types for your web server instances and more powerful instance types for your database instances. Additionally, you might want to run CPU instance types for CPU-intensive data processing tasks.
One of the advantages of EC2 is that you pay by the instance hour, which makes it convenient and inexpensive to test the performance of your application on different instance families and types. One good way to determine the most appropriate instance family and instance type is to launch test instances and benchmark your application.
Instance Types
The instance types are defined as constants in the code. Column eight in the table is the defined constant name
Table 143. Available Instance Types
| Type | CPU | Memory | Storage | Platform | I/O | Name | Constant Name |
|---|---|---|---|---|---|---|---|
Small |
1 |
1.7 GB |
160 GB instance storage (150 GB plus 10 GB root partition) |
32-bit |
Moderate |
m1.small |
Zend_Service_Amazon_Ec2_Instance::SMALL |
Large |
4 |
7.5 GB |
850 GB instance storage (2 x 420 GB plus 10 GB root partition) |
64-bit |
High |
m1.large |
Zend_Service_Amazon_Ec2_Instance::LARGE |
Extra Large |
8 |
15 GB |
1,690 GB instance storage (4 x 420 GB plus 10 GB root partition) |
64-bit |
High |
m1.xlarge |
Zend_Service_Amazon_Ec2_Instance::XLARGE |
High-CPU Medium |
5 |
1.7 GB |
350 GB instance storage (340 GB plus 10 GB root partition) |
32-bit |
Moderate |
c1.medium |
Zend_Service_Amazon_Ec2_Instance::HCPU_MEDIUM
|
High-CPU Extra Large |
20 |
7 GB |
1,690 GB instance storage (4 x 420 GB plus 10 GB root partition) |
64-bit |
High |
c1.xlarge |
Zend_Service_Amazon_Ec2_Instance::HCPU_XLARGE
|




