---
id: "alibaba-auto-scaling"
type: "component"
kind: "virtual-machine"
provider: "alibabacloud"
category: "compute"
aliases: "ESS"
docs: "https://www.alibabacloud.com/help/en/auto-scaling/"
url: "https://localhost:3000/catalogue/components/alibaba-auto-scaling"
---

# Auto Scaling

Scaling group that adds and removes ECS or ECI instances against scheduled, event-triggered, custom or health-based policies.

| | |
|---|---|
| Provider | [alibabacloud](https://localhost:3000/catalogue?provider=alibabacloud) |
| Kind | [Virtual machine](https://localhost:3000/catalogue/kinds/virtual-machine) |
| Category | Compute |
| Official docs | [https://www.alibabacloud.com/help/en/auto-scaling/](https://www.alibabacloud.com/help/en/auto-scaling/) |
| Also known as | ESS |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `diskEncryption` | boolean | — | no | — | inherited |
| `healthCheck` | boolean | — | no | true | inherited |
| `instanceType` | enum | `ecs`, `eci` | no | "ecs" | inherited |
| `instances` | integer | — | no | — | inherited |
| `managed` | boolean | — | no | false | **false** |
| `memoryGib` | integer | — | no | — | inherited |
| `os` | enum | `linux`, `windows`, `aix`, `ibm-i` | no | "linux" | inherited |
| `publicIp` | boolean | — | no | — | inherited |
| `scalingMode` | enum | `scheduled`, `event-triggered`, `custom`, `health-based`, `fixed-number` | no | — | inherited |
| `sizeVcpu` | integer | — | no | — | inherited |
| `zoneRedundant` | boolean | — | no | — | inherited |

Bold values are the ones this component pins.

## Rules that apply · 1

### Stateful node without zone redundancy `stateful-node-without-zone-redundancy` (error)

- Page: https://localhost:3000/catalogue/rules/stateful-node-without-zone-redundancy.md
- Why: A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- Applies to: every node in category compute
- Message: Stateful node '{{node.id}}' lives in exactly one availability zone. A zone outage takes its state with it.

It fires when:

- all of these hold:
  - the node's `stateless` is false
  - the node sits inside exactly 1 availability-zone group
  - this does not hold:
    - the node sits inside at least one cell group

## Other products of the same kind · 60

- [Elastic Compute Service](https://localhost:3000/catalogue/components/alibaba-ecs.md) `alibaba-ecs` — alibabacloud
- [Edge Node Service](https://localhost:3000/catalogue/components/alibaba-ens.md) `alibaba-ens` — alibabacloud
- [Simple Application Server](https://localhost:3000/catalogue/components/alibaba-simple-application-server.md) `alibaba-simple-application-server` — alibabacloud
- [Amazon EC2](https://localhost:3000/catalogue/components/aws-ec2.md) `aws-ec2` — aws
- [Amazon EC2 Auto Scaling](https://localhost:3000/catalogue/components/aws-ec2-auto-scaling.md) `aws-ec2-auto-scaling` — aws
- [Amazon EC2 Dedicated Hosts](https://localhost:3000/catalogue/components/aws-ec2-dedicated-host.md) `aws-ec2-dedicated-host` — aws
- [Amazon Elastic VMware Service](https://localhost:3000/catalogue/components/aws-evs.md) `aws-evs` — aws
- [Amazon Lightsail](https://localhost:3000/catalogue/components/aws-lightsail.md) `aws-lightsail` — aws
- [AWS Nitro Enclaves](https://localhost:3000/catalogue/components/aws-nitro-enclave.md) `aws-nitro-enclave` — aws
- [Azure BareMetal Infrastructure](https://localhost:3000/catalogue/components/azure-baremetal-infrastructure.md) `azure-baremetal-infrastructure` — azure
- [Azure Compute Fleet](https://localhost:3000/catalogue/components/azure-compute-fleet.md) `azure-compute-fleet` — azure
- [Azure Dedicated Host](https://localhost:3000/catalogue/components/azure-dedicated-host.md) `azure-dedicated-host` — azure
- [Azure Data Science Virtual Machine](https://localhost:3000/catalogue/components/azure-dsvm.md) `azure-dsvm` — azure
- [Nutanix Cloud Clusters on Azure](https://localhost:3000/catalogue/components/azure-nutanix-cloud-clusters.md) `azure-nutanix-cloud-clusters` — azure
- [Azure Virtual Machines](https://localhost:3000/catalogue/components/azure-virtual-machine.md) `azure-virtual-machine` — azure
- [Azure Virtual Machine Scale Sets](https://localhost:3000/catalogue/components/azure-vm-scale-set.md) `azure-vm-scale-set` — azure
- [Azure VMware Solution](https://localhost:3000/catalogue/components/azure-vmware-solution.md) `azure-vmware-solution` — azure
- [Crusoe Cloud VM](https://localhost:3000/catalogue/components/crusoe.md) `crusoe` — default
- [Firecracker](https://localhost:3000/catalogue/components/firecracker.md) `firecracker` — default
- [Microsoft Hyper-V](https://localhost:3000/catalogue/components/hyper-v.md) `hyper-v` — default
- [KubeVirt](https://localhost:3000/catalogue/components/kubevirt.md) `kubevirt` — default
- [Lambda Cloud instance](https://localhost:3000/catalogue/components/lambda-labs.md) `lambda-labs` — default
- [KVM with libvirt](https://localhost:3000/catalogue/components/libvirt.md) `libvirt` — default
- [Nebius AI Cloud VM](https://localhost:3000/catalogue/components/nebius.md) `nebius` — default
- [Nutanix AHV](https://localhost:3000/catalogue/components/nutanix-ahv.md) `nutanix-ahv` — default
- [OpenStack Nova](https://localhost:3000/catalogue/components/openstack-nova.md) `openstack-nova` — default
- [oVirt](https://localhost:3000/catalogue/components/ovirt.md) `ovirt` — default
- [Proxmox VE](https://localhost:3000/catalogue/components/proxmox.md) `proxmox` — default
- [Runpod Pod](https://localhost:3000/catalogue/components/runpod.md) `runpod` — default
- [Vast.ai instance](https://localhost:3000/catalogue/components/vast-ai.md) `vast-ai` — default
- [Generic virtual machine](https://localhost:3000/catalogue/components/virtual-machine.md) `virtual-machine` — default
- [VMware vSphere](https://localhost:3000/catalogue/components/vsphere.md) `vsphere` — default
- [XCP-ng](https://localhost:3000/catalogue/components/xcp-ng.md) `xcp-ng` — default
- [XenServer](https://localhost:3000/catalogue/components/xenserver.md) `xenserver` — default
- [DigitalOcean Bare Metal GPUs](https://localhost:3000/catalogue/components/digitalocean-bare-metal-gpu.md) `digitalocean-bare-metal-gpu` — digitalocean
- [Droplets](https://localhost:3000/catalogue/components/digitalocean-droplet.md) `digitalocean-droplet` — digitalocean
- [Droplet Autoscale Pool](https://localhost:3000/catalogue/components/digitalocean-droplet-autoscale.md) `digitalocean-droplet-autoscale` — digitalocean
- [Bare Metal Solution](https://localhost:3000/catalogue/components/google-bare-metal-solution.md) `google-bare-metal-solution` — gcp
- [Cloud TPU](https://localhost:3000/catalogue/components/google-cloud-tpu.md) `google-cloud-tpu` — gcp
- [Compute Engine](https://localhost:3000/catalogue/components/google-compute-engine.md) `google-compute-engine` — gcp
- and 20 more: https://localhost:3000/catalogue/kinds/virtual-machine.md

## Use it in a design

```yaml
nodes:
  - { id: "alibaba-auto-scaling", component: "alibaba-auto-scaling" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Auto Scaling (ESS): a scaling group that automatically adjusts the number of compute instances based on
# policies you define ("What is Auto Scaling?"). That page states a scaling group is a logical grouping of
# identical instances with minimum and maximum counts and associated load balancers, lists scheduled,
# event-triggered, custom, health-based and fixed-number modes, and notes Auto Scaling itself is free while
# you pay for the ECS and ECI instances it creates. Those instances are ones you patch, so managed is false.
schemaVersion: "1"
type: "component"
id: "alibaba-auto-scaling"
kind: "virtual-machine"
provider: "alibabacloud"
docs: "https://www.alibabacloud.com/help/en/auto-scaling/"
aliases: ["ESS"]
defaults:
  managed: false
properties:
  scalingMode:
    type: "enum"
    values: ["scheduled", "event-triggered", "custom", "health-based", "fixed-number"]
  instanceType:
    type: "enum"
    values: ["ecs", "eci"]
    default: "ecs"
  healthCheck:
    type: "boolean"
    default: true
```

Human page: https://localhost:3000/catalogue/components/alibaba-auto-scaling
