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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则