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.5k
reinforce-2019-recap-lt
pottava
2
4.1k
ScaleShift-jp-2019-summer
pottava
1
210
Firecracker とは何か/what is Firecracker
pottava
12
5.4k
ハイブリッド並列 on Kubernetes/hybrid-parallel-program-on-kubernetes
pottava
1
430
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.5k
NGC と Singularity によるハイブリッド機械学習環境 / A hybrid environment for Machine Learning with NGC and Singularity
pottava
0
490
NGC × Singularity での機械学習環境/MachineLearning environment with NGC and Singularity
pottava
2
780
Other Decks in Programming
See All in Programming
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
8.7k
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
2
1.1k
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
320
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
15
5.6k
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
270
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
610
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
3
580
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
150
生成AI時代のコンポーネントライブラリの作り方
touyou
1
290
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
2
990
ニーリーにおけるプロダクトエンジニア
nealle
0
950
NEWT Backend Evolution
xpromx
1
140
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Cult of Friendly URLs
andyhume
79
6.5k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Site-Speed That Sticks
csswizardry
10
700
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Balancing Empowerment & Direction
lara
1
450
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 機械学習環境なども • スピンフ、と読みます