Elastic Compute Service (ECS) is a high-performance, stable, reliable, and scalable IaaS-level service provided by Alibaba Cloud. ECS eliminates the need to invest in IT hardware up front and allows you to quickly scale computing resources on demand, making ECS more convenient and efficient than physical servers. ECS provides a variety of instance types that suit different business needs and help boost business growth.
ECS provides the following benefits:
- You do not have to purchase hardware or construct data centers.
- Instances can be delivered within minutes, enabling rapid deployment and reducing time to market.
- You can make use of resources in data centers and BGP servers around the world.
- You can scale resources up or down based on your actual business needs at a transparent, easy-to-understand cost.
- x86 architecture-based ECS instances, ECS Bare Metal instances, and heterogenous computing ECS instances such as those with GPUs and FPGAs are provided.
- You can use ECS to access other Alibaba Cloud services over the internal network, reducing Internet traffic costs.
- A host of security solutions such as virtual firewalls, role-based permission control, internal network isolation, virus protection, and traffic throttling are provided.
- ECS comes with a performance monitoring framework and active O&M system.
- A standardized API is provided to improve ease-of-use and applicability.
ECS comprises the following major components:
- Instance: An ECS instance is a virtual server that includes basic computing components such as CPU, memory, operating system, bandwidth, and disks. The computing performance, memory specifications, and applicable scenarios of an instance are determined by its instance type. Each instance type has particular specifications, including the number of vCPUs, memory capacity, and network performance.
- Image: Images provide operating systems, initial application data, and pre-installed software for instances. Multiple Linux distributions and Windows Server operating systems are supported.
- Block Storage: Block Storage devices feature high performance and low latency. ECS comes with distributed storage architecture-based cloud disks and physical storage-based local disks.
- Snapshot: A snapshot is a stateful data file of a cloud disk at a certain point in time. Snapshots are often used to back up and restore data or to create custom images.
- Security group: A security group is a logical grouping of instances located within the same region that have the same security requirements and require access to each other. A security group works as a virtual firewall for the ECS instances inside it.
- Virtual private cloud (VPC): A VPC is a logically isolated private cloud network. You can configure a private IP address range, a routing table, and a gateway for a VPC.
- Classic network: All classic network-type instances are built on a shared infrastructure network that is centrally planned and managed by Alibaba Cloud.
For more information, see the Elastic Compute Service page.
ECS supports multiple billing methods such as subscription and pay-as-you-go and purchasing options such as reserved instances and preemptible instances. For more information, see Billing overview and the Pricing tab of the Elastic Compute Service page.
After registering an Alibaba Cloud account, you can create, use, or release ECS instances in any region by using one of the following methods provided by Alibaba Cloud:
- ECS console: a web service page used to manage ECS instances. For more information, see Quick reference.
- ECS API: an RPC API that supports GET and POST requests. For more information, see
API Reference. The following developer tools can be used to call ECS API operations:
- CLI: a flexible and scalable management tool based on Alibaba Cloud APIs. You can use CLI to encapsulate Alibaba Cloud native APIs to develop custom features.
- OpenAPI Explorer: allows you to retrieve API operations, call API operations, and dynamically generate SDK sample code.
- Alibaba Cloud SDK: SDKs for a variety of programming languages such as Java, Python, and PHP are provided.
- Resource Orchestration Service (ROS): automatically creates and configures Alibaba Cloud resources based on user-defined templates.
- Terraform: an open-source tool that uses configuration files to call computing resources of Alibaba Cloud and other platforms that support Terraform. Terraform also implements version control.
Before you purchase an ECS instance, consider the following factors:
- Region and zone
A region represents an Alibaba Cloud data center. The region and zone determine the physical location of an ECS instance. After an instance is created, its metadata is established and its region cannot be changed. You can obtain metadata only of the ECS instances located within VPCs. Select a region and zone based on the target geographical location, availability of Alibaba Cloud services, application availability requirements, and whether internal network communication is required. For example, if you want to access both ECS and ApsaraDB for RDS, the ApsaraDB for RDS instance and ECS instance must be within the same region. For more information, see Regions and zones.
- High availability
To ensure business consistency and continuity, we recommend that you use snapshots to back up data, and use multi-zone deployment, deployment sets, and Server Load Balancer (SLB) for disaster recovery.
- Network planning
We recommend that you use VPC to plan your own private IP addresses. VPC supports all new features and new instance types. VPC also supports business system isolation and multi-region system deployment. For more information, see What is a VPC?.
- Security solutions
You can use ECS security groups to control inbound and outbound access policies and the port listening status of ECS instances. For applications deployed on ECS instances, Anti-DDoS Basic are provided for free. Alibaba Cloud Security is also available.
Together with ECS, you can select the following Alibaba Cloud services:
- Auto Scaling: automatically adjusts the number of ECS instances based on business and policy changes. For more information, see What is Auto Scaling?.
- Dedicated Host (DDH): allows you to deploy ECS instances on a dedicated host to have dedicated use of its physical resources. DDH also allows you to migrate your businesses to the cloud at minimal costs while meeting compliance requirements. For more information, see What is Dedicated Host (DDH)?.
- Container Service for Kubernetes: manages application lifecycles on groups of ECS instances. For more information, see What is Container Service for Kubernetes?.
- Server Load Balancer (SLB): distributes traffic among multiple ECS instances. For more information, see What is Server Load Balancer?.
- CloudMonitor: develops monitoring solutions for instances, system disks, and public bandwidth. For more information, see Overview.
- ApsaraDB for RDS: provides database services accessible over internal networks to ECS instances, reduces network latency and access fees, and delivers top-notch performance. ApsaraDB for RDS supports multiple database engines, including MySQL, SQL Server, PostgreSQL, PPAS, and MariaDB. For more information, see What is ApsaraDB for RDS?.
- Alibaba Cloud Marketplace: a platform where third-party partners provide software infrastructure, business software, and various software and services related to website construction, hosted O&M, security, data, APIs, and solutions. You can also provide software and services as a service provider in Alibaba Cloud Marketplace.
For more solutions, see Alibaba Cloud Solutions.