知识卡片
推送配置需要外部控制
推送配置由中央代理通过 SSH 等方式连接新服务器并执行配置,省去镜像内预装工具的需求。代价是外部配置服务必须具有网络可达性及高权限执行能力,形成额外攻击路径;选择时应同时衡量镜像准备成本与控制面权限。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 以代码构建服务器 · 查看原书依据
Teams may prefer using external tools and services to configure new servers because it avoids the need to preinstall server configuration agents, tools, or scripts. However, this approach requires ensuring that the configuration service is able to connect to the new server and execute commands as root, which potentially creates avenues for attackers to exploit.
参考来源
- 位置:《Infrastructure As Code》第11章《以代码构建服务器》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch11.html)
- 结论依据:原文说明推送配置由中央代理通过 SSH 等方式连接新服务器并执行配置,省去镜像内预装工具的需求;本卡据此解释其用途及适用边界。
- 原始内容:Teams may prefer using external tools and services to configure new servers because it avoids the need to preinstall server configuration agents, tools, or scripts. However, this approach requires ensuring that the configuration service is able to connect to the new server and execute commands as root, which potentially creates avenues for attackers to exploit.