[{"data":1,"prerenderedAt":1519},["ShallowReactive",2],{"/ja-jp/blog/aws-multi-account-cicd-gitlab":3,"navigation-ja-jp":771,"banner-ja-jp":1202,"footer-ja-jp":1210,"blog-post-authors-ja-jp-Tsukasa Komatsubara|Issei Hamada, Sony Biz Networks Corporation":1448,"blog-related-posts-ja-jp-aws-multi-account-cicd-gitlab":1476,"blog-share-wrapper-ja-jp":1500,"next-steps-ja-jp":1510},{"id":4,"title":5,"authors":6,"body":9,"category":747,"date":748,"description":749,"extension":750,"externalUrl":751,"faq":751,"featured":116,"heroImage":752,"hidePromo":753,"meta":754,"navigation":116,"path":755,"seo":756,"slug":760,"stem":761,"tags":762,"template":769,"updatedDate":751,"__hash__":770},"blogPosts/ja-jp/blog/aws-multi-account-cicd-gitlab.md","GitLabで実現するマルチアカウントCI/CD",[7,8],"Tsukasa Komatsubara","Issei Hamada, Sony Biz Networks Corporation",{"type":10,"value":11,"toc":716},"minimark",[12,23,27,34,37,43,47,54,58,64,67,70,74,77,81,84,124,128,131,147,151,154,205,209,212,220,225,228,232,235,239,253,282,285,289,292,298,301,307,312,316,319,351,355,358,392,395,399,402,431,434,438,441,486,489,493,505,509,512,516,558,561,565,613,617,620,624,627,631,634,640,644,647,653,656,660,663,669,672,676,679,690,693,712],[13,14,15,22],"p",{},[16,17,18],"em",{},[19,20,21],"strong",{},"編集部注：私たちは時折、パートナーコミュニティのメンバーにGitLabブログへの寄稿をお願いしています。今回、ソニービズネットワークス社のエンジニアである濱田一成氏に、共同執筆いただきました。","\nソニービズネットワークス株式会社所属のエンジニア、濱田 一成です。先日、GitLab 様との共同企画でAWS様の作成したマルチアカウントIaC・CI/CDワークショップを、GitLabを用いた構成にリファクタリングしました。本記事は、そのワークショップの解説記事です。",[24,25,26],"h1",{"id":26},"従来の構成",[13,28,29,33],{},[30,31],"img",{"alt":26,"src":32},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602837/zlrn0hwtrnkfzqxakeya.png","\n元のワークショップはAWSサービスのみでCI/CDパイプラインを構成しています。このワークショップは手軽に継続的インテグレーションを体験出来ることから、非常に高い評価を得ていました。しかし現在AWS CodeCommitは新規顧客の受け入れを停止しており、元ワークショップも新たなお客様のご利用が出来なくなっていました。",[24,35,36],{"id":36},"リファクタリング後の構成",[13,38,39,42],{},[30,40],{"alt":36,"src":41},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602839/ztsdyztzdtoyvusqkknp.png","\nそこで今回、AWS CodeCommitをGitLabに置き換え、CI/CDを体験するワークショップとしてリファクタリングを行いました。本ワークショップのAWS CDKコードをご利用頂く事で、GitLabをソースリポジトリとして組み込んだCI/CDパイプラインを体験頂けます。",[24,44,46],{"id":45},"ワークショップのポイントaws-codeconnections","ワークショップのポイント：AWS CodeConnections",[13,48,49,50],{},"AWS CodeConnectionsは、AWSと様々なコードリポジトリを接続するサービスです。本サービスを利用する事で、SaaS版GitLabはもちろん、セルフホスティング版のGitLabも、AWS上に構築したCI/CDパイプラインに組み込むことが出来るようになります。今回のワークショップではVPC内にGitLabサーバを構築し、インターネット経由でAWS CodeConnectionsと接続します。\n",[30,51],{"alt":52,"src":53},"ワークショップのポイント： AWS CodeConnections","https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602837/ivj1wswqvlwrkqlzrs70.png",[55,56,57],"h2",{"id":57},"プライベートネットワーク接続にも対応している",[13,59,60,61],{},"今回のワークショップではインターネット経由でGitLabと接続していますが、もちろん閉域に閉じることも可能です。AWS CodeConnectionsを作成する時に、オプションでVPCを指定する事が出来ます。こちらを指定すると、AWS CodeConnectionsとGitLab間の通信専用のENIが作成されます。AWS CodeConnectionsは、このENIを経由してGitLabと通信する事で、閉域網内での利用を実現しています。\n",[30,62],{"alt":57,"src":63},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602892/tn5rx1nrpiyyzglmcuo9.png",[24,65,66],{"id":66},"ワークショップ手順解説",[13,68,69],{},"従来のワークショップとの差分は、【Lab 1：CI/CDパイプライン環境のセットアップ】のうち、【手順5. GitLabをデプロイする】のみです。そこで今回は本セクションについて重点的に解説します。",[55,71,73],{"id":72},"前提事項gitlab用公開ドメインを用意する","前提事項：GitLab用公開ドメインを用意する",[13,75,76],{},"本ワークショップでは、GitLabと同じアカウントのRoute53にホストされている公開ドメインが必要です。\nAWS CodeConnectionsの要件として、GitLabとの通信はTLS暗号化が必須となっています。GitLabはデフォルトでLet’s Encryptと統合していますが、GitLabのインストール中に指定したURLの名前解決を行えないとLet’s Encryptの設定が失敗してしまいます。その為、今回はCDKのデプロイプロセスの中にレコード登録を組み込んでいます。\nちなみに、このAWS CodeConnectionsのTLS要件はプライベート接続でも同様に求められます。その場合、CodeConnectionsの設定作成時にプライベート証明書をアップロードする必要があります。",[55,78,80],{"id":79},"手順1-インフラ-cicdのセットアップに必要なアセットのダウンロード","手順1. インフラ CI/CDのセットアップに必要なアセットのダウンロード",[13,82,83],{},"本Labの実施に必要なコード一式を、gitコマンドでダウンロードしてください。",[85,86,91],"pre",{"className":87,"code":88,"language":89,"meta":90,"style":90},"language-shell shiki shiki-themes github-light","git clone \n\nhttps://github.com/issei-hamada/goverment-cloud-iac-cicd-with-gitlab.git\n","shell","",[92,93,94,111,118],"code",{"__ignoreMap":90},[95,96,99,103,107],"span",{"class":97,"line":98},"line",1,[95,100,102],{"class":101},"s7eDp","git",[95,104,106],{"class":105},"sYBdl"," clone",[95,108,110],{"class":109},"sgsFI"," \n",[95,112,114],{"class":97,"line":113},2,[95,115,117],{"emptyLinePlaceholder":116},true,"\n",[95,119,121],{"class":97,"line":120},3,[95,122,123],{"class":101},"https://github.com/issei-hamada/goverment-cloud-iac-cicd-with-gitlab.git\n",[55,125,127],{"id":126},"手順2-アセットの確認","手順2. アセットの確認",[13,129,130],{},"ダウンロードしたプロジェクトの配下に、以下ディレクトリがあることを確認します。",[132,133,134,138,141,144],"ul",{},[135,136,137],"li",{},"artifact-repository",[135,139,140],{},"gitlab",[135,142,143],{},"cicd-pipeline",[135,145,146],{},"cdk-role\n後の手順で、ディレクトリ毎に作業します。",[55,148,150],{"id":149},"手順3-パッケージのインストール","手順3. パッケージのインストール",[13,152,153],{},"Node.jsの必要なライブラリをインストールします。",[85,155,157],{"className":87,"code":156,"language":89,"meta":90,"style":90},"# ディレクトリ移動 \n\ncd goverment-cloud-iac-cicd-with-gitlab \n\n# package.json に登録されているものをインストール\n\nnpm ci\n",[92,158,159,165,169,180,185,191,196],{"__ignoreMap":90},[95,160,161],{"class":97,"line":98},[95,162,164],{"class":163},"sAwPA","# ディレクトリ移動 \n",[95,166,167],{"class":97,"line":113},[95,168,117],{"emptyLinePlaceholder":116},[95,170,171,175,178],{"class":97,"line":120},[95,172,174],{"class":173},"sYu0t","cd",[95,176,177],{"class":105}," goverment-cloud-iac-cicd-with-gitlab",[95,179,110],{"class":109},[95,181,183],{"class":97,"line":182},4,[95,184,117],{"emptyLinePlaceholder":116},[95,186,188],{"class":97,"line":187},5,[95,189,190],{"class":163},"# package.json に登録されているものをインストール\n",[95,192,194],{"class":97,"line":193},6,[95,195,117],{"emptyLinePlaceholder":116},[95,197,199,202],{"class":97,"line":198},7,[95,200,201],{"class":101},"npm",[95,203,204],{"class":105}," ci\n",[55,206,208],{"id":207},"手順4-artifact-repositoryをデプロイする","手順4. artifact-repositoryをデプロイする",[13,210,211],{},"以下コマンドを順に実行し、artifact-repositoryをデプロイします。",[85,213,218],{"className":214,"code":216,"language":217,"meta":90},[215],"language-text","# ディレクトリ移動\n\ncd artifact-repository\n\n# 対象アカウントに CDK で必要なリソースを作成\n\nnpx cdk bootstrap\n\n# デプロイ\n\nnpx cdk deploy\n","text",[92,219,216],{"__ignoreMap":90},[221,222,224],"h3",{"id":223},"aws-codeartifactの役割","AWS CodeArtifactの役割",[13,226,227],{},"AWS CodeArtifactとは、ソフトウェア開発で使用するパッケージを安全に保存、公開、共有するためのフルマネージド型のアーティファクトリポジトリサービスです。ここで言う「パッケージ」とは、HTTPリクエストを手軽に実装するための、pythonで言う「requests」、JavaScriptで言う「Axios」のようなパッケージ（ライブラリとも表現する事がありますね）を指します。例えばpythonでソフトウェアを開発する際、pipの参照先をCodeArtifact に設定する事で、開発者全員が予めCodeArtifactに登録されたパッケージを利用出来るようになります。\nソフトウェア開発におけるパッケージ管理のセキュリティ・コンプライアンスを強化する事がAWS CodeArtifactの役割です。",[55,229,231],{"id":230},"手順5-gitlabをデプロイする","手順5. GitLabをデプロイする",[13,233,234],{},"ここからが、アップデート後のコアとなる手順です。AWSにGitLabをデプロイしていきます。",[221,236,238],{"id":237},"_5-1-デプロイパラメータを設定する","5-1. デプロイパラメータを設定する",[13,240,241,242,246,247,252],{},"まずは、デプロイ時に利用する必須パラメータを設定します。gitlab/parameter.tsファイルを修正して下さい。\n",[30,243],{"alt":244,"src":245},"table","https://res.cloudinary.com/about-gitlab-com/image/upload/v1761206827/l7v6ilyephbhzd5uhgtm.jpg","\n基本的にデフォルト値は設定されていますが、★の付いているホストゾーンID・ドメイン名のみ個別に設定が必要です。\n次に、ユーザデータ（gitlab/lib/sh/gitlab-install.sh）内のURLを書き換える必要があります。16行目の",[248,249,250],"a",{"href":250,"rel":251},"https://gitlab.example.com",[],"を、GitLabの接続URLに書き換えて下さい。",[85,254,256],{"className":87,"code":255,"language":89,"meta":90,"style":90},"EXTERNAL_URL=\"https://gitlab.example.com\" apt-get install -y gitlab-ee\n",[92,257,258],{"__ignoreMap":90},[95,259,260,263,267,270,273,276,279],{"class":97,"line":98},[95,261,262],{"class":109},"EXTERNAL_URL",[95,264,266],{"class":265},"sD7c4","=",[95,268,269],{"class":105},"\"https://gitlab.example.com\"",[95,271,272],{"class":101}," apt-get",[95,274,275],{"class":105}," install",[95,277,278],{"class":173}," -y",[95,280,281],{"class":105}," gitlab-ee\n",[13,283,284],{},"GitLabはデフォルトでLet’s Encryptと連携しています。こちらを記述する事で、インストール後、指定のドメインにhttpsアクセス可能な状態で起動します。",[221,286,288],{"id":287},"_5-2-gitlab-stackをデプロイする","5-2. GitLab Stackをデプロイする",[13,290,291],{},"初めてCDKを実行する場合は、gitlabディレクトリへ移動し、CDKをbootstrapします。",[85,293,296],{"className":294,"code":295,"language":217,"meta":90},[215],"# リポジトリ移動\n\ncd gitlab\n\n# CDK 用リソース作成\n\nnpx cdk bootstrap\n",[92,297,295],{"__ignoreMap":90},[13,299,300],{},"次に、GitLab EC2インスタンスをデプロイします。",[85,302,305],{"className":303,"code":304,"language":217,"meta":90},[215],"# デプロイ\n\nnpx cdk deploy\n",[92,306,304],{"__ignoreMap":90},[132,308,309],{},[135,310,311],{},"EC2 のキーペアについて\n本ワークショップではCDKを使ってキーペアを生成しています。CDKでは秘密鍵をAWS Systems Manager Parameter Storeに保存する仕様になっています。インスタンス起動時点でセッションマネージャを利用出来る設定にはなっていますが、必要に応じて/ec2/keypair/GitLabから取得し、ファイルを生成してください。\nこれでインスタンスのデプロイは完了です。GitLabのインストールも自動で行われますが、CDKのデプロイ完了から10~15分程度かかります。ブラウザから設定したURLにアクセスし、ログインページが表示されるまでお待ちください。",[221,313,315],{"id":314},"_5-3-gitlabへログイン","5-3. GitLabへログイン",[13,317,318],{},"ログインページが表示されれば、GitLabのインストールは完了です。OSログインして初期パスワードを確認します。",[320,321,322,325,334,340],"ol",{},[135,323,324],{},"EC2コンソールにてGitLabインスタンスを選択し、「接続」から「セッションマネージャ」でEC2に接続します。",[135,326,327,328],{},"以下のcatコマンドを実行します。",[85,329,332],{"className":330,"code":331,"language":217,"meta":90},[215],"$sudo cat /etc/gitlab/initial_root_password\n# WARNING: This value is valid only in the following conditions\n# 1. If provided manually (either via `GITLAB_ROOT_PASSWORD` environment variable or via `gitlab_rails['initial_root_password']` setting in `gitlab.rb`, it was provided before database was seeded for the first time (usually, the first reconfigure run).\n# 2. Password hasn't been changed manually, either via UI or via command line.\n#\n# If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ja-jp/security/reset_user_password/#reset-your-root-password.\nPassword: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n# NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours.\n",[92,333,331],{"__ignoreMap":90},[135,335,336,339],{},[19,337,338],{},"Password","の値が、GitLab rootユーザの初期パスワードです。これをコピーしておきます。",[135,341,342,343,346,347,350],{},"ブラウザからGitLabへアクセスし、",[92,344,345],{},"ユーザ名：root"," / ",[92,348,349],{},"パスワード：前項で取得したパスワード","を使って、ログインします。\nブラウザからアプリケーションにログイン出来れば、本手順は完了です。",[221,352,354],{"id":353},"_5-4-gitlabグループ作成","5-4. GitLabグループ作成",[13,356,357],{},"GitLabではグループにプロジェクト（いわゆるリポジトリ）を紐づけて管理する為、まずはグループを作成します。",[320,359,360,369,377,385],{},[135,361,362,363,366],{},"ログイン後のトップページにて、左メニューの「Group」を選択",[364,365],"br",{},[30,367],{"alt":362,"src":368},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602852/bmosa0dhvbkowx9bakpb.png",[135,370,371,372,374],{},"画面中央右の「New group」を押下",[364,373],{},[30,375],{"alt":371,"src":376},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685678/fci5jjjmgrrdcz5vzr6z.png",[135,378,379,380,382],{},"「Create group」を押下",[364,381],{},[30,383],{"alt":379,"src":384},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685678/kfusu353kpdxrpqqkzxc.png",[135,386,387,388,390],{},"「Group name」を入力し、「Create group」を押下",[364,389],{},[30,391],{"alt":387,"src":384},[13,393,394],{},"今回は、「development-group」として下さい。\nこれでグループ作成は完了です。",[221,396,398],{"id":397},"_5-5-ワークショップ用プロジェクト作成","5-5. ワークショップ用プロジェクト作成",[13,400,401],{},"次は、前段で作成したグループに紐づくプロジェクトを作成していきます。",[320,403,404,412,420],{},[135,405,406,407,409],{},"GitLabコンソール左メニュー右上の「＋」アイコンをクリックし、「New project/repository」をクリック",[364,408],{},[30,410],{"alt":406,"src":411},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685678/ccsawinrpngssuugubwd.png",[135,413,414,415,417],{},"「Create blank project」をクリック",[364,416],{},[30,418],{"alt":414,"src":419},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685680/y35bltsbs6uxdpjvsakq.png",[135,421,422,423,425,426,428],{},"プロジェクト名を入力し、「Create project」を押下",[364,424],{},"Project URLで、name spaceに 5-4 で作成したグループ名が入力されている事を確認します。また、本 workshop ではプロジェクト名を「cicd-workshop」として下さい。",[364,427],{},[30,429],{"alt":422,"src":430},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685678/i7snizlqy5z2zr7ljof6.png",[13,432,433],{},"以上でプロジェクトの作成が完了し、リポジトリのクローンやプッシュが可能な状態になりました。次は、GitLabとAWSの接続設定に必要な認証情報を払い出します。",[221,435,437],{"id":436},"_5-6-パーソナルアクセストークンを払い出す","5-6. パーソナルアクセストークンを払い出す",[13,439,440],{},"GitLabと外部リソースを連携する際、パーソナルアクセストークン（PAT（という認証情報を利用します。今回はAWSとGitLabを連携する為に必要です。",[320,442,443,451,459,467,478],{},[135,444,445,446,448],{},"左メニュー右上のユーザアイコンをクリックし、「Edit profile」をクリック",[364,447],{},[30,449],{"alt":445,"src":450},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685680/za00t5yqiveuhn9u7dn4.png",[135,452,453,454,456],{},"左メニューの「Access tokens」をクリック",[364,455],{},[30,457],{"alt":453,"src":458},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685681/jdtqfpmpzzkjsu86lpg3.png",[135,460,461,462,464],{},"右上の「Add new token」ボタンを押下",[364,463],{},[30,465],{"alt":461,"src":466},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685681/eydhfbaxiosfgxgumzav.png",[135,468,469,470,472,473,475],{},"「Select scope」にて「api」と「admin_mode」にチェックを入れ、「Create token」ボタンを押下",[364,471],{},"token name には、任意の値を入れて下さい。",[364,474],{},[30,476],{"alt":469,"src":477},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685682/qf2r6zq7m1ohx5xkgrfx.png",[135,479,480,481,483],{},"「Your token」に表示されているトークンをコピーし、控える",[364,482],{},[30,484],{"alt":480,"src":485},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685682/cixkiacbowzltfzlwb9y.png",[13,487,488],{},"以上でPATの払い出しが完了し、GitLabとAWSを連携する準備が出来ました。",[221,490,492],{"id":491},"補足パーソナルアクセストークンの有効期間について","補足：パーソナルアクセストークンの有効期間について",[13,494,495,496,499,500,504],{},"PATの有効期間については、AWS CodeConnectionsとの接続設定を作成する時に有効であればよいです。",[19,497,498],{},"接続設定を作成した後は、PATを削除しても問題ありません。","\nGitLabとAWS CodeConnectionsの連携設定を作成すると、GitLabのApplicationsに以下のようなアプリが作成されます。\n",[30,501],{"alt":502,"src":503},"GitLabとAWS CodeConnectionsの連携設定を作成すると、GitLabのApplicationsに以下のようなアプリが作成されます。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685684/m6bmbg2fh5hi7dbow119.png","\nPATは、このアプリをGitLab側に作成する為だけに必要な認証情報なのです。",[55,506,508],{"id":507},"手順6-aws-codeconnectionsを作成する","手順6. AWS CodeConnectionsを作成する",[13,510,511],{},"ここからAWSの作業に戻ります。AWS CodeConnectionsを作成し、GitLab側で認証します。",[221,513,515],{"id":514},"_6-1-接続を作成","6-1. 「接続」を作成",[320,517,518,521,524,532],{},[135,519,520],{},"AWSコンソールの検索窓にて「CodePipeline」と入力し、サービスページへ移動",[135,522,523],{},"左メニューの「設定」プルダウンから、「接続」を選択",[135,525,526,527,529],{},"右上の「接続を作成」ボタンを押下",[364,528],{},[30,530],{"alt":526,"src":531},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685685/mmjmevc8pmx0jdhccade.png",[135,533,534,535,549,551,552,554],{},"「プロバイダーを選択する」にて「GitLab Self Managed」を選択し、接続設定を入力後、「GitLab Self Managedに接続」ボタンを押下",[132,536,537,540,543],{},[135,538,539],{},"接続名：任意の値",[135,541,542],{},"URL：作成した GitLab の URL を入力",[135,544,545,546],{},"「VPCを使用」には",[19,547,548],{},"チェックを入れない",[364,550],{},"→ プライベートサブネット内にあるGitLabと接続する時のオプション",[364,553],{},[30,555],{"alt":556,"src":557},"「VPCを使用」にはチェックを入れない → プライベートサブネット内にあるGitLabと接続する時のオプション","https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685685/jxznizrfagkijqwgbz5l.png",[13,559,560],{},"これでAWS CodeConnectionsの「接続」を作成できました。現時点では、接続ステータスは「保留中」で問題ありません。次の手順で承認作業を行います。",[221,562,564],{"id":563},"_6-2-gitlabにてaws-codeconnectionsの接続を承認する","6-2. GitLabにてAWS CodeConnectionsの接続を承認する",[320,566,567,575,583,594,602,610],{},[135,568,569,570,572],{},"先ほど作成した「接続」の、右上「保留中の接続を更新」ボタンを押下",[364,571],{},[30,573],{"alt":569,"src":574},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760685685/m6qzsgi30hmtg2ne5ziw.png",[135,576,577,578,580],{},"ポップアップウィンドウが開く。テキストボックスに個人用アクセストークンを入力し、「続行」ボタンを押下",[364,579],{},[30,581],{"alt":577,"src":582},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602837/o5vl4pqo4cq1nxulbmff.png",[135,584,585,586,588,589,591],{},"GitLabの認証画面が開く。「Authorize ~」ボタンを押下",[364,587],{},"この時、作業しているブラウザからGitLabに接続できる必要があります。ワークショップ環境であれば問題ありませんが、社内環境と接続する際はご注意下さい。",[364,590],{},[30,592],{"alt":585,"src":593},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602837/yk7pxz3eoow2tjbczkyc.png",[135,595,596,597,599],{},"「ホストインスタンスでのインストールの確認」にて、「続行」を押下",[364,598],{},[30,600],{"alt":596,"src":601},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602837/hzlepvaoolcoa1ql1eca.png",[135,603,604,605,607],{},"「接続」のステータスが「利用可能」になったら完了",[364,606],{},[30,608],{"alt":604,"src":609},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760602837/jr1sogiwmmhdbe3cqwey.png",[135,611,612],{},"「接続設定」に記載されているARNを控える\n以上でAWS CodeConnectionsの設定は完了です。これでAWS CodePipelineのソースリポジトリとしてGitLabを指定出来るようになりました。次の手順では、実際にAWS CodePipelineをデプロイしてCI/CDパイプラインを動かせるようにしていきます。",[221,614,616],{"id":615},"補足aws-codeconnectionsから参照出来るgitlabプロジェクトの制御方法","補足：AWS CodeConnectionsから参照出来るGitLabプロジェクトの制御方法",[13,618,619],{},"AWS CodePipelineでソースとして指定できるプロジェクトは「3. GitLab の認証画面が開く。「Authorize ~」ボタンを押下」手順を実行する際に、GitLabへログインしていたユーザによって決まります。スクリーンショットではAdministratorになっていますが、実際の構築では各々のユーザ名になります。PATを払い出す際に「admin_mode」にチェックを入れても、全てのプロジェクトを参照できるようになるわけではありません",[55,621,623],{"id":622},"手順7-cicd-pipeline-をデプロイする","手順7. cicd-pipeline をデプロイする",[13,625,626],{},"AWS CodeConnectionsをソースに指定し、CI/CDパイプラインをデプロイします。基本的に元のワークショップと変わらないのですが、2つだけパラメータを追加しています。",[221,628,630],{"id":629},"_7-1-デプロイパラメータを設定する","7-1. デプロイパラメータを設定する",[13,632,633],{},"cicd-pipeline/parameter.tsに、先ほどメモしたAWS CodeConnectionsのARNとソースとして指定したいGitLabのプロジェクト名を入力します。",[85,635,638],{"className":636,"code":637,"language":217,"meta":90},[215],"// CodeConnections parameters\n\n\ncodeConnectionArn: 'arn:aws:codeconnections:ap-northeast-1:xxxxxxxxxxxx:connection/xxxxxxxxxxxx',\n\n\ngitlabTargetProject: 'development-group/cicd-workshop',\n",[92,639,637],{"__ignoreMap":90},[221,641,643],{"id":642},"_7-2-デプロイする","7-2. デプロイする",[13,645,646],{},"初めて CDK を実行する場合は、対象のディレクトリへ移動し、CDK を bootstrap します。これは対象のアカウントとリージョンの組み合わせで初めて CDK を実行するときに必要です。",[85,648,651],{"className":649,"code":650,"language":217,"meta":90},[215],"# リポジトリ移動\n\ncd cicd-pipeline\n\n# CDK用リソースを作成\n\nnpx cdk bootstrap --profile cicd\n\n# デプロイ\n\nnpx cdk deploy --profile cicd\n",[92,652,650],{"__ignoreMap":90},[13,654,655],{},"以上でCI/CDパイプラインのデプロイは完了です。",[55,657,659],{"id":658},"手順8-cdk-roleをデプロイする","手順8. cdk-roleをデプロイする",[13,661,662],{},"最後に、パイプライン内で利用するIAMロールを作成します。本ワークショップはマルチアカウントを想定している為、アカウントを跨いでCDKを実行する際にこのIAMロールを利用します。デプロイ手順は、以下コマンドを順に実行するだけです。",[85,664,667],{"className":665,"code":666,"language":217,"meta":90},[215],"# リポジトリ移動\n\ncd cdk-role\n\n# CDK用リソースを作成\n\nnpx cdk bootstrap --profile cicd\n\n# デプロイ\n\nnpx cdk deploy --profile cicd\n",[92,668,666],{"__ignoreMap":90},[13,670,671],{},"コマンドが正常に完了すれば、CI/CDパイプラインに関するリソースのデプロイは完了です。",[55,673,675],{"id":674},"手順9-cdkコードを-gitlabにpushする","手順9. CDKコードを GitLabにpushする",[13,677,678],{},"ここまでの手順で、GitLabとAWS上に作成したCI/CDパイプラインの連携設定が完了しました。あとはGitLabにブランチを作成し、コードをプッシュすれば各環境にコードがデプロイされます。",[320,680,681,684,687],{},[135,682,683],{},"GitLabプロジェクトに develop/staging/production ブランチを作成する",[135,685,686],{},"feature ブランチを作成し、開発/検証/本番環境へデプロイするCDKコードを push する",[135,688,689],{},"develop -> staging -> production ブランチとマージしていくことで各環境にコードがデプロイされることを確認\nLab 2：ソース管理 以降の手順については、従来のワークショップの手順と同一です。手順内のAWS CodeCommitを適宜GitLabに読み替えて実施して下さい。",[55,691,692],{"id":692},"終わりに",[13,694,695,696,707],{},"AWS CodeConnectionsさえ作ってしまえば、GitLabとAWSを簡単に連携出来るようになります。本ワークショップではシングルアカウントを想定して解説しましたが、Resource Access Managerを使う事でマルチアカウントにも対応可能です。AWSとGitLabを組み合わせたCI/CDパイプラインのご相談があれば、ソニービズネットワークスまでご相談下さい。\n以上、ソニービズネットワークスのAWS Ambassador、濱田 一成がお送りしました。\n",[16,697,698],{},[19,699,700,701,706],{},"謝辞：本ブログは、Amazon Web Services, Inc. 社作成のワークショップ「",[248,702,705],{"href":703,"rel":704},"https://catalog.us-east-1.prod.workshops.aws/workshops/f95fc450-f2bf-47e2-9834-11f1470cbfd1/ja-JP",[],"マルチアカウント IaC・CI/CD ワークショップ ","」を元に、GitLab版の作成依頼をGitLab Japanからソニービズネットワークス社濱田様にご依頼をして作成いただいたものになります。",[16,708,709],{},[19,710,711],{},"ソニービズネットワークス社は、ソニーグループの法人向けICTソリューション事業を展開しています。高品質な法人向けインターネット接続サービス「NUROアクセス」を主力に、クラウドサービス、セキュリティ、AIサービスなど、ビジネスに必要なインフラとシステムをワンストップで提供し、企業の成長と効率化を支援しています。この度、GitLabのオフィシャルリセールパートナーとなりました。",[713,714,715],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}",{"title":90,"searchDepth":113,"depth":113,"links":717},[718,719,720,721,722,723,726,735,740,744,745,746],{"id":57,"depth":113,"text":57},{"id":72,"depth":113,"text":73},{"id":79,"depth":113,"text":80},{"id":126,"depth":113,"text":127},{"id":149,"depth":113,"text":150},{"id":207,"depth":113,"text":208,"children":724},[725],{"id":223,"depth":120,"text":224},{"id":230,"depth":113,"text":231,"children":727},[728,729,730,731,732,733,734],{"id":237,"depth":120,"text":238},{"id":287,"depth":120,"text":288},{"id":314,"depth":120,"text":315},{"id":353,"depth":120,"text":354},{"id":397,"depth":120,"text":398},{"id":436,"depth":120,"text":437},{"id":491,"depth":120,"text":492},{"id":507,"depth":113,"text":508,"children":736},[737,738,739],{"id":514,"depth":120,"text":515},{"id":563,"depth":120,"text":564},{"id":615,"depth":120,"text":616},{"id":622,"depth":113,"text":623,"children":741},[742,743],{"id":629,"depth":120,"text":630},{"id":642,"depth":120,"text":643},{"id":658,"depth":113,"text":659},{"id":674,"depth":113,"text":675},{"id":692,"depth":113,"text":692},"devsecops","2025-10-23","AWS CodeConnectionsを活用し、GitLabとAWSを連携させたCI/CDパイプラインの構築方法を解説。マルチアカウント環境でのIaC実装をステップバイステップで紹介します。","md",null,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760931161/nm0kiehnfb0xdmthakmr.jpg",false,{},"/ja-jp/blog/aws-multi-account-cicd-gitlab",{"config":757,"title":758,"description":759,"ogTitle":90},{"noIndex":753,"ogImage":752},"GitLabで実現するマルチアカウントCI/CD\n","AWS CodeConnectionsを活用し、GitLabとAWSを連携させたCI/CDパイプラインの構築方法を解説。マルチアカウント環境でのIaC実装をステップバイステップで紹介します。\n","aws-multi-account-cicd-gitlab","ja-jp/blog/aws-multi-account-cicd-gitlab",[763,764,765,766,767,768],"partners","AWS","CI/CD","integrations","public sector","tutorial","BlogPost","S9RLCUi__cJNOGpluegv_zmhJS1yg0C34KMOiW99NfA",{"logo":772,"freeTrial":777,"sales":782,"login":787,"items":792,"search":1120,"minimal":1154,"duo":1172,"switchNav":1181,"pricingDeployment":1192},{"config":773},{"href":774,"dataGaName":775,"dataGaLocation":776},"/ja-jp/","gitlab logo","header",{"text":778,"config":779},"無料トライアルを開始",{"href":780,"dataGaName":781,"dataGaLocation":776},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/ja-jp&glm_content=default-saas-trial/","free trial",{"text":783,"config":784},"デモをリクエスト",{"href":785,"dataGaName":786,"dataGaLocation":776},"/ja-jp/request-a-demo/","sales",{"text":788,"config":789},"サインイン",{"href":790,"dataGaName":791,"dataGaLocation":776},"https://gitlab.com/users/sign_in/","sign in",[793,878,965,970,1044,1098],{"text":794,"left":116,"config":795,"menu":797},"プラットフォーム",{"dataNavLevelOne":796},"platform",{"type":798,"link":799,"columns":803,"feature":867},"lists",{"text":800,"config":801},"プラットフォームを詳しく見る",{"href":802,"dataGaName":796,"dataGaLocation":776},"/ja-jp/platform/",[804,826,849],{"title":805,"items":806},"DevOps",[807,811,816,821],{"text":765,"config":808},{"href":809,"dataGaLocation":776,"dataGaName":810},"/ja-jp/solutions/continuous-integration/","ci/cd",{"text":812,"config":813},"ソースコード管理",{"href":814,"dataGaLocation":776,"dataGaName":815},"/ja-jp/solutions/source-code-management/","source code management",{"text":817,"config":818},"アジャイルデリバリー",{"href":819,"dataGaLocation":776,"dataGaName":820},"/ja-jp/solutions/agile-delivery/","agile delivery",{"text":822,"config":823},"アーティファクト管理",{"href":824,"dataGaLocation":776,"dataGaName":825},"/ja-jp/artifact-central/","artifact management",{"title":827,"items":828},"セキュリティとガバナンス",[829,834,839,844],{"text":830,"config":831},"アプリケーションセキュリティテスト",{"href":832,"dataGaLocation":776,"dataGaName":833},"/ja-jp/solutions/application-security-testing/","application security testing",{"text":835,"config":836},"ガバナンスとコンプライアンス",{"href":837,"dataGaLocation":776,"dataGaName":838},"/ja-jp/solutions/software-compliance/","governance and compliance",{"text":840,"config":841},"シークレット管理",{"href":842,"dataGaLocation":776,"dataGaName":843},"/ja-jp/gitlab-secrets-manager/","secrets management",{"text":845,"config":846},"サプライチェーンセキュリティ",{"href":847,"dataGaLocation":776,"dataGaName":848},"/ja-jp/solutions/supply-chain/","supply chain security",{"title":850,"items":851},"エージェント型AIとコンテキスト",[852,857,862],{"text":853,"config":854},"Duo Agent Platform",{"href":855,"dataGaLocation":776,"dataGaName":856},"/ja-jp/gitlab-duo-agent-platform/","duo agent platform",{"text":858,"config":859},"Orbitコンテキストグラフ",{"href":860,"dataGaLocation":776,"dataGaName":861},"/ja-jp/gitlab-orbit/","orbit",{"text":863,"config":864},"可視性と測定",{"href":865,"dataGaLocation":776,"dataGaName":866},"/ja-jp/solutions/visibility-measurement/","visibility and measurement",{"config":868,"title":871,"text":872,"link":873},{"background":869,"textColor":870},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbitが一般提供開始","エージェントの精度向上とトークンコストの削減",{"text":874,"config":875},"発表を読む",{"href":876,"dataGaName":877,"dataGaLocation":776},"/ja-jp/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":879,"left":116,"config":880,"menu":882},"ソリューション",{"dataNavLevelOne":881},"solutions",{"type":798,"link":883,"columns":887,"feature":956},{"text":884,"config":885},"すべてのソリューションを表示",{"href":886,"dataGaName":881,"dataGaLocation":776},"/ja-jp/solutions/",[888,906,924],{"title":889,"items":890},"成果",[891,896,901],{"text":892,"config":893},"DevOpsモダナイゼーション",{"href":894,"dataGaLocation":776,"dataGaName":895},"/ja-jp/assessments/devops-modernization-assessment/","devops modernization",{"text":897,"config":898},"セキュリティモダナイゼーション",{"href":899,"dataGaLocation":776,"dataGaName":900},"/ja-jp/assessments/security-modernization-assessment/","security modernization",{"text":902,"config":903},"AIモダナイゼーション",{"href":904,"dataGaLocation":776,"dataGaName":905},"/ja-jp/assessments/ai-modernization-assessment/","ai modernization",{"title":907,"items":908},"規模別",[909,914,919],{"text":910,"config":911},"エンタープライズ",{"href":912,"dataGaLocation":776,"dataGaName":913},"/ja-jp/enterprise/","enterprise",{"text":915,"config":916},"スモールビジネス",{"href":917,"dataGaLocation":776,"dataGaName":918},"/ja-jp/small-business/","small business",{"text":920,"config":921},"スタートアップ",{"href":922,"dataGaLocation":776,"dataGaName":923},"/ja-jp/solutions/startups/","startups",{"title":925,"items":926},"業界",[927,932,936,941,946,951],{"text":928,"config":929},"金融サービス",{"href":930,"dataGaLocation":776,"dataGaName":931},"/ja-jp/solutions/finance/","financial services",{"text":933,"config":934},"公共部門",{"href":935,"dataGaLocation":776,"dataGaName":767},"/ja-jp/solutions/public-sector/",{"text":937,"config":938},"通信",{"href":939,"dataGaLocation":776,"dataGaName":940},"/ja-jp/solutions/telecommunications/","telecommunications",{"text":942,"config":943},"自動車",{"href":944,"dataGaLocation":776,"dataGaName":945},"/ja-jp/solutions/automotive/","automotive",{"text":947,"config":948},"教育",{"href":949,"dataGaLocation":776,"dataGaName":950},"/ja-jp/solutions/education/","education",{"text":952,"config":953},"航空宇宙",{"href":954,"dataGaLocation":776,"dataGaName":955},"/ja-jp/solutions/aerospace/","aerospace",{"config":957,"title":958,"text":959,"link":960},{"background":869,"textColor":870},"GitLabのセキュリティ標準","セキュリティを犠牲にすることなく、ソフトウェアファクトリーを強化し、自律的なAIエージェントを実現する方法をご覧ください。",{"text":961,"config":962},"標準を見る",{"href":963,"dataGaName":964,"dataGaLocation":776},"/ja-jp/gitlab-security-standard/","gitlab security standard",{"text":966,"config":967},"料金",{"href":968,"dataGaName":969,"dataGaLocation":776,"dataNavLevelOne":969},"/ja-jp/pricing/","pricing",{"text":971,"config":972,"menu":974},"リソース",{"dataNavLevelOne":973},"resources",{"type":798,"link":975,"columns":979,"feature":1035},{"text":976,"config":977},"すべてのリソースを表示",{"href":978,"dataGaName":973,"dataGaLocation":776},"/ja-jp/resources/",[980,1008],{"title":981,"items":982},"検索する",[983,988,993,998,1003],{"text":984,"config":985},"製品ドキュメント",{"href":986,"dataGaName":987,"dataGaLocation":776},"https://docs.gitlab.com/ja-jp/","docs",{"text":989,"config":990},"GitLab University",{"href":991,"dataGaName":992,"dataGaLocation":776},"https://university.gitlab.com/","university",{"text":994,"config":995},"技術デモ",{"href":996,"dataGaName":997,"dataGaLocation":776},"/ja-jp/gitlab-technical-demo-series/","demo series",{"text":999,"config":1000},"インタラクティブデモ",{"href":1001,"dataGaName":1002,"dataGaLocation":776},"/ja-jp/demo-hub/","demo hub",{"text":1004,"config":1005},"GitLabサービス",{"href":1006,"dataGaName":1007,"dataGaLocation":776},"/ja-jp/services/","services",{"title":1009,"items":1010},"つなげる",[1011,1016,1021,1026,1030],{"text":1012,"config":1013},"ブログ",{"href":1014,"dataGaName":1015,"dataGaLocation":776},"/ja-jp/blog/","blog",{"text":1017,"config":1018},"コミュニティ",{"href":1019,"dataGaName":1020,"dataGaLocation":776},"/community/","community",{"text":1022,"config":1023},"お客様事例",{"href":1024,"dataGaName":1025,"dataGaLocation":776},"/ja-jp/customers/","customers",{"text":1027,"config":1028},"パートナー",{"href":1029,"dataGaName":763,"dataGaLocation":776},"/ja-jp/partners/",{"text":1031,"config":1032},"イベント",{"href":1033,"dataGaName":1034,"dataGaLocation":776},"/events/","events",{"config":1036,"title":1037,"text":1038,"link":1039},{"background":869,"textColor":870},"GitLabの最新情報","最新の機能と改善点に関する情報をお届けします。",{"text":1040,"config":1041},"最新情報を読む",{"href":1042,"dataGaName":1043,"dataGaLocation":776},"/ja-jp/whats-new/","whats new",{"text":1045,"config":1046,"menu":1048},"企業情報",{"dataNavLevelOne":1047},"company",{"type":798,"columns":1049},[1050],{"items":1051},[1052,1057,1063,1068,1073,1078,1083,1088,1093],{"text":1053,"config":1054},"GitLabについて",{"href":1055,"dataGaName":1056,"dataGaLocation":776},"/ja-jp/company/","about",{"text":1058,"config":1059,"footerGa":1062},"採用情報",{"href":1060,"dataGaName":1061,"dataGaLocation":776},"/jobs/","jobs",{"dataGaName":1061},{"text":1064,"config":1065},"プレス",{"href":1066,"dataGaName":1067,"dataGaLocation":776},"/press/","press",{"text":1069,"config":1070},"ハンドブック",{"href":1071,"dataGaName":1072,"dataGaLocation":776},"https://handbook.gitlab.com/","handbook",{"text":1074,"config":1075},"経営陣",{"href":1076,"dataGaName":1077,"dataGaLocation":776},"/company/team/e-group/","leadership",{"text":1079,"config":1080},"投資家向け情報",{"href":1081,"dataGaName":1082,"dataGaLocation":776},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":1084,"config":1085},"トラストセンター",{"href":1086,"dataGaName":1087,"dataGaLocation":776},"/ja-jp/security/","trust center",{"text":1089,"config":1090},"AI Transparency Center",{"href":1091,"dataGaName":1092,"dataGaLocation":776},"/ja-jp/ai-transparency-center/","ai transparency center",{"text":1094,"config":1095},"ニュースレター",{"href":1096,"dataGaName":1097,"dataGaLocation":776},"/company/contact/#contact-forms","newsletter",{"text":1099,"config":1100,"menu":1101},"お問い合わせ",{"dataNavLevelOne":1047},{"type":798,"columns":1102},[1103],{"items":1104},[1105,1110,1115],{"text":1106,"config":1107},"営業担当へのお問い合わせ",{"href":1108,"dataGaName":1109,"dataGaLocation":776},"/ja-jp/sales/","talk to sales",{"text":1111,"config":1112},"サポートポータル",{"href":1113,"dataGaName":1114,"dataGaLocation":776},"https://support.gitlab.com/hc/en-us","support portal",{"text":1116,"config":1117},"カスタマーポータル",{"href":1118,"dataGaName":1119,"dataGaLocation":776},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":1121,"login":1122,"suggestions":1129},"閉じる",{"text":1123,"link":1124},"リポジトリとプロジェクトを検索するには、次にログインします",{"text":1125,"config":1126},"GitLab.com",{"href":790,"dataGaName":1127,"dataGaLocation":1128},"search login","search",{"text":1130,"default":1131},"提案",[1132,1135,1139,1141,1145,1149],{"text":1133,"config":1134},"GitLab Duo Agent Platform",{"href":855,"dataGaName":1133,"dataGaLocation":1128},{"text":1136,"config":1137},"コード提案（AI）",{"href":855,"dataGaName":1138,"dataGaLocation":1128},"Code Suggestions (AI)",{"text":765,"config":1140},{"href":809,"dataGaName":765,"dataGaLocation":1128},{"text":1142,"config":1143},"GitLab on AWS",{"href":1144,"dataGaName":1142,"dataGaLocation":1128},"/ja-jp/partners/technology-partners/aws/",{"text":1146,"config":1147},"GitLab on Google Cloud",{"href":1148,"dataGaName":1146,"dataGaLocation":1128},"/ja-jp/partners/technology-partners/google-cloud-platform/",{"text":1150,"config":1151},"GitLabを選ぶ理由",{"href":1152,"dataGaName":1153,"dataGaLocation":1128},"/ja-jp/why-gitlab/","Why GitLab?",{"freeTrial":1155,"mobileIcon":1159,"desktopIcon":1164,"secondaryButton":1167},{"text":778,"config":1156},{"href":1157,"dataGaName":781,"dataGaLocation":1158},"https://gitlab.com/-/trials/new/","nav",{"altText":1160,"config":1161},"GitLabアイコン",{"src":1162,"dataGaName":1163,"dataGaLocation":1158},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":1160,"config":1165},{"src":1166,"dataGaName":1163,"dataGaLocation":1158},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":1168,"config":1169},"はじめに",{"href":1170,"dataGaName":1171,"dataGaLocation":1158},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/ja-jp/get-started/","get started",{"freeTrial":1173,"mobileIcon":1177,"desktopIcon":1179},{"text":1174,"config":1175},"GitLab Duoの詳細はこちら",{"href":855,"dataGaName":1176,"dataGaLocation":1158},"gitlab duo",{"altText":1160,"config":1178},{"src":1162,"dataGaName":1163,"dataGaLocation":1158},{"altText":1160,"config":1180},{"src":1166,"dataGaName":1163,"dataGaLocation":1158},{"button":1182,"mobileIcon":1187,"desktopIcon":1189},{"text":1183,"config":1184},"/switch",{"href":1185,"dataGaName":1186,"dataGaLocation":1158},"#contact","switch",{"altText":1160,"config":1188},{"src":1162,"dataGaName":1163,"dataGaLocation":1158},{"altText":1160,"config":1190},{"src":1191,"dataGaName":1163,"dataGaLocation":1158},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1193,"mobileIcon":1198,"desktopIcon":1200},{"text":1194,"config":1195},"料金ページに戻る",{"href":968,"dataGaName":1196,"dataGaLocation":1158,"icon":1197},"back to pricing","GoBack",{"altText":1160,"config":1199},{"src":1162,"dataGaName":1163,"dataGaLocation":1158},{"altText":1160,"config":1201},{"src":1166,"dataGaName":1163,"dataGaLocation":1158},{"title":1203,"titleMobile":871,"button":1204,"config":1208},"GitLab Orbitが一般提供開始。エージェントの精度を高め、トークンコストを削減",{"text":874,"config":1205},{"href":876,"dataGaName":1206,"dataGaLocation":1207},"orbit-ga-banner","global-banner",{"layout":1209,"disabled":753},"release",{"data":1211},{"text":1212,"config":1213,"items":1218,"minimal":1440},"GitはSoftware Freedom Conservancyの商標です。当社は「GitLab」をライセンスに基づいて使用しています",{"twitter":1214,"facebook":1215,"youtube":1216,"linkedin":1217},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1219,1266,1323,1365,1407],{"title":1220,"links":1221,"subMenu":1237},"価格",[1222,1227,1232],{"text":1223,"config":1224},"プランの表示",{"href":968,"dataGaName":1225,"dataGaLocation":1226},"view plans","footer",{"text":1228,"config":1229},"Premiumを選ぶ理由",{"href":1230,"dataGaName":1231,"dataGaLocation":1226},"/ja-jp/pricing/premium/","why premium",{"text":1233,"config":1234},"Ultimateを選ぶ理由",{"href":1235,"dataGaName":1236,"dataGaLocation":1226},"/ja-jp/pricing/ultimate/","why ultimate",[1238],{"title":1099,"links":1239},[1240,1242,1244,1246,1251,1256,1261],{"text":1106,"config":1241},{"href":1108,"dataGaName":786,"dataGaLocation":1226},{"text":1111,"config":1243},{"href":1113,"dataGaName":1114,"dataGaLocation":1226},{"text":1116,"config":1245},{"href":1118,"dataGaName":1119,"dataGaLocation":1226},{"text":1247,"config":1248},"ステータス",{"href":1249,"dataGaName":1250,"dataGaLocation":1226},"https://status.gitlab.com/","status",{"text":1252,"config":1253},"利用規約",{"href":1254,"dataGaName":1255,"dataGaLocation":1226},"/terms/","terms of use",{"text":1257,"config":1258},"プライバシーに関する声明",{"href":1259,"dataGaName":1260,"dataGaLocation":1226},"/ja-jp/privacy/","privacy statement",{"text":1262,"config":1263},"Cookie設定",{"dataGaName":1264,"dataGaLocation":1226,"id":1265,"isOneTrustButton":116},"cookie preferences","ot-sdk-btn",{"title":794,"links":1267,"subMenu":1282},[1268,1270,1272,1274,1276,1278],{"text":800,"config":1269},{"href":802,"dataGaName":796,"dataGaLocation":1226},{"text":853,"config":1271},{"href":855,"dataGaName":856,"dataGaLocation":1226},{"text":765,"config":1273},{"href":809,"dataGaName":810,"dataGaLocation":1226},{"text":858,"config":1275},{"href":860,"dataGaName":861,"dataGaLocation":1226},{"text":840,"config":1277},{"href":842,"dataGaName":843,"dataGaLocation":1226},{"text":1279,"config":1280},"GitLabが選ばれる理由",{"href":1152,"dataGaName":1281,"dataGaLocation":1226},"why gitlab",[1283],{"title":1284,"links":1285},"トピック",[1286,1290,1295,1299,1304,1308,1313,1318],{"text":765,"config":1287},{"href":1288,"dataGaName":1289,"dataGaLocation":1226},"/ja-jp/topics/ci-cd/","cicd",{"text":1291,"config":1292},"GitOps",{"href":1293,"dataGaName":1294,"dataGaLocation":1226},"/ja-jp/topics/gitops/","gitops",{"text":805,"config":1296},{"href":1297,"dataGaName":1298,"dataGaLocation":1226},"/ja-jp/topics/devops/","devops",{"text":1300,"config":1301},"バージョン管理",{"href":1302,"dataGaName":1303,"dataGaLocation":1226},"/ja-jp/topics/version-control/","version control",{"text":1305,"config":1306},"DevSecOps",{"href":1307,"dataGaName":747,"dataGaLocation":1226},"/ja-jp/topics/devsecops/",{"text":1309,"config":1310},"クラウドネイティブ",{"href":1311,"dataGaName":1312,"dataGaLocation":1226},"/ja-jp/topics/cloud-native/","cloud native",{"text":1314,"config":1315},"コーディングのためのAI",{"href":1316,"dataGaName":1317,"dataGaLocation":1226},"/ja-jp/topics/devops/ai-for-coding/","ai for coding",{"text":1319,"config":1320},"エージェント型AI",{"href":1321,"dataGaName":1322,"dataGaLocation":1226},"/ja-jp/topics/agentic-ai/","agentic ai",{"title":879,"links":1324},[1325,1327,1329,1331,1333,1336,1338,1340,1342,1344,1346,1348,1350,1353,1357,1361],{"text":892,"config":1326},{"href":894,"dataGaName":895,"dataGaLocation":1226},{"text":897,"config":1328},{"href":899,"dataGaName":900,"dataGaLocation":1226},{"text":902,"config":1330},{"href":904,"dataGaName":905,"dataGaLocation":1226},{"text":928,"config":1332},{"href":930,"dataGaName":931,"dataGaLocation":1226},{"text":1334,"config":1335},"公共機関",{"href":935,"dataGaName":767,"dataGaLocation":1226},{"text":937,"config":1337},{"href":939,"dataGaName":940,"dataGaLocation":1226},{"text":942,"config":1339},{"href":944,"dataGaName":945,"dataGaLocation":1226},{"text":947,"config":1341},{"href":949,"dataGaName":950,"dataGaLocation":1226},{"text":952,"config":1343},{"href":954,"dataGaName":955,"dataGaLocation":1226},{"text":910,"config":1345},{"href":912,"dataGaName":913,"dataGaLocation":1226},{"text":915,"config":1347},{"href":917,"dataGaName":918,"dataGaLocation":1226},{"text":920,"config":1349},{"href":922,"dataGaName":923,"dataGaLocation":1226},{"text":1291,"config":1351},{"href":1352,"dataGaName":1294,"dataGaLocation":1226},"/ja-jp/solutions/gitops/",{"text":1354,"config":1355},"ソフトウェアコンポジション解析",{"href":847,"dataGaName":1356,"dataGaLocation":1226},"software composition analysis",{"text":1358,"config":1359},"バリューストリーム管理",{"href":865,"dataGaName":1360,"dataGaLocation":1226},"value stream management",{"text":1362,"config":1363},"すべてのソリューション",{"href":886,"dataGaName":1364,"dataGaLocation":1226},"all solutions",{"title":971,"links":1366},[1367,1372,1377,1380,1382,1384,1386,1388,1390,1392,1394,1396,1398,1400,1403],{"text":1368,"config":1369},"インストール",{"href":1370,"dataGaName":1371,"dataGaLocation":1226},"/ja-jp/install/","install",{"text":1373,"config":1374},"クイックスタートガイド",{"href":1375,"dataGaName":1376,"dataGaLocation":1226},"/ja-jp/get-started/","quick setup checklists",{"text":984,"config":1378},{"href":1379,"dataGaName":987,"dataGaLocation":1226},"https://docs.gitlab.com/ja-jp",{"text":989,"config":1381},{"href":991,"dataGaName":992,"dataGaLocation":1226},{"text":994,"config":1383},{"href":996,"dataGaName":997,"dataGaLocation":1226},{"text":999,"config":1385},{"href":1001,"dataGaName":1002,"dataGaLocation":1226},{"text":1004,"config":1387},{"href":1006,"dataGaName":1007,"dataGaLocation":1226},{"text":1012,"config":1389},{"href":1014,"dataGaName":1015,"dataGaLocation":1226},{"text":1017,"config":1391},{"href":1019,"dataGaName":1020,"dataGaLocation":1226},{"text":1022,"config":1393},{"href":1024,"dataGaName":1025,"dataGaLocation":1226},{"text":1027,"config":1395},{"href":1029,"dataGaName":763,"dataGaLocation":1226},{"text":1031,"config":1397},{"href":1033,"dataGaName":1034,"dataGaLocation":1226},{"text":1094,"config":1399},{"href":1096,"dataGaName":1097,"dataGaLocation":1226},{"text":1401,"config":1402},"最新リリース",{"href":1042,"dataGaName":1043,"dataGaLocation":1226},{"text":1404,"config":1405},"すべてのリソース",{"href":978,"dataGaName":1406,"dataGaLocation":1226},"all resources",{"title":1408,"links":1409},"会社情報",[1410,1412,1414,1416,1418,1420,1422,1424,1426,1430,1435],{"text":1053,"config":1411},{"href":1055,"dataGaName":1047,"dataGaLocation":1226},{"text":1058,"config":1413},{"href":1060,"dataGaName":1061,"dataGaLocation":1226},{"text":1064,"config":1415},{"href":1066,"dataGaName":1067,"dataGaLocation":1226},{"text":1069,"config":1417},{"href":1071,"dataGaName":1072,"dataGaLocation":1226},{"text":1074,"config":1419},{"href":1076,"dataGaName":1077,"dataGaLocation":1226},{"text":1079,"config":1421},{"href":1081,"dataGaName":1082,"dataGaLocation":1226},{"text":1084,"config":1423},{"href":1086,"dataGaName":1087,"dataGaLocation":1226},{"text":1089,"config":1425},{"href":1091,"dataGaName":1092,"dataGaLocation":1226},{"text":1427,"config":1428},"Sustainability",{"href":1429,"dataGaName":1427,"dataGaLocation":1226},"/sustainability/",{"text":1431,"config":1432},"ダイバーシティ、インクルージョン、ビロンギング（DIB）",{"href":1433,"dataGaName":1434,"dataGaLocation":1226},"/ja-jp/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1436,"config":1437},"現代奴隷制の透明性に関する声明",{"href":1438,"dataGaName":1439,"dataGaLocation":1226},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1441},[1442,1444,1446],{"text":1252,"config":1443},{"href":1254,"dataGaName":1255,"dataGaLocation":1226},{"text":1262,"config":1445},{"dataGaName":1264,"dataGaLocation":1226,"id":1265,"isOneTrustButton":116},{"text":1257,"config":1447},{"href":1259,"dataGaName":1260,"dataGaLocation":1226},[1449,1463],{"id":1450,"title":7,"body":751,"config":1451,"content":1453,"description":751,"extension":1457,"meta":1458,"navigation":116,"path":1459,"seo":1460,"stem":1461,"__hash__":1462},"blogAuthors/en-us/blog/authors/tsukasa-komatsubara.yml",{"template":1452},"BlogAuthor",{"name":7,"config":1454},{"headshot":1455,"ctfId":1456},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659784/Blog/Author%20Headshots/gitlab_tsukasa.jpg","31YQLiBRrJPn35BBhY69ly","yml",{},"/en-us/blog/authors/tsukasa-komatsubara",{},"en-us/blog/authors/tsukasa-komatsubara","O5IhL3DQ7MAo8yzVzaeGvidF81OrGBrv7DgR3C9ySBc",{"id":1464,"title":1465,"body":751,"config":1466,"content":1468,"description":751,"extension":1457,"meta":1471,"navigation":116,"path":1472,"seo":1473,"stem":1474,"__hash__":1475},"blogAuthors/en-us/blog/authors/issei-hamada-sony-biz-networks-corporation.yml","Issei Hamada Sony Biz Networks Corporation",{"template":1452,"gitlabHandle":1467},"https://gitlab.com/issei-hamada",{"config":1469,"name":8},{"headshot":1470},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1760414048/buvcowublhq36ongtzbx.png",{},"/en-us/blog/authors/issei-hamada-sony-biz-networks-corporation",{},"en-us/blog/authors/issei-hamada-sony-biz-networks-corporation","25f53KYYX9JQ20bcj6IUFir2T0KOIPcMehhE6OTkA9A",[1477,1485,1492],{"title":1478,"description":1479,"heroImage":1480,"category":747,"date":1481,"authors":1482,"slug":1484,"externalUrl":751},"数千人規模の開発を支えるGitLab環境の設計方法","数千人規模のデベロッパーを支えるGitLab環境は、どのように設計すべきでしょうか。デプロイモデルの選び方からRunnerのキャパシティ計画、高可用性とディザスタリカバリ、パイプラインのパフォーマンスまで、エンタープライズ規模のロールアウトを成功に導く判断ポイントとチェックリストを解説します。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1772058602/epl3sinfezlzxnppxak6.png","2026-09-22",[1483],"GitLab","how-to-design-gitlab-for-enterprise-scale",{"title":1486,"description":1487,"heroImage":1488,"category":747,"date":1489,"authors":1490,"slug":1491,"externalUrl":751},"DevOpsプラットフォームの総保有コスト（TCO）を算出する方法","ツールチェーンのコストに見直しが求められていませんか。DevOpsプラットフォームの総保有コスト（TCO）を構成する要素を、CI/CDのコンピューティングからAI利用、セキュリティ、ツールの乱立まで整理し、年間コストの算出手順、比較の進め方、削減できる領域を解説します。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1778087000/qdfsf8kz6ebfnopx9v2e.png","2026-09-11",[1483],"how-to-calculate-devops-platform-total-cost-of-ownership",{"title":1493,"description":1494,"heroImage":1495,"category":747,"date":1496,"authors":1497,"slug":1499,"externalUrl":751},"GitLabで実現するGemini Enterpriseエージェント開発の内製化【イベントレポート】","Google Cloud Next Tokyo 26の来場者向けセッションに、GitLab合同会社、小松原つかさが登壇した模様をお伝えします。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1786927099/yslrrlhphzmll0fxjozt.jpg","2026-08-18",[1498],"GitLab Japan Team","event-report-google-cloud-next-tokyo-26",{"header":1501,"text":1502,"button":1506,"disclaimer":1509},"無料の\n\n30日間のGitLabトライアルを開始\n",[1503,1504,1505],"GitLab Duo Agent Platformへのアクセス","GitLabの最も高度な機能を試す","AIで複雑なタスクを自動化する",{"text":778,"config":1507},{"href":1508,"dataGaName":781,"dataGaLocation":1015},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/ja-jp/blog/","クレジットカードなしでご登録いただけます。",{"header":1511,"blurb":1512,"button":1513,"secondaryButton":1517},"今すぐ開発をスピードアップ","DevSecOpsに特化したインテリジェントオーケストレーションプラットフォームで実現できることをご確認ください。\n",{"text":778,"config":1514},{"href":1515,"dataGaName":781,"dataGaLocation":1516},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/ja-jp/","feature",{"text":1099,"config":1518},{"href":1108,"dataGaName":786,"dataGaLocation":1516},1794911809340]