What is Amazon EC2?
Amazon Elastic Compute Cloud (Amazon EC2) provides on-demand, scalable computing capacity in the Amazon Web Services (AWS) Cloud. Using Amazon EC2 reduces hardware costs so ou can develop and deploy application faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. You can add capacity (scale up) to handle compute-heavy tasks, such as monthly or yearly processes, or spikes in website traffic. When usage decreases, you can reduce capacity (scale down) again.
An EC2 instance is a virtual server in the AWS Cloud. When you launch an EC2 instance, the instance type that you specify determines the hardware available to your instance. Each instance type offers a different balance of compute, memory, network, and storage resources. For more information, see the Amazon EC2 Instance Types Guide.
Pricing for Amazon EC2
Free Tier | |
On-Demand Instances | Pay for the instances that you use by the second, with a minimum of 60 seconds, with no long-term commitments or upfront payments. |
Savings Plans | You can reduce your Amaxon EC2 costs by making a commitment to a consistent amount fo usage, in USD per hour, for a term of 1 or 3 years. |
Reserved Instances | You can reduce your Amazon EC2 costs by making a commitment to a specific instance configuration, including instance type and Region, for a term of 1 or 3 years. |
Spot Instances | Request unused EC2 instances, which can reduce your Amazon EC2 costs significantly. |
Dedicated Hosts | Reduce costs by using a physical EC2 server that is fully dedicated for your use, either On-Demand or as part of a Savings Plan. You can use your existing server-bound software licenses and get help meeting compliance requirements. |
On-Demand Capacity Reservations | Reserve compute capacity for your EC2 instances in a specific Availability Zone for any duration of time. |
Per-second billing | Removes the cost of unused minutes and secnds from your bil. |
Amazon EC2 instance types
General purpose | M5 | M5a | M5ad | M5d | M5dn | M5n | M5zn | M6a | M6g | M6gd | M6i | M6id | M6idn | M6in | M7a | M7g | M7gd | M7i | M7i-flex | M8g | Mac1 | Mac2 | Mac2-m1ultra | Mac2-m2 | Mac2-m2pro | T2 | T3 | T3a | T4g |
Compute optimized | C5 | C5a | C5ad | C5d | C5n | C6a | C6g | C6gd | C6gn | C6i | C6id | C6in | C7a | C7g | C7gd | C7gn | C7i | C7i-flex | C8g |
Memory optimized | R5 | R5a | R5ad | R5b | R5d | R5dn | R5n | R6a | R6g | R6gd | R6i | R6idn | R6in | R6id | R7a | R7g | R7gd | R7i | R7iz | R8g | U-3tb1 | U-6tb1 | U-9tb1 | U-12tb1 | U-18tb1 | U-24tb1 | U7i-12tb | U7in-16tb | U7in-24tb | U7in-32tb | X1 | X2gd | X2idn | X2iedn | X2iezn | X1e | X8g | z1d |
Storage optimized | D2 | D3 | D3en | H1 | I3 | I3en | I4g | I4i | Im4gn | Is4gen |
Accelerated computing | DL1 | DL2q | F1 | G4ad | G4dn | G5 | G5g | G6 | G6e | Gr6 | Inf1 | Inf2 | P2 | P3 | P3dn | P4d | P4de | P5 | P5e | Trn1 | Trn1n | VT1 |
High-performance computing | Hpc6a | Hpc6id | Hpc7a | Hpc7g |