├── AutoScaler ├── lambdas │ ├── check-cool-down │ │ └── handler.py │ ├── determine-scaling │ │ └── handler.py │ ├── find-idle-runner │ │ └── handler.py │ ├── get-queued-run-count │ │ └── handler.py │ ├── get-runner-count │ │ └── handler.py │ ├── scale-in │ │ └── handler.py │ └── scale-out │ │ └── handler.py ├── statemachine │ └── statemachine-autoscale.asl.json └── template.yaml ├── Infrastructure ├── AuthLambda │ └── auth.py ├── api.yaml └── template.yaml ├── LICENSE ├── README.md ├── Runners ├── lambdas │ └── lifecycle │ │ └── terminate.py └── template.yaml └── images ├── architecture.png └── stepfunctions_graph.png /AutoScaler/lambdas/check-cool-down/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/check-cool-down/handler.py -------------------------------------------------------------------------------- /AutoScaler/lambdas/determine-scaling/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/determine-scaling/handler.py -------------------------------------------------------------------------------- /AutoScaler/lambdas/find-idle-runner/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/find-idle-runner/handler.py -------------------------------------------------------------------------------- /AutoScaler/lambdas/get-queued-run-count/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/get-queued-run-count/handler.py -------------------------------------------------------------------------------- /AutoScaler/lambdas/get-runner-count/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/get-runner-count/handler.py -------------------------------------------------------------------------------- /AutoScaler/lambdas/scale-in/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/scale-in/handler.py -------------------------------------------------------------------------------- /AutoScaler/lambdas/scale-out/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/lambdas/scale-out/handler.py -------------------------------------------------------------------------------- /AutoScaler/statemachine/statemachine-autoscale.asl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/statemachine/statemachine-autoscale.asl.json -------------------------------------------------------------------------------- /AutoScaler/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/AutoScaler/template.yaml -------------------------------------------------------------------------------- /Infrastructure/AuthLambda/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/Infrastructure/AuthLambda/auth.py -------------------------------------------------------------------------------- /Infrastructure/api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/Infrastructure/api.yaml -------------------------------------------------------------------------------- /Infrastructure/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/Infrastructure/template.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/README.md -------------------------------------------------------------------------------- /Runners/lambdas/lifecycle/terminate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/Runners/lambdas/lifecycle/terminate.py -------------------------------------------------------------------------------- /Runners/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/Runners/template.yaml -------------------------------------------------------------------------------- /images/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/images/architecture.png -------------------------------------------------------------------------------- /images/stepfunctions_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JimmyDqv/self-hosted-runners-on-aws/HEAD/images/stepfunctions_graph.png --------------------------------------------------------------------------------