Autoscaler is not spin ec2

Hi

I have drone server and also an autoscale drone service, all in docker-compose.

the autoscale is not spin out ec2.
when i use the drone cli for autoscale is spin manually ec2, but its not shown in the drone DB.

here is my compose files:

drone-server:

version: “3.8”
services:
drone:
image: drone/drone:${DRONE_SERVER_TAG}
ports:
- “80:80”
environment:
- DRONE_SERVER_HOST=drone.domain.ai
- DRONE_SERVER_PROTO=http
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
- DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID}
- DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}
- DRONE_LOGS_DEBUG=true
- DRONE_CRON_DISABLED=true
- DRONE_DATABASE_DRIVER=postgres
- DRONE_DATABASE_DATASOURCE=postgres://postgres:[email protected]:5432/postgres?sslmode=disable
- DRONE_USER_CREATE=username:admin,admin:true
- DRONE_UI_USERNAME=root
- DRONE_UI_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxx
# - DRONE_TLS_AUTOCERT=true
volumes:
- ./data:/data

and the autoscale compose file:

version: “3.8”
services:
drone:
image: drone/autoscaler:${DRONE_AUTOSCALER_TAG}
restart: always
ports:
- “8080:8080”
environment:
- DRONE_POOL_MIN=${DRONE_POOL_MIN}
- DRONE_POOL_MAX=${DRONE_POOL_MAX}
- DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO}
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
- DRONE_SERVER_TOKEN=${DRONE_SERVER_TOKEN}
- DRONE_AGENT_TOKEN=${DRONE_AGENT_TOKEN}
- DRONE_AMAZON_INSTANCE=${DRONE_AMAZON_INSTANCE}
- DRONE_AMAZON_REGION=${DRONE_AMAZON_REGION}
- DRONE_AMAZON_SUBNET_ID=${DRONE_AMAZON_SUBNET_ID}
- DRONE_AMAZON_SECURITY_GROUP=${DRONE_AMAZON_SECURITY_GROUP}
- DRONE_AMAZON_SSHKEY=${DRONE_AMAZON_SSHKEY}
- DRONE_AMAZON_IMAGE=${DRONE_AMAZON_IMAGE}
- DRONE_AMAZON_TAGS=${DRONE_AMAZON_TAGS}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- DRONE_AGENT_IMAGE=${DRONE_AGENT_IMAGE}
- DRONE_AGENT_LABELS=${DRONE_AGENT_LABELS}
- DRONE_AMAZON_VOLUME_SIZE=50
- DRONE_AMAZON_VOLUME_TYPE=gp2
- DRONE_LOGS_DEBUG=true
- DRONE_LOGS_COLOR=true
- DRONE_LOGS_PRETTY=true
- DRONE_ENABLE_REAPER=true
- DRONE_ENABLE_PINGER=true
- DRONE_INTERVAL=30s
- DRONE_POOL_MIN_AGE=5m
volumes:
- ./autoscaler:/data
- /var/run/docker.sock:/var/run/docker.sock

someone can tell me how to debug the fix the issue?