知识卡片
拉取配置减少入站权限
初始化脚本可在首次启动时读取角色和参数,下载配置代码并执行。服务器主动拉取,不需要外部服务以 root 权限连入,甚至可不运行 SSH。镜像需预装代理,或在启动时下载工具;配置完成之前不应把实例交付使用。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 以代码构建服务器 · 查看原书依据
The advantage of configuring a new server by using an initialization script is that it isn’t necessary to open the server for external services or tools to connect over the network and run commands with root access. Server images can be more secure, possibly not even needing to run services like Secure Shell (SSH) at
参考来源
- 位置:《Infrastructure As Code》第11章《以代码构建服务器》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch11.html)
- 结论依据:原文说明初始化脚本可在首次启动时读取角色和参数,下载配置代码并执行;本卡据此解释其用途及适用边界。
- 原始内容:The advantage of configuring a new server by using an initialization script is that it isn’t necessary to open the server for external services or tools to connect over the network and run commands with root access. Server images can be more secure, possibly not even needing to run services like Secure Shell (SSH) at