We can use Harness CI to perform builds using AWS VMs as detailed here.
When we set up the drone build pool, we might need to have some custom configuration to be applied in the VM image. The first thing we would think about in AWS infrastructure is the option to specify the custom configuration in the user data field.
Updating user data in
.drone_pool.yml file is possible, however, it is prone to errors. Hence the suggested way here is to create a custom AMI with a startup script that runs on every vm bootup.
To create a custom windows ami that works with windows pool, follow the steps mentioned in “Run Sysprep with EC2Config or EC2Launch” section in the doc