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
ispecのエスプレスタックをご紹介!
Search
Yuma
August 08, 2023
3.7k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ispecのエスプレスタックをご紹介!
ecspresso MeetUpのLTです
https://jawsug-container.connpass.com/event/285124
Yuma
August 08, 2023
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
10k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
340
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
610
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.9k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.5k
Building Adaptive Systems
keathley
44
3.1k
A Tale of Four Properties
chriscoyier
163
24k
Deep Space Network (abreviated)
tonyrice
0
230
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
340
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
New Earth Scene 8
popppiees
3
2.4k
Transcript
ispecのエスプレスタックをご紹介! JAWS-UG コンテナ支部#24 ecspresso MeetUp
Ä 自己紹介
石川湧馬 株式会社 ispec VPoE 好きな技Q G AWH G ECH G
App Runne8 G Terrafor2 G Den3 G G3 G Vim 好きなも& G 日本# G 温9 G 家系ラーメン https://yuma.tokyo
Ä 会社紹介
2 Vision 誰もがメンタルの問題に悩まな い世の中 2 Mission テクノロジーの力でメンタルケ アの文化を作る メンタルヘルスケアに特化した プロダクト開発を複数行う
株式会社ispec https://ispec.world
本題
本日のyaml
変遷と一緒にスタックを紹介します
初期のスタック ( cluste ( servic ( taskdeÉ ( autoscalin (
eventbridg ( iam
アプリ開発者がさわれなかっ5 0 AWS, Terraformのキャッチアップが必È 0 運用を考慮した設計ができていなかった
7 TerraformとCIでリビジョンの違いが 発4 7 Terraformでapplyした後CIを回す オペレーションに
ecspressoと出会う
servicÄ taskdef ecspresso ecspresso導入期 clusteE autocalin5
eventbridgÄ iam
運用上のボトルネックはほとんど解消
Actionsもスッキリ " kayac/ecspresso " aws-actions/amazon-ecs-render-task-definitio2 " aws-actions/amazon-ecs-deploy-task-definition
ecscheduleと出会う
ecshedule導入期 # cluste! # autocalin # iam ecspresso ecschedule #
servicA # taskdef # eventbridge
ecspressoと同一の設定ファイルを読みたい
jsonnetを読み込むためのパッチを作成 @mrym_dev
最終形態
ディレクトリ構成
aquaでバイナリをインストール https://aquaproj.github.io
env.jsonnet c vpcなどの外部リソー スの値を定6 c ecspressoと ecscheduleから参照 す c どっちもpluginとして
tfstateを読み込む機能 を用意してくれてい c lookup用のstateを用 意してる
terraform/for-lookup/vpc.tf H リソースごとにディレ クトリを分割している ので、まとめてoutput するためだけのファイ ル
config.jsonnet 7 運用上変わりそうな設 定を定義するファイ 7 アプリ開発者がいじる ファイル
task-def.jsonnet G env.jsonnetと config.jsonnetを参照 してい2 G イメージタグは環境変 数から渡す
É これからやりたいこと
オートスケーリングの設定がめんどい
null_resourceの活用を検討 https://techblog.kayac.com/ecspresso-tf-nullresource
lookup用のstateを無くしたい
コントリビュートするしかねえ
fujiwara愛
ご清聴ありがとうございました!