部署期间如何在 aws sagemaker 中使用 nginx?

ita*_*alo 8 machine-learning nginx gunicorn amazon-sagemaker

AWS 实例的数量与 Nginx 和 Gunicorn 工作线程有何关系?

AWS Sagemaker 使用serve 命令调用存储在ECR 中的docker 容器。实例的数量和类型在估计器(sage.estimator.Estimator)中设置,但是,每个 docker 容器都有 Nginx 和 Gunicorn 设置。

是否启动了一个较小的实例来执行 nginx proxy_pass?请求是否在线程级别在每个容器内进行代理?

https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-hosting.html

https://docs.aws.amazon.com/sagemaker/latest/dg/adv-bring-own-examples.html