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
AWS Fargate + Code 兄弟で始める継続的デリバリー / Continuous ...
Search
ryo nakamaru
July 30, 2018
Programming
12
3.2k
AWS Fargate + Code 兄弟で始める継続的デリバリー / Continuous Delivery with AWS Fargate and Code brothers
JAWS-UG コンテナ支部 入門編 #5 の資料です
ryo nakamaru
July 30, 2018
Tweet
Share
More Decks by ryo nakamaru
See All by ryo nakamaru
AWSで楽をするサービスメッシュ入門/appmesh-trial
pottava
1
1.4k
reinforce-2019-recap-lt
pottava
2
4.1k
ScaleShift-jp-2019-summer
pottava
1
200
Firecracker とは何か/what is Firecracker
pottava
12
5.4k
ハイブリッド並列 on Kubernetes/hybrid-parallel-program-on-kubernetes
pottava
1
420
Singularity と NVIDIA GPU Cloud で作る ハイブリッド機械学習環境の構築 / Building a hybrid environment for Machine Learning with Singularity and NGC
pottava
3
1.3k
明日から始めるちょい足し λ / get-started-with-aws-lambda
pottava
4
2.4k
NGC と Singularity によるハイブリッド機械学習環境 / A hybrid environment for Machine Learning with NGC and Singularity
pottava
0
480
NGC × Singularity での機械学習環境/MachineLearning environment with NGC and Singularity
pottava
2
760
Other Decks in Programming
See All in Programming
オープンソースコントリビュート入門
_katsuma
0
120
REALITY コマンド作成チュートリアル
nishiuriraku
0
120
Cline with Amazon Bedrockで爆速開発体験ハンズオン/ 株式会社ブリューアス登壇資料
mhan
0
110
エンジニアが挑む、限界までの越境
nealle
1
310
Jakarta EE Meets AI
ivargrimstad
0
780
The New Developer Workflow: How AI Transforms Ideas into Code
danielsogl
0
110
20250426 GDGoC 合同新歓 - GDGoC のススメ
getty708
0
110
ASP.NETアプリケーションのモダナイゼーションについて
tomokusaba
0
240
iOSアプリで測る!名古屋駅までの 方向と距離
ryunakayama
0
150
七輪ライブラリー: Claude AI で作る Next.js アプリ
suneo3476
1
170
Dissecting and Reconstructing Ruby Syntactic Structures
ydah
3
2k
파급효과: From AI to Android Development
l2hyunwoo
0
160
Featured
See All Featured
Code Review Best Practice
trishagee
67
18k
Raft: Consensus for Rubyists
vanstee
137
6.9k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
Speed Design
sergeychernyshev
29
920
How to Ace a Technical Interview
jacobian
276
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How GitHub (no longer) Works
holman
314
140k
Embracing the Ebb and Flow
colly
85
4.7k
GraphQLとの向き合い方2022年版
quramy
46
14k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Transcript
+ Code 兄弟で始める継続的デリバリー AWS Fargate JAWS-UG コンテナ支部 入門編 #5 July
30, 2018 Ryo NAKAMARU, SUPINF Inc.
!2 今日はまるっと Fargate!! ついでに相性抜群の継続的デリバリー
早速 Fargate + α の紹介なんですが Black Belt の資料がよすぎるので そのまま一緒に読み合わせしますね! !3
!4
CI / CD パイプラインについて !5 もう少し こまかい
!6 CI / CD パイプライン local source repository CI CD
storage / docker repository cloud
!7 local source repository CI task runner CD storage /
docker repository cloud • ソースコード / 各種設定の バージョン管理 • 静的解析 • 単体テスト • コンパイル • デプロイ • 成果物の管理 • イメージ管理 (・ e2e / UI テスト ) • イベント制御 • イベントフック • 正常 / 異常終了通知 基本的な要素
!8 AWS サービスでいうと local source repository CI task runner CD
storage / docker repository cloud CodeCommit CodeBuild ECS / EKS / CodeDeploy /CloudFormation ECR / S3 CodePipeline
!9 Input と Output の選択肢 local source repository CI CD
docker repository staging env git push • master • release • other branches • tags • dev (edge) • branch-testing • staging • UAT • production edge env production env
!10 Input と Output の考慮ポイント例 local source repository CI CD
docker repository staging env edge env production env いつ? master ブランチ だけ push? 自動? 本番環境だけは 承認ボタン? 自由? master へは 直 push 禁止? テストする? e2e、UI など 全環境必要?
!11 例)1. master ブランチに push すると.. local source repository CI
CD docker repository staging env edge env production env
!12 例)2. tag を打つと.. local source repository CI CD docker
repository staging env edge env production env
source repository CI !13 例)3. リリースを承認すると.. local CD docker repository
staging env edge env production env
ところで、ご存知ですか !14
!15 ビル・ゲイツが TED で語った 教師の質を上げるために必要なこととは?
フィードバックを得ること! フィードバックを 受け、現状を 正しく把握 する 振り返りから改善点を学び、次に 活かす !16
フィードバックを 得て、理解して、生かす !17
フィードバックを !18 • もらう • 理解する • 次に生かす {
継続的デリバリーとコンテナも フィードバックのための手段! !19
!20 • もらう • 理解する • 次に生かす { フィードバックを Continuous
Delivery いち早く 継続的デリバリーで
フィードバックを !21 • もらう • 理解する • 次に生かす { 正確に
Fargate コンテナを使うことで
コンテナやパイプラインそのものの完成ではなく そこから フィードバックがどう得られるかが重要! !22
!23 今日のハンズオンのゴール CI / CD: Docker: フィードバックサイクルの短縮 再現性の向上、デプロイの汎化
!24 ハンズオンの流れ CloudFormation ECR CodePipeline CodeBuild CodeCommit master に push
1. 開発環境で確認 Fargate (Edge)
!25 ハンズオンの流れ release にマージ 2. リリース確認 Fargate (Staging) CloudFormation ECR
CodePipeline CodeBuild CodeCommit master に push 1. 開発環境で確認 Fargate (Edge)
!26 ハンズオンの流れ release にマージ 2. リリース確認 Fargate (Staging) Fargate (Production)
3. リリース承認 CloudFormation ECR CodePipeline CodeBuild CodeCommit master に push 1. 開発環境で確認 Fargate (Edge) 承認ボタンクリック
では、始めましょう! !27
!28 本日のお題 https://github.com/jawsug-container/hands-on/blob/master/fargate/README.md
!29 初歩的なことから始めたい方は https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/ECS_AWSCLI_Fargate.html
Join us :)
JAWS-UG コンテナ支部 !31 • AWS でのコンテナ利用事例、ベストプラクティスの知見交換 • 定期的な AWS /
コンテナ初心者向けハンズオン • 懇親会でも熱くコンテナを語る参加者のみなさん 一緒に運営、 やりません?
SUPINF Inc. !32 • クラウド / コンテナ 中心の コンサルティング /
環境構築 / 受託開発 / 運用 • オンプレ × DGX-1 × Kubernetes 機械学習環境なども • スピンフ、と読みます