{"id":217651,"date":"2021-05-08T09:00:13","date_gmt":"2021-05-08T01:00:13","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=217651"},"modified":"2021-04-29T15:57:54","modified_gmt":"2021-04-29T07:57:54","slug":"modern-configuration-management","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/modern-configuration-management.html","title":{"rendered":"\u901a\u8fc7\u73b0\u4ee3\u5316\u914d\u7f6e\u7ba1\u7406\u89e3\u51b3\u7f51\u7edc\u590d\u6742\u6027"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u8ba8\u8bba\u5982\u4f55\u9881\u5e03\u7f51\u7edc\u914d\u7f6e\u7684\u53d8\u5316\uff0c\u4ee5\u76f4\u9762\u8fd9\u79cd\u65b0\u5e38\u6001\uff0c\u5e76\u786e\u4fdd\u4f01\u4e1a\u80fd\u591f\u968f\u7740\u5bf9\u7f51\u7edc\u9700\u6c42\u7684\u589e\u957f\u800c\u6709\u6548\u5730\u589e\u957f\u548c\u6269\u5c55\u3002 \n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u5411\u591a\u4e2a\u4e91\u5e73\u53f0\u7684\u6269\u5c55\uff0c\u5e26\u6765\u4e86\u7ba1\u7406\u57fa\u4e8e\u4e91\u7684\u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u548c\u670d\u52a1\u4e0e\u4f01\u4e1a\u73b0\u6709\u5185\u90e8\u8bbe\u5907\u7684\u6311\u6218\u3002\u56e0\u6b64\uff0c\u4e0d\u7b26\u5408\u884c\u4e1a\u548c\u5b89\u5168\u6807\u51c6\uff0c\u4ee5\u53ca\u4f01\u4e1a\u548c\u76d1\u7ba1\u653f\u7b56\u548c\u8981\u6c42\uff0c\u5c06\u5f88\u53ef\u80fd\u6210\u4e3a\u5e38\u6001\u3002\u4e3a\u4e86\u6709\u6548\u5730\u9762\u5bf9\u548c\u7ba1\u7406\u65e5\u76ca\u6269\u5927\u7684\u7f51\u7edc\uff0c\u4f01\u4e1a\u53ef\u4ee5\u901a\u8fc7\u81ea\u52a8\u5316\u6765\u5b9e\u73b0\u7f51\u7edc\u914d\u7f6e\u7684\u6539\u53d8\u548c\u4e0e\u7f51\u7edc\u6709\u5173\u7684\u5e38\u89c1\u914d\u7f6e\u4efb\u52a1\u3002\u4ed6\u4eec\u53ef\u4ee5\u7528\u591a\u4e2a\u8bbe\u5907\u7c7b\u522b\u7684\u914d\u7f6e\u6a21\u677f\u6765\u53d6\u4ee3\u4eba\u5de5\u6d41\u7a0b\u3002\u901a\u8fc7\u81ea\u52a8\u5316\u5b9e\u73b0\u57fa\u7840\u8bbe\u65bd\u7684\u73b0\u4ee3\u5316\uff0c\u5c06\u80fd\u591f\u66f4\u597d\u5730\u7ba1\u7406\u7269\u7406\u3001\u865a\u62df\u548c\u4e91\u539f\u751f\u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u3002<\/p>\n \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u8ba8\u8bba\u5982\u4f55\u9881\u5e03\u7f51\u7edc\u914d\u7f6e\u7684\u53d8\u5316\uff0c\u4ee5\u76f4\u9762\u8fd9\u79cd\u65b0\u5e38\u6001\uff0c\u5e76\u786e\u4fdd\u4f01\u4e1a\u80fd\u591f\u968f\u7740\u5bf9\u7f51\u7edc\u9700\u6c42\u7684\u589e\u957f\u800c\u6709\u6548\u5730\u589e\u957f\u548c\u6269\u5c55\u3002<\/p>\n <\/p>\n \u7f51\u7edc\u6cbb\u7406\u548c\u56e2\u961f\u534f\u4f5c<\/strong><\/div>\n \u968f\u7740\u4f01\u4e1a\u7ee7\u7eed\u540c\u65f6\u91c7\u7528\u591a\u4e2a\u4e91\u5e73\u53f0\u548c\u652f\u6301SaaS\u7684\u670d\u52a1\uff0c\u7f51\u7edc\u56e2\u961f\u5c06\u9700\u8981\u6295\u8d44\u9002\u5f53\u7684\u5de5\u5177\u6765\u534f\u52a9\u6cbb\u7406\u8fd9\u4e2a\u6269\u5927\u7684\u57fa\u7840\u8bbe\u65bd\uff0c\u800c\u4e0d\u662f\u5b8c\u5168\u63a7\u5236\u3002\u7f51\u7edc\u7528\u6237\u5206\u6563\u5728\u5bb6\u4e2d\u3001\u529e\u516c\u5ba4\u6216\u516c\u5171\u533a\u57df\uff0c\u800c\u5e94\u7528\u7a0b\u5e8f\u4e5f\u540c\u6837\u5206\u6563\u5728\u5185\u90e8\u548c\u591a\u4e2a\u4e91\u57fa\u7840\u8bbe\u65bd\u4e2d\u3002\u56e0\u6b64\uff0c\u7f51\u7edc\u56e2\u961f\u5c06\u9700\u8981\u4e0e\u73b0\u6709\u7684CloudOps\u548cDevOps\u56e2\u961f\u5408\u4f5c\u3002\u8fd9\u4e9b\u56e2\u961f\u6709\u4f7f\u7528\u4e91\u57fa\u7840\u8bbe\u65bd\u7684\u7ecf\u9a8c\uff0c\u53ef\u4ee5\u4e0e\u7f51\u7edc\u5de5\u7a0b\u5e08\u5bc6\u5207\u5408\u4f5c\uff0c\u4ee5\u786e\u4fdd\u5feb\u901f\u548c\u5b89\u5168\u7684\u57fa\u7840\u8bbe\u65bd\u90e8\u7f72\uff0c\u4ece\u7eaf\u7cb9\u63a7\u5236\u4e00\u4e2a\u6709\u8fb9\u754c\u7684\u7f51\u7edc\u8fdb\u5165\u4e00\u4e2a\u5bf9\u5206\u6563\u7684\u57fa\u7840\u8bbe\u65bd\u63d0\u4f9b\u6cbb\u7406\u7684\u4e16\u754c\u3002<\/p>\n \u4e0e\u73b0\u6709\u7cfb\u7edf\u7684\u5feb\u901f\u96c6\u6210<\/strong><\/div>\n \u8bb8\u591a\u73b0\u4ee3\u7f51\u7edc\u89e3\u51b3\u65b9\u6848\u6b63\u5728\u4ece\u901a\u8fc7\u547d\u4ee4\u884c\u754c\u9762(CLI)\u7ba1\u7406\u5355\u4e2a\u7f51\u7edc\u8bbe\u5907\uff0c\u8f6c\u5411\u7531\u7f51\u7edc\u63a7\u5236\u5668\u7ba1\u7406\u8be5\u9886\u57df\u7684\u6240\u6709\u7f51\u7edc\u8bbe\u5907\u3002\u8fd9\u4e9b\u7cfb\u7edf\u7684\u4eba\u673a\u754c\u9762\u901a\u5e38\u662f\u4e00\u4e2a\u7f51\u7edc\u524d\u7aef\uff0c\u4f46\u51e0\u4e4e\u603b\u662f\u6709\u4e00\u4e2a\u5b9a\u4e49\u597d\u7684API\u53ef\u7528\u4e8e\u4ee5\u673a\u5668\u4e3a\u4e2d\u5fc3\u7684\u6574\u5408\u3002\u8bf4\u5230\u8fd9\u91cc\uff0c\u867d\u7136\u91c7\u7528API\u4f18\u5148\u7684\u65b9\u6cd5\u4f7f\u7f51\u7edc\u5de5\u7a0b\u5e08\u80fd\u591f\u7b80\u5355\u5730\u5728\u591a\u4e2a\u63a7\u5236\u5668\u548c\u591a\u4e2a\u57df\u4e2d\u8fdb\u884c\u81ea\u52a8\u5316\u66f4\u6539\uff0c\u4f46\u5bf9CLI\u548cAPI\u7684\u652f\u6301\u90fd\u662f\u5fc5\u8981\u7684\uff0c\u56e0\u4e3a\u7ec4\u7ec7\u53ef\u80fd\u4ecd\u7136\u9009\u62e9\u652f\u6301\u73b0\u6709\u7684\u548c\u65b0\u7684CLI\u81ea\u52a8\u5316\u5de5\u4f5c\uff0c\u8fd9\u5c06\u9700\u8981\u9002\u5f53\u7684\u6574\u5408\u3002API\u7cfb\u7edf\u96c6\u6210\u53ef\u4ee5\u7531\u7f51\u7edc\u56e2\u961f\u81ea\u52a8\u751f\u6210\uff0c\u8fd9\u6837\u968f\u7740\u65b0\u7cfb\u7edf\u7684\u90e8\u7f72\uff0c\u7ec8\u7aef\u7528\u6237\u53ef\u4ee5\u5feb\u901f\u521b\u5efa\u96c6\u6210\u3002<\/p>\n \u7269\u7406\u3001\u865a\u62df\u3001\u4e91\u539f\u751f\u7f51\u7edc\u914d\u7f6e\u7684\u7ba1\u7406<\/strong><\/div>\n \u7ba1\u7406\u4e91\u539f\u751f\u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u9700\u8981\u7f51\u7edc\u56e2\u961f\u6d4f\u89c8\u591a\u4e2a\u4e91\u4eea\u8868\u677f\uff0c\u4ee5\u4fbf\u5728\u50cf\u865a\u62df\u79c1\u6709\u4e91(VPC)\u6216\u865a\u62df\u7f51\u7edc(vnet)\u8fd9\u6837\u7684\u666e\u901a\u4e8b\u7269\u4e2d\u8fdb\u884c\u7b80\u5355\u7684\u66f4\u6539\u3002\u8fd9\u5f15\u5165\u4e86\u590d\u6742\u7684\u56e0\u7d20\uff0c\u5e76\u4f7f\u8fc7\u7a0b\u590d\u6742\u5316\u3002\u968f\u7740VPC\u3001vnets\u548c\u5176\u4ed6\u4e91\u539f\u751f\u5de5\u5177\u7684\u6570\u91cf\u5728\u591a\u4e2a\u4e91\u5e73\u53f0\u4e0a\u589e\u957f\uff0c\u7f51\u7edc\u56e2\u961f\u9700\u8981\u4e00\u79cd\u65b9\u6cd5\u6765\u89c4\u8303\u6240\u6709\u7c7b\u578b\u7684\u57fa\u7840\u8bbe\u65bd\u7684\u914d\u7f6e\u3002\u8fd9\u610f\u5473\u7740\u7f51\u7edc\u56e2\u961f\u8981\u6709\u80fd\u529b\u53d1\u73b0\u548c\u7ba1\u7406\u4e91\u539f\u751f\u7f51\u7edc\u670d\u52a1\uff0c\u5982VPC\u6216vnets\uff0c\u5e76\u50cf\u5bf9\u5f85\u4f20\u7edf\u7f51\u7edc\u8bbe\u5907\u4e00\u6837\u5bf9\u5f85\u5b83\u4eec\u3002\u8fd9\u5c06\u4f7f\u56e2\u961f\u80fd\u591f\u5c06\u590d\u6742\u7684\u914d\u7f6e\u8f6c\u5316\u4e3a\u66f4\u7b80\u5355\u7684\u5f00\u653e\u6807\u51c6\u6587\u4ef6\u548c\u6570\u636e\u4ea4\u6362\u683c\u5f0f\u3002<\/p>\n \u6536\u96c6\u548c\u8054\u5408\u6570\u636e<\/strong><\/div>\n \u91c7\u7528\u65b0\u7684\u7f51\u7edc\u89e3\u51b3\u65b9\u6848\u610f\u5473\u7740\u5728\u7f51\u7edc\u9886\u57df\u5b58\u5728\u591a\u4e2a\u771f\u76f8\u6765\u6e90\u3002\u518d\u52a0\u4e0aIP\u5730\u5740\u7ba1\u7406(IPAM)\u3001\u5e93\u5b58\u548c\u76d1\u63a7\u7cfb\u7edf\u4e2d\u5b58\u5728\u7684\u771f\u76f8\u6765\u6e90\uff0c\u5f88\u660e\u663e\uff0c\u5bf9\u5355\u4e2a\u8bbe\u5907\u8fdb\u884c\u7b80\u5355\u7684\u6539\u53d8\u9700\u8981\u5927\u91cf\u7684\u4eba\u529b\u6295\u5165\u3002\u4e00\u4e2a\u4ee5API\u4e3a\u91cd\u70b9\u7684\u89e3\u51b3\u65b9\u6848\u53ef\u4ee5\u7b80\u5316\u6574\u4e2a\u8fc7\u7a0b\u3002\u5b83\u53ef\u4ee5\u5b9e\u73b0\u4e0e\u6240\u6709\u7cfb\u7edf\u7684\u5feb\u901f\u96c6\u6210\uff0c\u8fd9\u610f\u5473\u7740\u4efb\u4f55\u8fd9\u4e9b\u7cfb\u7edf\u4e2d\u5305\u542b\u7684\u4fe1\u606f\u90fd\u53ef\u4ee5\u88ab\u5b9e\u65f6\u63d0\u4f9b\u3002\u6240\u6709\u8fd9\u4e9b\u90fd\u53ef\u4ee5\u901a\u8fc7 \"\u8f6c\u6905 \"\u7684\u65b9\u5f0f\u5728\u4e0d\u6d88\u8017\u65f6\u95f4\u7684\u60c5\u51b5\u4e0b\u5b9e\u73b0\u3002\u914d\u7f6e\u53ef\u4ee5\u5728\u6709\u5173\u8be5\u8bbe\u5907\u53ca\u5176\u5728\u7f51\u7edc\u4e2d\u7684\u72b6\u6001\u7684\u6700\u9ad8\u8d28\u91cf\u7684\u4fe1\u606f\u4e0b\u8fdb\u884c\u3002\u6700\u91cd\u8981\u7684\u662f\uff0c\u7f51\u7edc\u56e2\u961f\u5fc5\u987b\u5bf9\u4ed6\u4eec\u521b\u5efa\u7684\u81ea\u52a8\u5316\u7cfb\u7edf\u5efa\u7acb\u4fe1\u5fc3\u548c\u4fe1\u4efb\uff0c\u5e76\u817e\u51fa\u5b9d\u8d35\u7684\u65f6\u95f4\u6765\u5904\u7406\u7f51\u7edc\u4e0a\u66f4\u9ad8\u7ea7\u522b\u7684\u5de5\u4f5c\u3002<\/p>\n \u5408\u89c4\u6027\u548c\u8865\u6551\u63aa\u65bd<\/strong><\/div>\n \u914d\u7f6e\u7ba1\u7406\u7684\u4e00\u4e2a\u5173\u952e\u56e0\u7d20\u662f\u80fd\u591f\u81ea\u52a8\u8fdb\u884c\u914d\u7f6e\u5907\u4efd\uff0c\u68c0\u67e5\u5408\u89c4\u6027\uff0c\u5e76\u6267\u884c\u667a\u80fd\u8865\u6551\u63aa\u65bd\u3002\u8fd9\u4e5f\u610f\u5473\u7740\u4e3a\u4f20\u7edf\u7684CLI\u57fa\u7840\u8bbe\u65bd\u548c\u73b0\u4ee3API\u9a71\u52a8\u7684\u57fa\u7840\u8bbe\u65bd\u63d0\u4f9b\u5408\u89c4\u6027\u548c\u8865\u6551\u63aa\u65bd\u3002<\/p>\n \u4e00\u4e2a\u7f51\u7edc\u8bbe\u5907\u6216\u4e00\u7ec4\u8bbe\u5907\u53ef\u4ee5\u88ab\u5907\u4efd\uff0c\u5e76\u4e0e\u73b0\u6709\u7684\u8bbe\u5907\u914d\u7f6e\u6216\u4ee5\u524d\u4fdd\u5b58\u7684\u914d\u7f6e\u8fdb\u884c\u6bd4\u8f83\u3002\u7f51\u7edc\u56e2\u961f\u5fc5\u987b\u5b9a\u671f\u5b89\u6392\u5408\u89c4\u6027\u68c0\u67e5\uff0c\u6216\u6839\u636e\u9700\u8981\u5bf9\u914d\u7f6e\u6811\u7684\u4efb\u4f55\u90e8\u5206\u8fdb\u884c\u8fd0\u884c\u3002\u8fd9\u5c06\u5bfc\u81f4\u5373\u65f6\u62a5\u544a\uff0c\u5b83\u5c06\u663e\u793a\u4efb\u4f55\u5b58\u5728\u7684\u914d\u7f6e\u6f02\u79fb\uff0c\u6839\u636e\u6f02\u79fb\u7684\u6570\u91cf\u63d0\u4f9b\u4e00\u4e2a\u5206\u6570\uff0c\u5e76\u63d0\u4f9b\u673a\u4f1a\u7528\u5efa\u8bae\u7684\u914d\u7f6e\u58f0\u660e\u6765\u8865\u6551\u6f02\u79fb\u3002\u81ea\u52a8\u8865\u6551\u5de5\u4f5c\u6d41\u7a0b\u5e94\u8be5\u5728\u4f4e\u4ee3\u7801\u73af\u5883\u4e2d\u521b\u5efa\uff0c\u8fd9\u6837\u7f51\u7edc\u56e2\u961f\u5c31\u53ef\u4ee5\u5728\u5bf9\u7f51\u7edc\u8bbe\u5907\u8fdb\u884c\u4efb\u4f55\u6539\u53d8\u4e4b\u524d\u5b9a\u4e49\u6240\u9700\u7684\u7cbe\u786e\u6761\u6b3e\u548c\u6307\u6807\u3002\u8fd9\u79cd\u68c0\u67e5\u548c\u5e73\u8861\u7684\u65b9\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u4fe1\u4efb\u63aa\u65bd\uff0c\u4ee5\u53ca\u66f4\u9ad8\u7684\u4fe1\u5fc3\uff0c\u5373\u4efb\u4f55\u6539\u53d8\u90fd\u662f\u6839\u636e\u4ed6\u4eec\u7684\u4e13\u4e1a\u77e5\u8bc6\u548c\u6307\u5bfc\u8fdb\u884c\u7684\uff0c\u800c\u4e0d\u9700\u8981\u4eba\u4e3a\u5e72\u9884\u3002<\/p>\n \u75ab\u60c5\u7684\u51fa\u73b0\u52a0\u901f\u4e86\u6570\u5b57\u5316\u8f6c\u578b\u8fdb\u7a0b\uff0c\u63a8\u52a8\u4f01\u4e1a\u5728\u6bd4\u9884\u671f\u66f4\u77ed\u7684\u65f6\u95f4\u5185\u6cbf\u7740\u8fd9\u4e2a\u65c5\u7a0b\u8d70\u5f97\u66f4\u8fdc\u3002\u4e0d\u5e78\u7684\u662f\uff0c\u8fd9\u610f\u5473\u7740\u7f51\u7edc\u6ca1\u6709\u5f97\u5230\u5e94\u6709\u7684\u7ba1\u7406\u3002\u73b0\u5728\u91c7\u53d6\u884c\u52a8\uff0c\u5b9e\u65bd\u9002\u5f53\u7684\u914d\u7f6e\u7ba1\u7406\u53d8\u9769\uff0c\u5c06\u6709\u52a9\u4e8e\u51cf\u8f7b\u7f51\u7edc\u7684\u590d\u6742\u6027\uff0c\u5e76\u5728\u4f01\u4e1a\u9002\u5e94\u65e5\u76ca\u7d27\u5bc6\u7684\u8fde\u63a5\u4e16\u754c\u65f6\uff0c\u4e3a\u672a\u6765\u505a\u597d\u9002\u5f53\u7684\u51c6\u5907\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u5411\u591a\u4e2a\u4e91\u5e73\u53f0\u7684\u6269\u5c55\uff0c\u5e26\u6765\u4e86\u7ba1\u7406\u57fa\u4e8e\u4e91\u7684\u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u548c\u670d\u52a1\u4e0e\u4f01\u4e1a\u73b0\u6709\u5185\u90e8\u8bbe\u5907\u7684\u6311\u6218\u3002\u56e0\u6b64\uff0c\u4e0d\u7b26\u5408\u884c\u4e1a […]<\/p>\n","protected":false},"author":317,"featured_media":211288,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-217651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/217651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/317"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=217651"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/217651\/revisions"}],"predecessor-version":[{"id":217653,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/217651\/revisions\/217653"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/211288"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=217651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=217651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=217651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |