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
WindowInsetsだってテストしたい
ryunen344
1
190
ktr0731/go-mcpでMCPサーバー作ってみた
takak2166
0
170
XSLTで作るBrainfuck処理系
makki_d
0
210
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
250
Select API from Kotlin Coroutine
jmatsu
1
180
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
0
240
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
1
270
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
390
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
780
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
740
Create a website using Spatial Web
akkeylab
0
290
Using AI Tools Around Software Development
inouehi
0
1.2k
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Gamification - CAS2011
davidbonilla
81
5.3k
Designing for Performance
lara
609
69k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Rails Girls Zürich Keynote
gr2m
94
14k
Building Adaptive Systems
keathley
43
2.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Designing Experiences People Love
moore
142
24k
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 機械学習環境なども • スピンフ、と読みます