Azure 容器实例的最佳实践

Best practice with azure container instances

被要求在 azure 中构建无服务器的云架构计划,但能够过渡到 kubernetes。所以考虑使用 azure 容器实例,因为函数并不是真正的容器部署模型。我对 aci 的有限理解似乎缺乏很多,例如健康检查、体重秤、自动修复等

问题,aci 的最佳实践是什么,是否有支持这些功能的解决方法,查看 msg 网站看起来很有希望,但很难挖掘出确切的推荐设计

Combine ACI with the ACI Logic Apps connector, Azure queues and Azure Functions to build robust infrastructure that can elastically scale out containers on demand. With Azure Container Instances, you can run complex tasks that are capable of responding to events.

对于Azure容器Instance本身来说,相比VM、AKS、Web App等,主要优势在于其最快、最简单。但是你没有太多的控制权。它的主要目的是测试您的图像是否可以 运行 如您所愿。

Azure Logic或Azure Function,只是帮助你在你想要的时候创建和删除Container Instance。或者他们可以从容器实例中获取状态或一些消息,仅此而已。所以如果你想使用 Azure Container Instance 和 Azure Logic 等其他服务,你需要知道它能帮到你什么。

如果您对此问题还有其他疑问,请告诉我,我会尽力帮助您。