{"id":2155,"date":"2025-01-07T15:12:46","date_gmt":"2025-01-07T07:12:46","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=2155"},"modified":"2025-01-07T15:12:46","modified_gmt":"2025-01-07T07:12:46","slug":"aha","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/ja\/\u3042\u3042\/","title":{"rendered":"AWS CI\/CD \u3068 AWS CodeCommit"},"content":{"rendered":"<p>\u73fe\u4ee3\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306f<strong>\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u7d99\u7d9a\u7684\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\uff08CI\/CD\uff09<\/strong>\u3053\u306e\u5b9f\u8df5\u306f\u666e\u53ca\u3057\u3001\u30c1\u30fc\u30e0\u306f\u3088\u308a\u9ad8\u901f\u3067\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2 \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u63d0\u4f9b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u305d\u3057\u3066<strong>\u30a2\u30de\u30be\u30f3 \u30a6\u30a7\u30d6 \u30b5\u30fc\u30d3\u30b9 (AWS)<\/strong>\u3053\u308c\u3089\u3092\u4f75\u7528\u3059\u308b\u3053\u3068\u3067\u3001CI\/CD \u306f AWS \u306e\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u30b9\u30a4\u30fc\u30c8\u3092\u6d3b\u7528\u3057\u305f\u30b7\u30fc\u30e0\u30ec\u30b9\u3067\u5f37\u529b\u306a\u30d7\u30ed\u30bb\u30b9\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fAWS\u306b\u304a\u3051\u308bCI\/CD\u306e\u6982\u5ff5\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3057\u3001<strong>AWS \u30b3\u30fc\u30c9\u30b3\u30df\u30c3\u30c8<\/strong>\u3001\u305d\u306e\u9577\u6240\u3001\u5236\u9650\u3001\u305d\u3057\u3066\u5927\u898f\u6a21\u306a CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u3069\u306e\u3088\u3046\u306b\u9069\u5408\u3059\u308b\u304b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-2160 size-large\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/kcuaoedxytylwforu0yo-1024x796.png\" alt=\"\" width=\"800\" height=\"622\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/kcuaoedxytylwforu0yo-1024x796.png 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/kcuaoedxytylwforu0yo-300x233.png 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/kcuaoedxytylwforu0yo-768x597.png 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/kcuaoedxytylwforu0yo-15x12.png 15w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/kcuaoedxytylwforu0yo.png 1152w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h3 id=\"heading-what-is-cicd\" class=\"permalink-heading\"><strong>CI\/CD \u3068\u306f\u4f55\u3067\u3059\u304b?<\/strong><\/h3>\n<p><strong>\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\uff08CI\uff09<\/strong>\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u5171\u6709\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b9a\u671f\u7684\u306b\u30de\u30fc\u30b8\u3057\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u554f\u984c\u3092\u65e9\u671f\u306b\u691c\u51fa\u3057\u307e\u3059\u3002<strong>\u7d99\u7d9a\u7684\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\uff08CD\uff09<\/strong>\u3055\u3089\u306b\u4e00\u6b69\u9032\u3093\u3067\u3001\u30ea\u30ea\u30fc\u30b9 \u30d7\u30ed\u30bb\u30b9\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u4eba\u9593\u306e\u4ecb\u5165\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3066\u65b0\u3057\u3044\u5909\u66f4\u304c\u672c\u756a\u74b0\u5883\u306b\u5c55\u958b\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<p>AWS \u4e0a\u306e CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306f\u3001CodeCommit\u3001CodeBuild\u3001CodePipeline\u3001CodeDeploy \u306a\u3069\u306e\u30c4\u30fc\u30eb\u3092\u6d3b\u7528\u3057\u3066\u3001\u30b3\u30fc\u30c9\u306e\u30b3\u30df\u30c3\u30c8\u304b\u3089\u672c\u756a\u74b0\u5883\u3078\u306e\u30c7\u30d7\u30ed\u30a4\u307e\u3067\u306e\u3059\u3079\u3066\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u81ea\u52d5\u5316\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u304c\u7c21\u7d20\u5316\u3055\u308c\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30a8\u30e9\u30fc\u304c\u6700\u5c0f\u9650\u306b\u6291\u3048\u3089\u308c\u3001\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u5f37\u5316\u3055\u308c\u3001\u914d\u4fe1\u30b5\u30a4\u30af\u30eb\u304c\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3 id=\"heading-what-is-aws-codecommit\" class=\"permalink-heading\"><strong>AWS CodeCommit \u3068\u306f\u4f55\u3067\u3059\u304b?<\/strong><\/h3>\n<p>AWS CodeCommit\u306f<strong>\u5b8c\u5168\u306b\u7ba1\u7406\u3055\u308c\u305f\u30bd\u30fc\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9<\/strong>\u3092\u30db\u30b9\u30c8\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08<strong>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Git\u30ea\u30dd\u30b8\u30c8\u30ea<\/strong>\u3002\u30c1\u30fc\u30e0\u304c\u72ec\u81ea\u306e\u30bd\u30fc\u30b9\u7ba1\u7406\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u7ba1\u7406\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308b\u305f\u3081\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30b7\u30f3\u30d7\u30eb\u3055\u3092\u91cd\u8996\u3059\u308b\u7d44\u7e54\u306b\u3068\u3063\u3066\u7406\u60f3\u7684\u306a\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u306a\u308a\u307e\u3059\u3002 CodeCommit \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6b21\u306e\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4fdd\u8b77\u3059\u308b<\/strong>\u3002<\/li>\n<li><strong>\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb<\/strong>\u7121\u5236\u9650\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u30b3\u30df\u30c3\u30c8\u306b\u5bfe\u5fdc\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u4ed6\u306e AWS \u30b5\u30fc\u30d3\u30b9\u3068\u306e\u30b7\u30fc\u30e0\u30ec\u30b9\u306a\u7d71\u5408<\/strong>AWS \u30cd\u30a4\u30c6\u30a3\u30d6\u306e CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u30d0\u30c3\u30af\u30dc\u30fc\u30f3\u3092\u5f62\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3 id=\"heading-how-does-codecommit-compare-to-other-platforms\" class=\"permalink-heading\"><strong>CodeCommit \u306f\u4ed6\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u6bd4\u3079\u3066\u3069\u3046\u3067\u3059\u304b?<\/strong><\/h3>\n<p><strong>GitHub\u306f<\/strong>\u305d\u3057\u3066<strong>\u30ae\u30c3\u30c8\u30e9\u30dc<\/strong>GitHub\u306a\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306f\u3001\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u5099\u3048\u305f\u30d1\u30d6\u30ea\u30c3\u30af\u304a\u3088\u3073\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u304c\u3001CodeCommit\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<strong>\u6a5f\u5bc6\u6027\u3068AWS\u7d71\u5408<\/strong>\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u306b\u5408\u308f\u305b\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001GitHub Actions \u3084 GitLab CI\/CD \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3068\u6bd4\u8f03\u3059\u308b\u3068\u6a5f\u80fd\u30bb\u30c3\u30c8\u304c\u9650\u3089\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u3088\u308a\u5e45\u5e83\u3044\u67d4\u8edf\u6027\u3092\u5fc5\u8981\u3068\u3059\u308b\u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u306f\u691c\u8a0e\u4e8b\u9805\u3068\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-2161\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/cqmchj5phleogwchmxr0-1024x796.jpg\" alt=\"\" width=\"800\" height=\"622\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/cqmchj5phleogwchmxr0-1024x796.jpg 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/cqmchj5phleogwchmxr0-300x233.jpg 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/cqmchj5phleogwchmxr0-768x597.jpg 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/cqmchj5phleogwchmxr0-15x12.jpg 15w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/cqmchj5phleogwchmxr0.jpg 1152w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h3 id=\"heading-advantages-of-aws-codecommit\" class=\"permalink-heading\"><strong>AWS CodeCommit \u306e\u30e1\u30ea\u30c3\u30c8<\/strong><\/h3>\n<p>AWS CodeCommit \u306b\u306f\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"heading-1-managed-by-aws\" class=\"permalink-heading\" style=\"padding-left: 40px;\">1.<strong>AWS\u306b\u3088\u308b\u7ba1\u7406<\/strong><\/h4>\n<p style=\"padding-left: 40px;\">AWS \u304c\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u4fdd\u5b88\u3001\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u3078\u306e\u5bfe\u5fdc\u306b\u3064\u3044\u3066\u5fc3\u914d\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c1\u30fc\u30e0\u306f\u958b\u767a\u306b\u5b8c\u5168\u306b\u96c6\u4e2d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"heading-2-unlimited-repositories\" class=\"permalink-heading\" style=\"padding-left: 40px;\">2.<strong>\u7121\u5236\u9650\u306e\u30ea\u30dd\u30b8\u30c8\u30ea<\/strong><\/h4>\n<p style=\"padding-left: 40px;\">\u30c1\u30fc\u30e0\u306f\u5fc5\u8981\u306a\u6570\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u304a\u3088\u3073\u7ba1\u7406\u3067\u304d\u308b\u305f\u3081\u3001\u8ffd\u52a0\u306e\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u30b3\u30b9\u30c8\u3092\u304b\u3051\u305a\u306b\u3042\u3089\u3086\u308b\u898f\u6a21\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u67d4\u8edf\u6027\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4 id=\"heading-3-integrated-security\" class=\"permalink-heading\" style=\"padding-left: 40px;\">3.<strong>\u7d71\u5408\u3055\u308c\u305f\u5b89\u5168\u6027<\/strong><\/h4>\n<p style=\"padding-left: 40px;\">CodeCommit \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3088\u308a\u3001\u30a2\u30af\u30bb\u30b9\u304c\u627f\u8a8d\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u306b\u5236\u9650\u3055\u308c\u307e\u3059\u3002 IAM \u30ed\u30fc\u30eb\u3068\u30dd\u30ea\u30b7\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u3055\u3089\u306b\u5f37\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4 id=\"heading-4-seamless-integration-with-aws-services\" class=\"permalink-heading\" style=\"padding-left: 40px;\">4.<strong>AWS \u30b5\u30fc\u30d3\u30b9\u3068\u306e\u30b7\u30fc\u30e0\u30ec\u30b9\u306a\u7d71\u5408<\/strong><\/h4>\n<p style=\"padding-left: 40px;\">CodeCommit \u306f\u6b21\u306e\u88fd\u54c1\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u9023\u643a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>AWS \u30b3\u30fc\u30c9\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3<\/strong>\u7d99\u7d9a\u7684\u306a\u914d\u4fe1\u306e\u305f\u3081\u3002<\/li>\n<li><strong>AWS \u30b3\u30fc\u30c9\u30d3\u30eb\u30c9<\/strong>\u81ea\u52d5\u30d3\u30eb\u30c9\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>AWS \u30b3\u30fc\u30c9\u30c7\u30d7\u30ed\u30a4<\/strong>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5c55\u958b\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">\u3053\u306e\u7dca\u5bc6\u306a\u7d71\u5408\u306b\u3088\u308a\u3001AWS \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u5185\u3067\u30a8\u30f3\u30c9\u30c4\u30fc\u30a8\u30f3\u30c9\u306e CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u5b8c\u5168\u306b\u7c21\u5358\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"heading-disadvantages-of-aws-codecommit\" class=\"permalink-heading\"><strong>AWS CodeCommit\u306e\u30c7\u30e1\u30ea\u30c3\u30c8<\/strong><\/h3>\n<p>CodeCommit \u306b\u306f\u591a\u304f\u306e\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3044\u304f\u3064\u304b\u306e\u5236\u9650\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"heading-1-limited-feature-set\" class=\"permalink-heading\">1.<strong>\u6a5f\u80fd\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b<\/strong><\/h4>\n<p>GitHub \u3084 GitLab \u306a\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u6bd4\u8f03\u3059\u308b\u3068\u3001CodeCommit \u306b\u306f GitHub Actions\u3001GitLab CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3001\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3 \u30c4\u30fc\u30eb\u306a\u3069\u306e\u6a5f\u80fd\u304c\u6b20\u3051\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8c4a\u5bcc\u306a\u6a5f\u80fd\u30bb\u30c3\u30c8\u306b\u6163\u308c\u3066\u3044\u308b\u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u306f\u3001CodeCommit \u3060\u3051\u3067\u306f\u4e0d\u5341\u5206\u3060\u3068\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h4 id=\"heading-2-aws-centric-integration\" class=\"permalink-heading\">2.<strong>AWS\u4e2d\u5fc3\u306e\u7d71\u5408<\/strong><\/h4>\n<p>CodeCommit \u306e\u7d71\u5408\u306f\u4e3b\u306b AWS \u30b5\u30fc\u30d3\u30b9\u3068\u884c\u308f\u308c\u307e\u3059\u3002\u3053\u308c\u306f AWS \u30cd\u30a4\u30c6\u30a3\u30d6\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u306f\u7406\u60f3\u7684\u3067\u3059\u304c\u3001Jenkins\u3001CircleCI\u3001Atlassian \u88fd\u54c1\u306a\u3069\u3001AWS \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u5916\u90e8\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u306f\u5236\u9650\u3068\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"heading-how-does-codecommit-fit-into-a-cicd-pipeline\" class=\"permalink-heading\"><strong>CodeCommit \u306f CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u3069\u306e\u3088\u3046\u306b\u9069\u5408\u3057\u307e\u3059\u304b?<\/strong><\/h3>\n<p>AWS CodeCommit \u304c AWS \u30cd\u30a4\u30c6\u30a3\u30d6\u306e CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u3069\u306e\u3088\u3046\u306b\u4f7f\u7528\u3055\u308c\u308b\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol>\n<li><strong>CodeCommit\uff08\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u7ba1\u7406\uff09<\/strong>\u958b\u767a\u8005\u306f\u3001\u3059\u3079\u3066\u306e\u5909\u66f4\u306e\u4fe1\u983c\u3067\u304d\u308b\u60c5\u5831\u6e90\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b CodeCommit \u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30fc\u30c9\u3092\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002<\/li>\n<li><strong>CodePipeline\uff08\u30d3\u30b8\u30cd\u30b9\u30d7\u30ed\u30bb\u30b9\u7ba1\u7406\uff09<\/strong>CodePipeline \u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5909\u66f4\u3092\u76e3\u8996\u3057\u3001\u65b0\u3057\u3044\u30b3\u30df\u30c3\u30c8\u304c\u691c\u51fa\u3055\u308c\u308b\u3068\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u307e\u3059\u3002<\/li>\n<li><strong>CodeBuild\uff08\u30d3\u30eb\u30c9\u3068\u30c6\u30b9\u30c8\uff09<\/strong>CodeBuild \u306f\u30b3\u30fc\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u6e96\u5099\u304c\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30b3\u30fc\u30c9\u30c7\u30d7\u30ed\u30a4<\/strong>CodeDeploy \u306f\u3001\u30c6\u30b9\u30c8\u6e08\u307f\u306e\u30b3\u30fc\u30c9\u3092\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3084\u672c\u756a\u74b0\u5883\u306a\u3069\u306e\u3055\u307e\u3056\u307e\u306a\u74b0\u5883\u306b\u81ea\u52d5\u7684\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c1\u30fc\u30e0\u306f\u958b\u767a\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u5168\u4f53\u3092\u81ea\u52d5\u5316\u3057\u3001\u624b\u4f5c\u696d\u306e\u4f5c\u696d\u8ca0\u8377\u3092\u8efd\u6e1b\u3057\u3001\u751f\u7523\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"heading-step-by-step-guide-setting-up-cicd-with-codecommit\" class=\"permalink-heading\"><strong>\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u30ac\u30a4\u30c9: CodeCommit \u3092\u4f7f\u7528\u3057\u305f CI\/CD \u306e\u8a2d\u5b9a<\/strong><\/h3>\n<p>AWS CodeCommit \u3092\u4f7f\u7528\u3057\u3066\u57fa\u672c\u7684\u306a\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u7c21\u5358\u306a\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u6b21\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<h4 id=\"heading-step-1-create-a-codecommit-repository\" class=\"permalink-heading\"><strong>\u30b9\u30c6\u30c3\u30d71: CodeCommit\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/h4>\n<ol>\n<li>AWS \u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u958b\u304d\u3001CodeCommit \u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li>\u30af\u30ea\u30c3\u30af<strong>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u540d\u524d\u3092\u4ed8\u3051\u3066\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8aac\u660e\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<li>\u4f5c\u6210\u3057\u305f\u3089\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb \u30de\u30b7\u30f3\u306b\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h4 id=\"heading-step-2-set-up-codepipeline\" class=\"permalink-heading\"><strong>\u30b9\u30c6\u30c3\u30d72: CodePipeline\u3092\u8a2d\u5b9a\u3059\u308b<\/strong><\/h4>\n<ol>\n<li>AWS\u30b3\u30f3\u30bd\u30fc\u30eb\u3078\u79fb\u52d5<strong>CodePipeline \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u65b0\u3057\u3044\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/strong><\/li>\n<li>CodeCommit \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u76e3\u8996\u3059\u308b\u305f\u3081\u306e\u30bd\u30fc\u30b9 \u30b9\u30c6\u30fc\u30b8\u3092\u69cb\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h4 id=\"heading-step-3-add-a-build-stage-with-codebuild\" class=\"permalink-heading\"><strong>\u30b9\u30c6\u30c3\u30d73: CodeBuild\u3092\u4f7f\u7528\u3057\u3066\u30d3\u30eb\u30c9\u30d5\u30a7\u30fc\u30ba\u3092\u8ffd\u52a0\u3059\u308b<\/strong><\/h4>\n<ol>\n<li>CodeBuild \u3067\u30d3\u30eb\u30c9 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u63a5\u7d9a\u3057\u3001\u30d3\u30eb\u30c9\u624b\u9806\u306e buildspec.yml \u30d5\u30a1\u30a4\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h4 id=\"heading-step-4-deploy-with-codedeploy\" class=\"permalink-heading\"><strong>\u30b9\u30c6\u30c3\u30d74: CodeDeploy\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3059\u308b<\/strong><\/h4>\n<ol>\n<li>CodeDeploy \u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8 \u30b0\u30eb\u30fc\u30d7\u3092\u5b9a\u7fa9\u3057\u3001\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u30ea\u30f3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u30bf\u30fc\u30b2\u30c3\u30c8\u74b0\u5883\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u69cb\u6210\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h4 id=\"heading-step-5-commit-and-push-code\" class=\"permalink-heading\"><strong>\u30b9\u30c6\u30c3\u30d75: \u30b3\u30fc\u30c9\u3092\u30b3\u30df\u30c3\u30c8\u3057\u3066\u30d7\u30c3\u30b7\u30e5\u3059\u308b<\/strong><\/h4>\n<ol>\n<li>\u30ed\u30fc\u30ab\u30eb\u3067\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3001\u5909\u66f4\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30df\u30c3\u30c8\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b3\u30fc\u30c9\u3092\u30d7\u30c3\u30b7\u30e5\u3057\u3066 CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u304c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u81ea\u52d5\u7684\u306b\u30d3\u30eb\u30c9\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-2162\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/bwdguzp5tv0adipq2ysb-1024x796.jpg\" alt=\"\" width=\"800\" height=\"622\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/bwdguzp5tv0adipq2ysb-1024x796.jpg 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/bwdguzp5tv0adipq2ysb-300x233.jpg 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/bwdguzp5tv0adipq2ysb-768x597.jpg 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/bwdguzp5tv0adipq2ysb-15x12.jpg 15w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2025\/01\/bwdguzp5tv0adipq2ysb.jpg 1152w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"heading-conclusion\" class=\"permalink-heading\"><strong>\u7d50\u8ad6\u306f<\/strong><\/h3>\n<p><strong>\u5b89\u5168\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306aAWS\u30cd\u30a4\u30c6\u30a3\u30d6Git\u30ea\u30dd\u30b8\u30c8\u30ea\u30b5\u30fc\u30d3\u30b9\u3092\u304a\u63a2\u3057\u306e\u65b9\u3078<\/strong>AWS CodeCommit \u306f\u3001AWS \u30b5\u30fc\u30d3\u30b9\u3092\u6d3b\u7528\u3057\u305f\u3044\u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u6700\u9069\u306a\u9078\u629e\u80a2\u3067\u3059\u3002 CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u7d71\u5408\u3059\u308b\u3068\u3001\u30c1\u30fc\u30e0\u306f\u6700\u5c0f\u9650\u306e\u624b\u4f5c\u696d\u3067\u3088\u308a\u9ad8\u901f\u304b\u3064\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u63d0\u4f9b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001GitHub \u3084 GitLab \u306a\u3069\u306e\u6a5f\u80fd\u8c4a\u5bcc\u306a\u4ee3\u66ff\u624b\u6bb5\u3088\u308a\u3082 CodeCommit \u3092\u9078\u629e\u3059\u308b\u524d\u306b\u3001\u30c1\u30fc\u30e0\u306e\u30cb\u30fc\u30ba\u3068\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u8a55\u4fa1\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>CI\/CD \u304c\u73fe\u4ee3\u306e\u958b\u767a\u306e\u57fa\u790e\u3068\u306a\u308a\u3064\u3064\u3042\u308b\u4e2d\u3001CodeCommit\u3001CodePipeline\u3001CodeBuild\u3001CodeDeploy \u306a\u3069\u306e AWS \u306e\u30c4\u30fc\u30eb\u30b9\u30a4\u30fc\u30c8\u3092\u7fd2\u5f97\u3059\u308b\u3053\u3068\u306f\u3001\u5f37\u529b\u3067\u81ea\u52d5\u5316\u3055\u308c\u305f\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u4e0a\u3067\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002 CI\/CD \u3092\u59cb\u3081\u305f\u3070\u304b\u308a\u3067\u3082\u3001\u65e2\u5b58\u306e\u30d7\u30ed\u30bb\u30b9\u306e\u6700\u9069\u5316\u3092\u691c\u8a0e\u3057\u3066\u3044\u308b\u5834\u5408\u3067\u3082\u3001AWS \u306f\u6210\u529f\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3068\u67d4\u8edf\u6027\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u73fe\u4ee3\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306f\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u7d99\u7d9a\u7684\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8 (CI\/CD) \u306e\u5b9f\u8df5\u306b\u3088\u3063\u3066\u6210\u529f\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306b\u3088\u308a\u30c1\u30fc\u30e0\u306f\u3088\u308a\u8fc5\u901f\u304b\u3064\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u66f4\u65b0\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002 Amazon Web Services (AWS) \u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001CI\/CD \u306f AWS \u306e\u30de\u30cd\u30fc\u30b8\u30c9 \u30b5\u30fc\u30d3\u30b9 \u30b9\u30a4\u30fc\u30c8\u3092\u6d3b\u7528\u3057\u305f\u30b7\u30fc\u30e0\u30ec\u30b9\u3067\u5f37\u529b\u306a\u30d7\u30ed\u30bb\u30b9\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001AWS CodeCommit\u3001\u305d\u306e\u5229\u70b9\u3001\u5236\u9650\u3001\u5927\u898f\u6a21\u306a CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3078\u306e\u9069\u5408\u65b9\u6cd5\u306b\u7126\u70b9\u3092\u5f53\u3066\u3001AWS \u3067\u306e CI\/CD \u306e\u6982\u5ff5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":2157,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-2155","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-sharing"],"_links":{"self":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/2155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/comments?post=2155"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/2155\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media\/2157"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media?parent=2155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/categories?post=2155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/tags?post=2155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}