Updating AMI of a EC2 Fleet

0

Is there a way to update the AMI ID used by a EC2 Fleet or Spot Fleet?
I've been reading about Launch Templates, Systems Manager and so on, but it seems to me that for one to change it, we have to terminate the fleet and start a new one.

Edited by: Jorge Oliveira on Feb 22, 2019 6:04 PM

jorge
posta 5 anni fa381 visualizzazioni
1 Risposta
0

I've managed to overcome it by using an Auto Scaling Group attached to a Launch Template, instead of using EC2/Spot Fleet.

Whenever I need to update the AMI, I just create a new version of Launch Template, set it to be the Default one. Since the Auto Scaling Group is set to use the Default version, it will pick up the changes.

jorge
con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande