知识卡片
镜像烘焙与实例配置
烘焙把软件和配置预先装进镜像,提升扩容与恢复时的启动速度,也能离线测试一致产物;但改动要经过镜像构建交付。创建时配置更灵活,适合当时才知道的实例差异,却增加启动工作。常见折中是把大组件烘焙,创建时只注入必要差异。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 以代码构建服务器 · 查看原书依据
Building configuration into server images (baking) optimizes for speed and ease of creating server instances. This process is especially useful for event-driven server creation like auto-scaling and recovery, when it’s important to get new servers into service quickly. Another advantage is that the image can be thoroughly tested offline with the confidence that servers created
参考来源
- 位置:《Infrastructure As Code》第11章《以代码构建服务器》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch11.html)
- 结论依据:原文说明烘焙把软件和配置预先装进镜像,提升扩容与恢复时的启动速度,也能离线测试一致产物;但改动要经过镜像构建交付;本卡据此解释其用途及适用边界。
- 原始内容:Building configuration into server images (baking) optimizes for speed and ease of creating server instances. This process is especially useful for event-driven server creation like auto-scaling and recovery, when it’s important to get new servers into service quickly. Another advantage is that the image can be thoroughly tested offline with the confidence that servers created