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
已提問 5 年前檢視次數 381 次
1 個回答
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
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南