2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
1
You can store the latest AMI ID in the SSM Parameter Store as a parameter. And, in the launch template, use the parameter to use the latest AMI ID in your deployments automatically.
Using SSM Parameter store will additionally allow you to keep track of versions of AMI IDs For reference: https://docs.aws.amazon.com/autoscaling/ec2/userguide/using-systems-manager-parameters.html
respondido há 8 meses
0
--Refer this blog, if it matches your problem.
respondido há 8 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
In addition to the options for updating the AMI in the answers below, you can also then run an Instance Refresh on the ASG to replace all the instances with the updated AMI (unless you have a CI/CD pipeline setup to update the instances in place)