哪个 AMI Select(Server 2016 Base 或 Server 2016 Base with Containers)

Which AMI to Select (Sever 2016 Base or Server 2016 Base with Containers)

我正在 AWS 中创建一个新的 EC2 实例。由于我是新手,我对 AMI 感到困惑。

当前使用情况:

未来的需求

已选择环境

当我检查 AMI t select 时,我有 2 个选项:

我在这里很困惑。我明白了,后来有docker个容器。但是我没有在服务器上获得优势。我打算学习docker。但截至目前,我需要您的快速帮助才能继续。正如我指定的那样,在使用代码管道进行配置时,应用程序可能需要 docker 作为构建服务器。

请建议最佳选项和添加功能的需求

如果您对 Docker 感兴趣并计划在 ECS 上 运行 Docker 那么您应该选择 ECS - 优化 Windows 服务器 Amazon 机器映像

就您未来的需求而言,它不依赖于 AMI,但您的容器确实依赖于 AMI。

This week, we’re adding support for running production workloads in Windows containers using Amazon Elastic Container Service (Amazon ECS). Now, Amazon ECS provides an ECS-Optimized Windows Server Amazon Machine Image (AMI). This AMI is based on the EC2 Windows Server 2016 AMI, and includes Docker 17.06 Enterprise Edition and the ECS Agent 1.16. This AMI provides improved instance and container launch time performance. It’s based on Windows Server 2016 Datacenter and includes Docker 17.06.2-ee-5, along with a new version of the ECS agent that now runs as a native Windows service.

这将有助于在未来维护您的 ECS 服务,并且在未优化 ECS 的情况下也比 Microsoft Windows Server 2016 Base 有一些优势。

  • ECS 代理 运行 是一个难以监控和管理的进程。作为一项服务,可以对代理进行健康检查、管理和重新启动,与其他 Windows 服务没有什么不同。

  • AMI 还包括 Windows Server Core 2016 和 Windows Server Nano Server 2016 的预缓存图像。通过在 AMI 中缓存图像,启动新的 Windows 容器明显更快

  • 兼容 Windows 的 ECS 优化 AMI 还向 Amazon CloudWatch 报告 CPU 和内存利用率和预留指标。

您可以探索更多关于 here