Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 更新live AWS Sagemaker自动缩放的端点实例类型,而无需将其放下_Amazon Web Services_Amazon Sagemaker - Fatal编程技术网

Amazon web services 更新live AWS Sagemaker自动缩放的端点实例类型,而无需将其放下

Amazon web services 更新live AWS Sagemaker自动缩放的端点实例类型,而无需将其放下,amazon-web-services,amazon-sagemaker,Amazon Web Services,Amazon Sagemaker,我有一个活动的AWS Sagemaker端点,其中启用了自动缩放。 现在我想将它从“ml.t2.xlarge”更新为“ml.t2.2xlarge”,但它显示了这个错误 botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the UpdateEndpoint operation: The variant(s) "[config1]" must be deregistered a

我有一个活动的AWS Sagemaker端点,其中启用了自动缩放。 现在我想将它从“ml.t2.xlarge”更新为“ml.t2.2xlarge”,但它显示了这个错误

botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the 
UpdateEndpoint operation: The variant(s) "[config1]" must be deregistered as scalable targets with 
Application Auto Scaling before they can be removed or have their instance type updated.
我认为我们需要首先使用此链接取消注册自动缩放


但我怀疑我们的申请是否会被取消,新的培训模式将需要几个小时。我们负担不起,因此,如果有更好的方法,请告诉我。

在不受可用性影响的情况下,更新端点实例类型应该没有问题。当具有活动的自动缩放策略时,基本方法如下所示:

创建使用新实例类型ml.t2.2xlarge的新EndpointConfig 打个电话就可以了。 传入与上一个端点配置相同的值。您也可以指向您所使用的相同型号名称。通过重用相同的模型,您不必对其进行再培训或其他任何操作 根据您的自动缩放,您可能希望在执行此操作时增加端点需要缩放的事件中所需的端点计数。 如果您在进行这些API调用时遇到流量高峰,那么如果您的模型无法跟上流量,您就有可能中断模型。请记住这一点,并尽可能提前考虑这种可能性。 像以前一样调用UpdateEndpoint并指定此新的EndpointConfigName 等待端点状态为“正在使用”。这需要10-20分钟。 对于这个新的端点和生产变量 在不牺牲可用性的情况下,您应该可以很好地使用