AWS自动缩放中min / max = 1的含义是什么

问题描述 投票:1回答:1

我正在研究AWS,根据AWS here中的插图:

enter image description here

对于min / max = 1情况,它隐含了什么?似乎没有缩放比例,因为min = max

谢谢您的启发。

更新:

所以这是一个示例用例:http://www.briefmenow.org/amazon/how-can-you-implement-the-order-fulfillment-process-while-making-sure-that-the-emails-are-delivered-reliably/

您的创业公司希望为销售个性化小工具,平均需要3-4天才能完成某些订单最多需要6个月才能生产,预计需要10个订单在您的第一天每天。 6个月后每天1000个订单,并且12个月后有10,000个订单。检查进入的订单派遣到您的生产工厂进行生产的一致性人员质量控制包装的运输和付款处理产品在任何阶段都不符合质量标准流程员工可能会迫使流程重复执行步骤通过电子邮件通知有关订单状态和任何重大问题他们的订单,例如付款失败。您的案例架构包括适用于您的网站的AWS Elastic Beanstalk,具有用于客户数据和订单。您如何实施订单履行处理过程,同时确保可靠地发送电子邮件?

选项:

A.
Add a business process management application to your Elastic Beanstalk app servers and re-use the ROS
database for tracking order status use one of the Elastic Beanstalk instances to send emails to customers.

B.
Use SWF with an Auto Scaling group of activity workers and a decider instance in another Auto Scaling group
with min/max=1 Use the decider instance to send emails to customers.

C.
Use SWF with an Auto Scaling group of activity workers and a decider instance in another Auto Scaling group
with min/max=1 use SES to send emails to customers.

D.
Use an SQS queue to manage all process tasks Use an Auto Scaling group of EC2 Instances that poll the tasks
and execute them. Use SES to send emails to customers. 

投票的答案是C。

任何人都可以分享您的理解吗?非常感谢。

amazon-web-services autoscaling
1个回答
1
投票

正确,当min / max = 1时,不会向外或向内缩放。或当min = max。这种情况通常用于在发生故障时保持服务可用。

考虑替代方案;您使用已通过一些用户数据脚本自举的EC2实例启动。如果实例出现问题,则需要停止它并开始另一个实例。

相反,您可以使用具有启动配置的AutoScaling组启动,该配置负责引导实例。如果您的应用程序服务器开始出现故障,则可以从AutoScaling组中注销它。当您对有缺陷的实例进行分类时,AWS将负责启动另一个实例。

[您可能会考虑的另一种情况是,您希望选择使用相同的AutoScaling组部署新版本的应用程序。在这种情况下,请创建一个新的启动配置并将其注册到ASG。暂时将最大值和期望值增加1。 AWS将为您启动该实例,如果成功,则可以将Max和Desired降低到1。默认情况下,AWS将删除最旧的服务器,但您可以通过使用终止保护来保证新的服务器正常运行。

© www.soinside.com 2019 - 2024. All rights reserved.