Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to provide automation platform
Search
tnir
December 12, 2017
Technology
1
62
How to provide automation platform
2017-12-12 SRE-SET Automation Night at Mericari Tokyo Office
tnir
December 12, 2017
Tweet
Share
More Decks by tnir
See All by tnir
Cloud Run & GKE Autopilot (late 2024)
tnir
0
20
A life with Rails 8.0 (beta)
tnir
0
84
Progressive Rails 8.1 (alpha) / progressive-rails-8-1
tnir
0
240
三代目CTO at stmn, inc. / CTO at stmn
tnir
1
6.3k
Teach programming with Postman 101
tnir
0
17
Cloud-agnostic Serverless built with GitLab
tnir
0
350
The Challenge at Contribute & Sessions from GitLab Contribute 2019 New Orleans
tnir
3
1.4k
The State of Docker: product and community
tnir
3
990
GitLab Overview & Version 12.x
tnir
2
3k
Other Decks in Technology
See All in Technology
High Performance PHP
cmuench
0
140
All you need to know about InnoDB Primary Keys
lefred
0
120
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
320
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
3
410
関東Kaggler会LT: 人狼コンペとLLM量子化について
nejumi
3
460
マルチモーダル理解と生成の統合 DeepSeek Janus, etc... / Multimodal Understanding and Generation Integration
hiroga
0
360
AndroidデバイスにFTPサーバを建立する
e10dokup
0
240
RSNA2024振り返り
nanachi
0
500
サーバーレスアーキテクチャと生成AIの融合 / Serverless Meets Generative AI
_kensh
12
3k
Data-centric AI入門第6章:Data-centric AIの実践例
x_ttyszk
1
370
Culture Deck
optfit
0
330
MC906491 を見据えた Microsoft Entra Connect アップグレード対応
tamaiyutaro
1
480
Featured
See All Featured
The Language of Interfaces
destraynor
156
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Faster Mobile Websites
deanohume
306
31k
Fireside Chat
paigeccino
34
3.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
29
4.6k
Automating Front-end Workflow
addyosmani
1367
200k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Optimizing for Happiness
mojombo
376
70k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Done Done
chrislema
182
16k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
540
Transcript
Automation 基盤提供のしかた How to provide automation platform @tnir 2017-12-12 SRE-SET
Automation Night
@tnir (Takuya Noguchi) Software Engineer (Digital Transformation) Core Team member,
GitLab Kaimyacho.k8s & Prometheus Tokyo & Docker Meetup Tokyo Cloud Native Ambassador, CNCF 個人の見解です。 2
@tnir Tech PR/SWE/SRE, iRidge, Inc. 「 アイリッジ エンジニアリング」 3
Automation 4
Automation tools/platforms 5
History of my CI/CD experience CruiseControl (originated by ThoughtWorks) Jenkins
Travis CI/Circle CI air ow (Apache) Rundeck Digdag (Treasure Data) 6
Automation に必要なこと 7
1. 実行履歴が取れる 8
1. 実行履歴が取れる 誰が いつ ( 何のために?) 実行したか分かる cf. ChatOps をログを残さないように設計できてしま
うことがある ChatOps は人類には早すぎる 9
2. 実行タイミングを制御できる 10
2. 実行タイミングを制御できる 定期自動実行トリガー ( ナイトリー ビルド etc.) マニュアル実行トリガー イベントドリブン Git
commits, refs (tags, branches) 任意のWebhook 自動再実行 マニュアル再実行 11
3. 実行命令系との連携 12
3. 実行命令系との連携 コー ドとの連携 SCM (dev) Infrastructure as Code (ops)
ジョブと変数の分離 "The Twelve-Factor App-like Jobs" 13
GitLab CI/CD 14
GitLab CI/CD GitLab のためのCI ツー ルとしてGitLab CI という独 立ツー ルからスター
ト GitLab 本体へ統合 CD 機能を強化し、GitLab CI/CD としてリブランド YAML ファイル1 個のみで管理 SCM/ プロジェクトのパー ミッションモデルと同じ パー ミッションがそのまま使える 実行環境: フルコンテナ+macOS(Xcode)+Windows 15
GitLab CI/CD (cont'd) Kuberenetes support Cluster creation (beta) for Cloud-Native
App Environment management 1 ソー スを複数の環境にリリー ス Manual execution 実行可能者がレポジトリ権限と同じ 理想的にはRBAC が必要 16
社内への普及活動 17
社内への普及活動 1 時間ほどの社内勉強会 x2 + 社内情報共有システ ムでの共有で伝達 YAML なので簡単 マルチプラットフォー
ム 18
社内に普及した結果 全社でのビルド標準基盤 iOS ( xcodebuild -exportArchive ) Android アプリ (
gradlew ... ) の標準 非エンジニアへのアー ティファクト提供 Docker イメー ジビルド標準 docker build Ansible の実施 ansible-playbook ... Terraform の実施 terraform apply Kubernetes へのアプリケー ションデリバリの提供 kubectl apply 19
本当にいいの? 20
✔ 業務上は困ってない 21
✗ デザイン/ パフォー マンスに課題 22
✗ デザイン/ パフォー マンスに課題 改善MR (PR) を準備中... 23
他者との比較検討が必要 24
via Forrester Wave 25
ビジネスベー ス? だから信用したくない CI/CD 熱狂者としては他も探したい 26
27
人気OSS を評価する 2 年前に一度見て諦めたSpinnaker も1.0 が出たし再 評価してもいいかも。 Kubernetes の普及とともにConcourse CI
が再人気 上昇中? 28
Cloud Native Apps のための CI/CD 29
CNCF プロジェクトのためのCI/CD CNCF プロジェクトのためのワー キンググルー プ cncf/wg-ci: https://gitlab.cncf.ci/ 30
関連イベント 12/13 昼 GitLab Enterprise Edition セミナー https://connpass.com/event/72558/ 12/13 夜
GitLab Meetup Tokyo #6 https://gitlab-jp.connpass.com/event/73362/ 31
Wrap up 3 requirements for automation platform: 1. 実行履歴が取れる 2.
実行タイミングを制御できる 3. 実行命令系との連携 We've used GitLab CI/CD for years. I'm still looking for a new excellent tools for cloud native apps and intrastructure. 32
Thank you! 33