AWS EC2 Instances Type


General Purpose instances

 provide customers with a balanced set of resources and a high level of processing performance on a low cost platform. Instances in this family are ideal for applications that require balanced CPU and memory performance. Examples of applications that will benefit from the performance of General Purpose instances include encoding, high traffic content management systems, and memcached.

  • m3.medium: 3.75 GiB of memory, 1 vCPU, 3 EC2 Compute Units, 4 GB of SSD-based local instance storage, 64-bit platform
  • m3.large: 7.5 GiB of memory, 2 VCPUs, 6.5 EC2 Compute Units, 32 GB of SSD-based local instance storage, 64-bit platform
  • m3.xlarge: 15 GiB of memory, 4 vCPUs, 13 EC2 Compute Units, 80 GB of SSD-based local instance storage, 64-bit platform
  • m3.2xlarge: 30 GiB of memory, 8 vCPUs, 26 EC2 Compute Units, 160 GB of SSD-based local instance storage, 64-bit platform


Compute Optimized Instance.

 Instances of this family have proportionally more CPU resources than memory (RAM) and are well suited for compute-intensive applications.

C4 instances are based on the Intel Xeon E5-2666 v3 ("Haswell") processor, and are designed to deliver the highest level of compute performance on Amazon EC2.

  • c4.large: 3.75 GiB of memory, 2 vCPUs, 64-bit platform
  • c4.xlarge: 7.5 GiB of memory, 4 vCPUs, 64-bit platform
  • c4.2xlarge: 15 GiB of memory, 8 vCPUs, 64-bit platform
  • c4.4xlarge: 30 GiB of memory, 16 vCPUs, 64-bit platform
  • c4.8xlarge: 60 GiB of memory, 36 vCPUs, 64-bit platform

C3 instances are based on high frequency Intel Xeon E5-2680 v2 ("Ivy Bridge") processors, and are designed for running compute-intensive applications.

  • c3.large: 3.75 GiB of memory, 2 vCPUs, 32 GB of SSD-based local instance storage, 64-bit platform
  • c3.xlarge: 7.5 GiB of memory, 4 vCPUs, 80 GB of SSD-based local instance storage, 64-bit platform
  • c3.2xlarge: 15 GiB of memory, 8 vCPUs, 160 GB of SSD-based local instance storage, 64-bit platform
  • c3.4xlarge: 30 GiB of memory, 16 vCPUs, 320 GB of SSD-based local instance storage, 64-bit platform
  • c3.8xlarge: 60 GiB of memory, 32 vCPUs, 640 GB of SSD-based local instance storage, 64-bit platform
Storage Optimized Instances

Instances of this family provide very high disk I/O performance or proportionally higher storage density per instance, and are ideally suited for applications that benefit from high sequential I/O performance across very large data sets. Storage-optimized instances also provide high levels of CPU, memory and network performance.

  • i2.xlarge: 30.5 GiB of memory, 4 vCPUs, 800 GB of SSD-based instance storage, 64-bit platform
  • i2.2xlarge: 61 GiB of memory, 8 vCPUs, 2 x 800 GB of SSD-based instance storage, 64-bit platform
  • i2.4xlarge: 122 GiB of memory, 16 vCPUs, 4 x 800 GB of SSD-based instance storage, 64-bit platform
  • i2.8xlarge: 244 GiB of memory, 32 vCPUs, 8 x 800 GB of SSD-based instance storage, 64-bit platform, 10 Gigabit Ethernet


Micro instances (t1.micro) 

provide a small amount of consistent CPU resources and allow you to increase CPU capacity in short bursts when additional cycles are available. They are well suited for lower throughput applications and web sites that require additional compute cycles periodically. You can learn more about how you can use Micro instances and appropriate applications in the Amazon EC2 documentation.

  • t1.micro: (Default) 613 MiB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform

EC2 Compute Unit (ECU) – One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor.


06-02
### AWS EC2 使用指南:配置与管理 AWS EC2(Elastic Compute Cloud)是一项灵活的云计算服务,允许用户根据需求快速启动和管理虚拟服务器实例[^2]。以下内容详细介绍了EC2实例的配置与管理方法。 #### 1. 实例类型选择 在创建EC2实例时,用户需要根据工作负载的需求选择合适的实例类型。AWS提供了多种实例类型,包括通用型、计算优化型、内存优化型等。每种类型的实例都针对不同的应用场景进行了优化。例如,对于需要高性能GPU计算的任务,可以选择p系列或g系列实例[^3]。 #### 2. 网络环境定制 为了确保实例的安全性和性能,用户可以通过VPC(Virtual Private Cloud)隔离网络环境,并使用安全组来控制入站和出站流量。此外,IAM(Identity and Access Management)权限控制可以限制对EC2实例的操作权限,从而提高安全性[^1]。 #### 3. SDK与CLI工具使用 AWS CLI(Command Line Interface)和SDK(Software Development Kit)是管理和自动化EC2实例的重要工具。通过这些工具,用户可以轻松地执行诸如启动、停止、终止实例以及监控实例状态等操作。例如,使用AWS CLI启动一个新实例的命令如下: ```bash aws ec2 run-instances --image-id ami-0abcdef1234567890 --count 1 --instance-type t2.micro --key-name MyKeyPair --security-group-ids sg-12345678 --subnet-id subnet-1a2b3c4d ``` #### 4. 资源扩展与可用性 AWS EC2支持在线调整实例配置,无需停机即可完成资源扩展。此外,通过跨可用区(Availability Zone, AZ)自动故障转移功能,用户可以构建高可用的应用程序架构[^3]。 #### 5. 成本优化 AWS EC2提供了多种计费模式,包括按需实例、预留实例和竞价实例。对于需要临时访问大规模GPU计算资源的场景,可以考虑使用EC2容量块(Capacity Blocks),以确保获得所需的计算能力[^4]。 #### 6. 监控与日志管理 AWS CloudWatch 是一种用于监控 EC2 实例性能和健康状况的服务。通过设置自定义指标和警报规则,用户可以及时发现并解决潜在问题。此外,CloudTrail 和 VPC Flow Logs 等服务可以帮助记录和分析与 EC2 实例相关的活动。 ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值