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
CI/CD with CodePipeline and ECS
Search
hiroaki
June 27, 2022
Technology
0
110
CI/CD with CodePipeline and ECS
hiroaki
June 27, 2022
Tweet
Share
More Decks by hiroaki
See All by hiroaki
Communication with Ubiquitous Language
hiroaki_u
0
76
how to determine architecture
hiroaki_u
1
190
the-concept-of-product-creation-learned-in-startup-science
hiroaki_u
0
140
what-is-container
hiroaki_u
1
79
difference-between-nginx-and-apache
hiroaki_u
0
47
CI_CD_by_Code_Brothers_by_AWS
hiroaki_u
0
34
think of study
hiroaki_u
1
79
Other Decks in Technology
See All in Technology
(機械学習システムでも) SLO から始める信頼性構築 - ゆる SRE#9 2025/02/21
daigo0927
0
200
PHPカンファレンス名古屋-テックリードの経験から学んだ設計の教訓
hayatokudou
2
500
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
370
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
310
SA Night #2 FinatextのSA思想/SA Night #2 Finatext session
satoshiimai
1
150
「正しく」失敗できる チームの作り方 〜リアルな事例から紐解く失敗を恐れない組織とは〜 / A team that can fail correctly
i35_267
1
500
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
2
510
データ資産をシームレスに伝達するためのイベント駆動型アーキテクチャ
kakehashi
PRO
2
600
エンジニアが加速させるプロダクトディスカバリー 〜最速で価値ある機能を見つける方法〜 / product discovery accelerated by engineers
rince
4
490
Helm , Kustomize に代わる !? 次世代 k8s パッケージマネージャー Glasskube 入門 / glasskube-entry
parupappa2929
0
270
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
830
Cloud Spanner 導入で実現した快適な開発と運用について
colopl
1
890
Featured
See All Featured
Music & Morning Musume
bryan
46
6.4k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
The Cult of Friendly URLs
andyhume
78
6.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Faster Mobile Websites
deanohume
306
31k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Adopting Sorbet at Scale
ufuk
74
9.2k
Making Projects Easy
brettharned
116
6k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Transcript
CodePipelineとECSで CI/CD構築してみた hiroaki
Who am I ? hiroaki(28) Backend, Infra, DevOps 2018/04〜 食品メーカーの研究所
2021/03〜 Webエンジニア 経歴 神奈川→埼玉→群馬→神奈川 趣味 サウナ & 筋トレ
構築しようと思ったきっかけ EC2の管理面倒 ソフトのバージョン管理面倒
そうだコンテナを使おう!
元のCI/CDの構成
元のCI/CDの構成 Test Deploy
新しいCI/CDの構成
新しいCI/CDの構成 Test Deploy Build
Build & Deploy Deploy Build
ECSのデプロイ方式は2つ Rolling Deploy Blue/Green Deploy v.s.
Rolling Deploy ECSのみで実装できてお手軽 ♪
Blue/Green Deploy ダウンタイムなしで環境切り替えが可能 ♪
実際に構築してみた感想は?
ソフトやサーバーの管理が楽 デプロイに時間かかる。。。 Fargate 2分→18分 ※18分はbuild + deployの時間
でもお高いんでしょ?
でもお高いんでしょ?
+10%〜20% Fargate ECS お値段なんと無料! EC2 参照:https://aws.amazon.com/jp/ecs/faqs
ご清聴ありがとうございました。