You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Elastic Compute Service (ECS) is Alibaba Cloud's primary compute service, providing scalable virtual servers in the cloud. ECS is the equivalent of AWS EC2 or Azure Virtual Machines.
An ECS instance is a virtual server that you can use to run applications. You choose the:
Alibaba Cloud organises ECS instances into families, each optimised for different workloads:
| Family | Optimised For | Example Use Case |
|---|---|---|
| g (General Purpose) | Balanced CPU and memory | Web servers, app servers |
| c (Compute Optimised) | High CPU-to-memory ratio | Batch processing, CI/CD |
| r (Memory Optimised) | High memory-to-CPU ratio | In-memory databases, caching |
| i (Local SSD) | High I/O performance | NoSQL databases, data warehousing |
| e (Cost-effective) | Economy workloads | Dev/test environments |
| hfg (High Frequency) | High clock speed | Gaming, ad serving |
Instance types follow a pattern like ecs.g7.large:
ecs — the serviceg7 — family g (general purpose), generation 7large — size (vCPUs and memory)An image is a template that contains the OS and optionally pre-installed software. Types include:
Alibaba Cloud Linux is a free, high-performance Linux distribution optimised for Alibaba Cloud infrastructure.
ECS instances use cloud disks for persistent storage:
| Disk Type | Performance | Use Case |
|---|---|---|
| ESSD PL3 | Ultra-high IOPS (up to 1,000,000) | Mission-critical databases |
| ESSD PL2 | High IOPS | Enterprise applications |
| ESSD PL1 | Moderate IOPS | General-purpose workloads |
| ESSD PL0 | Entry-level SSD | Dev/test, lightweight apps |
| Ultra Disk | Standard performance | Cost-effective storage |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.