

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 如何创建异步推理端点
<a name="async-inference-create-endpoint"></a>

创建异步终端节点的方式与使用 SageMaker AI 托管服务创建终端节点的方式相同：
+ 使用在 SageMaker AI 中创建模型`CreateModel`。
+ 使用 `CreateEndpointConfig` 创建端点配置。
+ 使用 `CreateEndpoint` 创建 HTTPS 端点。

要创建端点，首先要使用 [https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_CreateModel.html](https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_CreateModel.html) 创建模型，在其中指向模型构件和 Docker 注册表路径（映像）。然后，您可以使用配置来指定一个或多个使用[https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_CreateEndpointConfig.html](https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_CreateEndpointConfig.html)要部署的 `CreateModel` API 创建的模型以及您希望 SageMaker AI 配置的资源。使用在请求中指定的端点配置，通过 [https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_CreateEndpoint.html](https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_CreateEndpoint.html) 创建端点。您可以使用 [https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_UpdateEndpoint.html](https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_UpdateEndpoint.html) API 更新异步端点。使用 `InvokeEndpointAsync` 发送和接收来自托管在端点上的模型的推理请求。您可以使用 [https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_DeleteEndpoint.html](https://docs.amazonaws.cn/sagemaker/latest/APIReference/API_DeleteEndpoint.html) API 删除端点。

有关可用 SageMaker 图像的完整列表，请参阅[可用的 Deep Learning Containers 镜像](https://github.com/aws/deep-learning-containers/blob/master/available_images.md)。有关如何创建 Docker 映像的信息，请参阅[具有自定义推理代码的容器](your-algorithms-inference-main.md)。

**Topics**
+ [创建模型](async-inference-create-endpoint-create-model.md)
+ [创建端点配置](async-inference-create-endpoint-create-endpoint-config.md)
+ [创建端点](async-inference-create-endpoint-create-endpoint.md)