dianplus/Setup Aliyun ECS Spot Runner

Create and setup a self-hosted runner on Aliyun ECS Spot instance

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
aliyun_access_key_idAliyun Access Key IDyes
aliyun_access_key_secretAliyun Access Key Secretyes
aliyun_region_idAliyun Region ID (e.g., cn-hangzhou)yes
aliyun_vpc_idVPC IDyes
aliyun_security_group_idSecurity Group IDyes
aliyun_image_idImage ID (optional if image_family is provided)no
aliyun_image_familyImage Family (takes precedence over image_id). Must match the architecture specified in 'arch' parameter (e.g., acs:ubuntu_24_04_x64 for amd64, acs:ubuntu_24_04_arm64 for arm64)no
aliyun_key_pair_nameSSH Key Pair Nameno
aliyun_ecs_self_destruct_role_nameECS Self-Destruct Role Name for instance auto-cleanupno
github_tokenGitHub Token for getting registration tokenyes
runner_labelsRunner labels (comma-separated)noself-hosted,Linux,aliyun,spot-instance
runner_versionGitHub Actions Runner versionno2.330.0
aliyun_instance_typeSpecific instance type (e.g., ecs.c7.2xlarge). When provided, ignores min_cpu/max_cpu/min_mem/max_mem/arch and queries spot price for this exact type. Only single value allowed.no
archArchitecture (amd64 or arm64)noamd64
min_cpuMinimum CPU coresno8
min_memMinimum memory in GB (auto-calculated if not provided)no
max_cpuMaximum CPU coresno64
max_memMaximum memory in GB (auto-calculated if not provided)no
http_proxyHTTP Proxy URLno
https_proxyHTTPS Proxy URLno
no_proxyNO_PROXY environment variable valueno
vswitch_id_aVSwitch ID for zone *-ano
vswitch_id_bVSwitch ID for zone *-bno
vswitch_id_cVSwitch ID for zone *-cno
vswitch_id_dVSwitch ID for zone *-dno
vswitch_id_eVSwitch ID for zone *-eno
vswitch_id_fVSwitch ID for zone *-fno
vswitch_id_gVSwitch ID for zone *-gno
vswitch_id_hVSwitch ID for zone *-hno
vswitch_id_iVSwitch ID for zone *-ino
vswitch_id_jVSwitch ID for zone *-jno
vswitch_id_kVSwitch ID for zone *-kno
vswitch_id_lVSwitch ID for zone *-lno
vswitch_id_mVSwitch ID for zone *-mno
vswitch_id_nVSwitch ID for zone *-nno
vswitch_id_oVSwitch ID for zone *-ono
vswitch_id_pVSwitch ID for zone *-pno
vswitch_id_qVSwitch ID for zone *-qno
vswitch_id_rVSwitch ID for zone *-rno
vswitch_id_sVSwitch ID for zone *-sno
vswitch_id_tVSwitch ID for zone *-tno
vswitch_id_uVSwitch ID for zone *-uno
vswitch_id_vVSwitch ID for zone *-vno
vswitch_id_wVSwitch ID for zone *-wno
vswitch_id_xVSwitch ID for zone *-xno
vswitch_id_yVSwitch ID for zone *-yno
vswitch_id_zVSwitch ID for zone *-zno
namedescription
instance_idCreated ECS instance ID
runner_nameRunner name
runner_onlineWhether runner is online (true/false)
cpu_coresInstance CPU cores