{"id":873,"date":"2022-12-22T18:50:50","date_gmt":"2022-12-22T09:50:50","guid":{"rendered":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/?p=873"},"modified":"2023-01-13T14:09:34","modified_gmt":"2023-01-13T05:09:34","slug":"gcp%e3%82%b3%e3%83%88%e3%83%8f%e3%82%b8%e3%83%a1-3","status":"publish","type":"post","link":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/873\/","title":{"rendered":"GCP\u30b3\u30c8\u30cf\u30b8\u30e1"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">GCE\u306eOS\u81ea\u52d5\u66f4\u65b0\u306b\u3064\u3044\u3066<\/h2>\n\n\n\n<p><span style=\"border-bottom: solid 3px #4169e1\">\u904b\u7528\u958b\u767a\u30b0\u30eb\u30fc\u30d7\u306etate<\/span>\u3067\u3059\u3002<br>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306fGoogle Cloud(GCP)\u3092\u5229\u7528\u3057\u3066\u3044\u304f\u4e0a\u3067\u3061\u3087\u3063\u3068\u3057\u305f\u30c8\u30d4\u30c3\u30af\u306a\u3069\u3092\u7d39\u4ecb\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br><em>\u203b\u672c\u6295\u7a3f\u306f2022\/12\/21\u6642\u70b9\u306e\u60c5\u5831\u3067\u3059\u3002<\/em><\/p>\n\n\n\n<p>\u3000GCE\u3067GCP\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30a4\u30e1\u30fc\u30b8\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u3044\u3064\u306e\u9593\u306b\u304b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u65b0\u3057\u304f\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306fGCP\u304c\u63d0\u4f9b\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u3067\u306f<strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u81ea\u52d5\u66f4\u65b0\u306e\u6a5f\u80fd\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b<\/strong>\u304b\u3089\u3067\u3059\u3002<br>\u3000\u516c\u5f0f\u30b5\u30a4\u30c8\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30\u306b\u3042\u308b\u81ea\u52d5\u66f4\u65b0\u3088\u308a\u3001\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u4eca\u56de\u306f<strong>\u81ea\u52d5\u66f4\u65b0<\/strong>\u306b\u3064\u3044\u3066\u3068<strong>Red Hat Enterprise Linux  8 (RHEL8)<\/strong>\u306b\u3064\u3044\u3066\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002\u3000<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u81ea\u52d5\u66f4\u65b0<br>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u3053\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306f\u3001RHEL yum-cron \u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u66f4\u65b0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3088\u3046\u306b\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u66f4\u65b0\u306f\u6b21\u306e\u3088\u3046\u306b\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0 \u30d9\u30f3\u30c0\u30fc\u306b\u3088\u308b\u3053\u3046\u3057\u305f\u81ea\u52d5\u66f4\u65b0\u3067\u306f\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306e\u30e1\u30b8\u30e3\u30fc \u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li>RHEL 7 \u4ee5\u964d\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3082\u3001\u30d9\u30f3\u30c0\u30fc\u304c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3068\u3057\u3066\u30de\u30fc\u30af\u3057\u305f\u66f4\u65b0\u306e\u307f\u3092\u9069\u7528\u3059\u308b\u3088\u3046\u306b\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u4e00\u90e8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u306f\u3001\u53cd\u6620\u3059\u308b\u305f\u3081\u306b\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u518d\u8d77\u52d5\u306f\u81ea\u52d5\u7684\u306b\u306f\u884c\u308f\u308c\u307e\u305b\u3093<\/li>\n<\/ul>\n<cite>\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30<br>https:\/\/cloud.google.com\/compute\/docs\/images\/os-details?hl=ja#red_hat_enterprise_linux_rhel<\/cite><\/blockquote>\n\n\n\n<p>\u3000\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u95a2\u3059\u308b\u81ea\u52d5\u66f4\u65b0\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002RHEL\u306b\u3064\u3044\u3066\u306fyum-cron\u3092\u5229\u7528\u3057\u3066\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u518d\u8d77\u52d5\u306f\u81ea\u52d5\u7684\u306b\u884c\u308f\u308c\u306a\u3044\u305f\u3081\u3001\u5b9a\u671f\u7684\u306b\u518d\u8d77\u52d5\u3092\u884c\u3046\u904b\u7528\u304c\u5fc5\u8981\u306a\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306bRHEL8\u3067\u78ba\u8a8d\u3059\u308b\u3068yum-cron\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u6539\u3081\u3066\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u30a4\u30e1\u30fc\u30b8\u306e\u69cb\u6210<br>&#8211;\u4e2d\u7565&#8211;<br>\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u69cb\u6210<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u81ea\u52d5\u66f4\u65b0\u306f\u6b21\u306e\u3088\u3046\u306b\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>RHEL 7 \u306e\u5834\u5408\u306f\u3001yum-cron \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>RHEL 8 \u4ee5\u964d\u306e\u5834\u5408\u306f\u3001dnf automatic \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u3059\u3079\u3066\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3001update_cmd \u30d7\u30ed\u30d1\u30c6\u30a3\u304c security \u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>yum \u307e\u305f\u306f dnf config \u30d5\u30a1\u30a4\u30eb\u3067\u306f IPv6 \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<cite>\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30<br>https:\/\/cloud.google.com\/compute\/docs\/images\/os-details?hl=ja#red_hat_enterprise_linux_rhel<\/cite><\/blockquote>\n\n\n\n<p>\u3000RHEL8\u306e\u81ea\u52d5\u66f4\u65b0\u304c\u300cdnf automatic\u300d\u306b\u3088\u3063\u3066\u5236\u5fa1\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u4f46\u3057\u3001\u3069\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u3067\u884c\u308f\u308c\u3044\u308b\u306e\u304b\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u3042\u305f\u308a\u306fGCP\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u3082\u8a18\u8f09\u304c\u7121\u3044\u3088\u3046\u3067\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001dnf automatic\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306fRHEL\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u3042\u305f\u308a\u306f\u6b21\u56de\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u6df1\u5800\u3092\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>12.5.6. \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u66f4\u65b0\u306e\u81ea\u52d5\u5316<br>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u66f4\u65b0\u306e\u78ba\u8a8d\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u5b9a\u671f\u7684\u306b\u884c\u3046\u306b\u306f\u3001dnf-automatic \u30d1\u30c3\u30b1\u30fc\u30b8\u306e DNF Automatic \u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<cite>12.5.6. \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u66f4\u65b0\u306e\u81ea\u52d5\u5316<br><a href=\"https:\/\/access.redhat.com\/documentation\/ja-jp\/red_hat_enterprise_linux\/8\/html\/configuring_basic_system_settings\/automating-software-updates_updating-software-packages\">https:\/\/access.redhat.com\/documentation\/ja-jp\/red_hat_enterprise_linux\/8\/html\/configuring_basic_system_settings\/dnf-automatic-configuration-file_automating-software-updates<\/a><\/cite><\/blockquote>\n\n\n\n<p>\u3000\u4eca\u56de\u306fGCE\u306eOS\u81ea\u52d5\u66f4\u65b0\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002GCE\u306fIaaS\u3067\u3042\u308b\u305f\u3081OS\u306e\u7ba1\u7406\u306f\u30e6\u30fc\u30b6\u5074\u3067\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u8cac\u4efb\u5171\u6709\u30e2\u30c7\u30eb\u3092\u7406\u89e3\u3057\u305f\u4e0a\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u306a\u3069\u3082\u5408\u308f\u305b\u3066\u884c\u3046\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<br>\u3000\u6b21\u56de\u306fdnf automatic\u306b\u3064\u3044\u3066\u306e\u6df1\u6398\u308a\u3084VM Manager\u306b\u3088\u308b\u30d1\u30c3\u30c1\u7ba1\u7406\u306a\u3069\u306b\u89e6\u308c\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"GCE\u306eOS\u81ea\u52d5\u66f4\u65b0\u306b\u3064\u3044\u3066 \u904b\u7528\u958b\u767a\u30b0\u30eb\u30fc\u30d7\u306etate\u3067\u3059\u3002\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306fGoogle Cloud(GCP)\u3092\u5229\u7528\u3057\u3066\u3044\u304f\u4e0a\u3067\u3061\u3087\u3063\u3068\u3057\u305f\u30c8\u30d4\u30c3\u30af\u306a\u3069\u3092\u7d39\u4ecb\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u203b\u672c\u6295\u7a3f\u306f2022\/12\/21\u6642\u70b9\u306e\u60c5\u5831\u3067\u3059\u3002  [&hellip;]","protected":false},"author":14,"featured_media":104,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-categry-cloud"],"_links":{"self":[{"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/posts\/873"}],"collection":[{"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":9,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"predecessor-version":[{"id":996,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/posts\/873\/revisions\/996"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/media\/104"}],"wp:attachment":[{"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/symphonict.nesic.co.jp\/tech-blog\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}