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.3k
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.6k
reinforce-2019-recap-lt
pottava
2
4.1k
ScaleShift-jp-2019-summer
pottava
1
220
Firecracker とは何か/what is Firecracker
pottava
12
5.5k
ハイブリッド並列 on Kubernetes/hybrid-parallel-program-on-kubernetes
pottava
1
450
Singularity と NVIDIA GPU Cloud で作る ハイブリッド機械学習環境の構築 / Building a hybrid environment for Machine Learning with Singularity and NGC
pottava
3
1.5k
明日から始めるちょい足し λ / get-started-with-aws-lambda
pottava
4
2.5k
NGC と Singularity によるハイブリッド機械学習環境 / A hybrid environment for Machine Learning with NGC and Singularity
pottava
0
510
NGC × Singularity での機械学習環境/MachineLearning environment with NGC and Singularity
pottava
2
860
Other Decks in Programming
See All in Programming
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AI & Enginnering
codelynx
0
110
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
dchart: charts from deck markup
ajstarks
3
990
CSC307 Lecture 02
javiergs
PRO
1
780
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
CSC307 Lecture 07
javiergs
PRO
0
550
CSC307 Lecture 01
javiergs
PRO
0
690
ぼくの開発環境2026
yuzneri
0
200
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
120
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
Testing 201, or: Great Expectations
jmmastey
46
8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
From π to Pie charts
rasagy
0
120
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
HDC tutorial
michielstock
1
370
[SF Ruby Conf 2025] Rails X
palkan
1
750
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Designing for Timeless Needs
cassininazir
0
130
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 機械学習環境なども • スピンフ、と読みます