Elastic Compute Service (ECS) is a high-performance, stable, reliable, and scalable IaaS-level service provided by Alibaba Cloud. It is more convenient and efficient compared with physical servers. You can immediately acquire ECS instances and scale computing resources on-demand. ECS provides a variety of instance types that suit various business needs and help boost business growth.
ECS provides the following benefits:
- You do not have to purchase hardware or construct data centers up front.
- Instances are delivered within minutes, enabling rapid deployment and reducing time to market.
- You can make use of resources in data centers and BGP grids around the world.
- You can scale and release resources based on actual business needs.
- Provides heterogenous computing servers such as GPU, FPGA, bare metal servers, and general x86 servers.
- You can use ECS to access other Alibaba Cloud services over the internal network, reducing traffic costs.
- Provides a host of security solutions, such as virtual firewalls, permission control, internal network isolation, virus protection, and traffic throttling.
- Provides a performance monitoring framework and proactive O&M systems.
- Provides standardized APIs to improve ease of use and applicability.
ECS comprises the following major components:
- Instance: a virtual computing environment 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. The performance of an instance is determined by its vCPUs, memory capacity, and network performance.
- Image: provides the operating system, initial application data, and pre-installed software for instances. Multiple Linux operating systems and Windows Server operating systems are supported.
- Block storage: a block storage device which features high performance and low latency. Distributed storage architecture-based cloud disks, and physical storage-based local disks can be used.
- Snapshot: a stateful data file of a cloud disk or shared block storage at a certain point in time. It is often used to back up and restore data, and to create custom images.
- Security group: a logical group of instances located in 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.
- VPC: a logically isolated private cloud network. You can configure a private IP address range, a route table, and a gateway for a VPC.
- Classic network: all classic instances are primarily built on a shared infrastructure network of Alibaba Cloud, which is planned and managed in a centralized manner.
For more information, see Elastic Compute Service.
After registering an Alibaba Cloud account, you can create, use, or release an ECS instance in any region by using 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 APIs: RPC APIs that support GET and POST requests. For more information, see API Reference. The following developer tools can be used to call ECS APIs:
- 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 APIs, call APIs, and dynamically generate SDK example code.
- Alibaba Cloud SDK: provides SDKs for multiple programming languages such as Java, Python, and PHP.
- Resource Orchestration Service: automatically creates and configures Alibaba Cloud resources based user-defined templates.
- Terraform: an open-source tool that uses configuration files to call computing resources on Alibaba Cloud and other platforms that support Terraform. Terraform also implements version control.
Before you purchase an ECS instance, consider the following factors:
- Regions and zones
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. 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 RDS instance and ECS instance must be in 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. It also supports business system isolation and multi-region system deployment.
- 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, you can use free Anti-DDoS Basic. Alibaba Cloud Security is also available.
Together with ECS, you can select the following Alibaba Cloud services:
- By using Dedicated Host to deploy ECS instances, you are the only tenant of the server. It can reduce the total cost of ownership (TCO) for enterprises.
- Auto Scaling automatically adjusts the number of ECS instances based on business and policy changes.
- Container Service for Kubernetes (ACK) manages application lifecycles on groups of ECS instances.
- Server Load Balancer (SLB) distributes traffic among multiple ECS instances.
- CloudMonitor develops monitoring solutions for instances, system disks, and public network bandwidth.
- ApsaraDB for RDS provides database services accessible over internal networks to ECS instances, reduces network latency, access fees, and delivers top-notch performance. ApsaraDB for RDS supports multiple database engines, including MySQL, SQL Server, PostgreSQL, PPAS, and MariaDB.
- Alibaba Cloud Marketplace: a platform to purchase software infrastructure, business software, website construction, hosted O&M, security, data & APIs, and solutions provided by third-party partners. You can also provide software programs and services as a service provider. For more information, see Alibaba Cloud Marketplace documentation.
For more solutions, see Alibaba Cloud Solutions.