GitlabRunner on AWS with spot instance


Our need is to use a gitlab runner that works only when we need it (in order to limit financial costs)

We are deploying the CI/CD in gitlab using a gitlabrunner on the AWS provider.
We follow this procedure: Autoscaling GitLab Runner on AWS EC2 | GitLab

We use the executor mode : docker+machine

We notice that the AWS driver used to manage the creation of spot instances, named amazonec2, is not maintained since Nov 9, 2022 (machine/amazonec2.go at master · docker/machine · GitHub)

We also notice that the system uses “docker machine” while Docker Machine is now deprecated by Docker

Question 1: Do you have a procedure to use another driver for Amazon EC2 that is still maintained?

Question 2: Do you have a procedure to use another system than “docker machine” that uses a system maintained by docker?