What are best practices to deploy from Azure Pipeline to pool of AWS Autoscaling instances?
Our current configuration:
- ELB and few stateless app servers
- Azure Agent on each server (single deployment group)
- Pipeline deploy new app to deployment group one by one
Here are couple of challenges I know (probably, there are also some things to discover) which confuses me:
Autoscaling group needs an AMI. In theory it is possible to create a CLI process to create AMI from one of instances, but how can I prevent specific instance from deletion?
Multiple Azure Deployment Agents with same configuration looks like single server in deployment group. Provided release happens during peak hour and we scaled from 2 to 4 I have no control over which of instance actually received update, thus I will not know which instance should be used as a source for AMI.