သဘောတရား · CLF-C02 အပေါ် ဆက်လေ့လာရန်
Instance families and sizing
Read the family letter, generation and size, then match CPU, memory, disk and network to the workload.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Cloud Practitioner မှ သင်သိပြီးသားများ
- Instance types are grouped by workload: general purpose, compute, memory, storage and accelerated.
- The first letter shows the family: C for compute, R for memory, M for general purpose.
- T instances are burstable.
M
- Strength
- Balanced
- Workload
- Web and app servers
C
- Strength
- Fast CPU
- Workload
- Batch, encoding, gaming
R and X
- Strength
- Lots of memory
- Workload
- In-memory databases, caches
I
- Strength
- Local NVMe IOPS
- Workload
- NoSQL, transactional databases
G and P
- Strength
- GPUs
- Workload
- Graphics, ML training
T
- Strength
- CPU credits
- Workload
- Low average CPU, spikes
| Family | Strength | Workload |
|---|---|---|
| M | Balanced | Web and app servers |
| C | Fast CPU | Batch, encoding, gaming |
| R and X | Lots of memory | In-memory databases, caches |
| I | Local NVMe IOPS | NoSQL, transactional databases |
| G and P | GPUs | Graphics, ML training |
| T | CPU credits | Low average CPU, spikes |
1 / 2
M
- Strength
- Balanced
- Workload
- Web and app servers
C
- Strength
- Fast CPU
- Workload
- Batch, encoding, gaming
R and X
- Strength
- Lots of memory
- Workload
- In-memory databases, caches
| Family | Strength | Workload |
|---|---|---|
| M | Balanced | Web and app servers |
| C | Fast CPU | Batch, encoding, gaming |
| R and X | Lots of memory | In-memory databases, caches |
2 / 2
I
- Strength
- Local NVMe IOPS
- Workload
- NoSQL, transactional databases
G and P
- Strength
- GPUs
- Workload
- Graphics, ML training
T
- Strength
- CPU credits
- Workload
- Low average CPU, spikes
| Family | Strength | Workload |
|---|---|---|
| I | Local NVMe IOPS | NoSQL, transactional databases |
| G and P | GPUs | Graphics, ML training |
| T | CPU credits | Low average CPU, spikes |
ဘာလဲ
A name such as m7g.2xlarge reads as family m, generation 7, g for Graviton (AWS Arm processors), size 2xlarge. Other letters after the number: a for AMD, i for Intel, d for local NVMe disks, n for extra network speed.
M is balanced. C suits CPU-bound work such as batch and video encoding. R and X suit memory-bound work such as in-memory databases and caches. I suits high random IOPS from local NVMe disks, such as NoSQL and transactional databases. G and P carry GPUs for graphics and ML. T is for low average CPU with spikes.
ဘာလဲ
Graviton (arm64) often gives better price performance, but software must support arm64. A larger size adds vCPU, memory, network and EBS bandwidth. Choose the size from metrics. If one resource is at its limit, change the family, not only the size. Memory is not a default EC2 metric: install the CloudWatch agent.
မှတ်ထားရန်
- C for CPU-bound, R for memory-bound, I for local disk IOPS, G and P for GPUs, M for balanced.
- T instances earn credits. Use them for low average CPU with spikes.
- Graviton (g in the name): arm64, often better price performance.
- A bigger size adds vCPU, memory, network and EBS bandwidth.
မှတ်ထားရန်
- Memory use needs the CloudWatch agent. EC2 does not report it by default.
- To change the type, stop the instance, change it, and start it again.
စာမေးပွဲမှာ
- “In-memory database that is memory-bound” points to the R or X family.
- “CPU-bound batch processing at the lowest cost” points to the C family.
- “Highest random IOPS from local disks” points to the I family.
- “Lower cost for a Linux app that supports arm64” points to Graviton instances.
ဒါတွေနဲ့ မရောပါနဲ့
Amazon Elastic Compute Cloud (Amazon EC2)Placement groups, network adapters, burstable credits, hibernation and tenancy: EC2 choices that change performance.
- Instance storeVery fast local disks that are lost when the instance stops. Use them with replication.
AWS Auto ScalingPick the scaling policy and metric, set warm-up, and know warm pools, lifecycle hooks and launch templates.