Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20210910_nyle

02f940926caaa16d4657150117fc6438?s=47 Taisei Ito
September 10, 2021

 20210910_nyle

02f940926caaa16d4657150117fc6438?s=128

Taisei Ito

September 10, 2021
Tweet

Transcript

  1. 21/9/10 Fri. Taisei Ito GCPのサービスを 活用したGitOps Copyright © 2021 by

    Future Corporation
  2. Copyright © 2021 by Future Corporation 自己紹介 • 伊藤太斉(たいせい) @kaedemalu

    ◦ 2019年9月中途入社(社会人4年目) ◦ Technology Innovation Group所属 ◦ 技術ブログの中の人 • 技術領域 ◦ GCP, AWS, IaC(Terraform, Ansible) • コミュニティ ◦ GCPUG Shonan Staff ◦ CloudNative Days Committee
  3. 今回の主役、Cloud Run Copyright © 2021 by Future Corporation

  4. Cloud Runについて • KnativeがベースとなったCaaS(Container as a Service) ◦ Kubernetes上で稼働するサーバーレスプラットフォーム •

    0→∞にスケールできる • PaaSとFaaSの間くらい Copyright © 2021 by Future Corporation
  5. Cloud Runについて Copyright © 2021 by Future Corporation Compute Engine

    App Engine Kubernetes Engine Cloud Run Cloud Functions 管理範囲 (運用コスト) 大 小
  6. 目指すゴール Copyright © 2021 by Future Corporation

  7. 目指すゴール Copyright © 2021 by Future Corporation

  8. 自動ビルドの実現 Copyright © 2021 by Future Corporation VCS < /

    > Source Cloud Build Cloud Source Repositories Container Registry Cloud Run Push Mirror Push Apply Pull Image
  9. 自動ビルドの実現 Copyright © 2021 by Future Corporation VCS < /

    > Source Cloud Build Cloud Source Repositories Container Registry Cloud Run Push Mirror Push Apply Pull Image mainへのマージを トリガー
  10. Cloud Build Copyright © 2021 by Future Corporation YAML Build

    Ship Run cloudbuild.yaml Push Image Execute Image as Container
  11. Cloud Build Copyright © 2021 by Future Corporation YAML Build

    Ship Run cloudbuild.yaml Push Image Execute Image as Container • ビルドに利用する情報を定義 ◦ Dockerfile ◦ Image Name ◦ Tag etc...
  12. Cloud Build Copyright © 2021 by Future Corporation YAML Build

    Ship Run cloudbuild.yaml Push Image Execute Image as Container • 保管するレジストリの指定
  13. Cloud Build Copyright © 2021 by Future Corporation YAML Build

    Ship Run cloudbuild.yaml Push Image Execute Image as Container • デプロイ先を定義
  14. Cloud Build Copyright © 2021 by Future Corporation YAML Build

    Ship Run cloudbuild.yaml Push Image Execute Image as Container
  15. 全量はこちら! Copyright © 2021 by Future Corporation 参考: https://speakerdeck.com/kaedemalu/20210827-future-tech-night

  16. 解説はこちら! Copyright © 2021 by Future Corporation 参考: https://future-architect.github.io/articles/20210910a/

  17. ちょっと宣伝させてください Copyright © 2021 by Future Corporation

  18. CloudNative Days 2021開催 • 11/4~5 • フルオンライン開催 Copyright © 2021

    by Future Corporation サイトURL
  19. おわり Copyright © 2021 by Future Corporation