在使用 Auto Scaling 的应用层实例中,能否修改正在运行实例的 instance type?如果可以,怎么做?(选项:修改 launch configuration / tags / policy / 不能改)
Can you change the instance type of instances in an Auto Scaling application tier? If yes, how? (Options: modify launch configuration / tags / policy / cannot be changed)
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: medium
分类: AWS Compute
标签: auto-scaling, launch-configuration, launch-template, instance-type
参考答案摘要
核心答案 可以,通过修改 Auto Scaling 的 Launch Configuration(或更现代的 Launch Template) 来更改 instance type,然后触发滚动替换/实例刷新,让新实例按新规格启动。 补充 仅改 tag 或 scaling policy 不会改变实例规格。 已经运行的旧实例通常需要通过实例刷新(Instance Refresh)或手动替换来生效。
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。