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
若手の僕らからコストに向き合おう(Let's Tackle Cost Optimization...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Eisuke Fukushima
January 19, 2025
Programming
48
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
若手の僕らからコストに向き合おう(Let's Tackle Cost Optimization from Our Generation)
Eisuke Fukushima
January 19, 2025
Other Decks in Programming
See All in Programming
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
600
AIの中の人になってみる
htkym
0
120
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
200
Oxlintはいいぞ(続)
yug1224
1
430
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.1k
今さら聞けない .NET CLI
htkym
0
210
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
170
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
200
Press start. Python's next generation.
willingc
PRO
3
110
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
1
400
Go 1.27 における memory allocation の高速化
andpad
0
310
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
720
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
470
Paper Plane
katiecoart
PRO
2
53k
Why Our Code Smells
bkeepers
PRO
340
58k
Rails Girls Zürich Keynote
gr2m
96
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
280
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
660
Making the Leap to Tech Lead
cromwellryan
135
10k
A Tale of Four Properties
chriscoyier
163
24k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
550
Transcript
コスト減らしてみようぜ💰 福島瑛介
2 自己紹介 最近のトピック 好きなAWSサービス プロフィール 氏 名 福島瑛介 熊本出身 韓国行って似てない似顔絵描いてもらった 正直決めきれない
・Cloudformation/CDK ・CostExploer 新卒2年目 文系未経験からエンジニアになり AWS歴も2年目 インフラエンジニアとして最近は ECS+Fargateを触っています
© 2023 Works Human Intelligence Co., Ltd. 3 LTテーマ 若⼿の僕らからコスト最適化に
向き合っていこう💸
© 2023 Works Human Intelligence Co., Ltd. 4 まずはここから!AWSコスト最適化の基本 Cloud
Financial Management (CFM:クラウド財務管理)フレームワーク
© 2023 Works Human Intelligence Co., Ltd. 5 特に⼤事な、AWSコスト最適化のポイント でかいところ
から最適化 Point 2 ⾒える化 Point 1
© 2023 Works Human Intelligence Co., Ltd. 6 ⾒える化 1Step
⾒える化 Point 1 特に⼤事な、AWSコスト最適化のポイント
© 2023 Works Human Intelligence Co., Ltd. でかいところ から最適化 Point
2 7 特に⼤事な、AWSコスト最適化のポイント どうせコスト最適化に 時間をかけるなら、 コスパよく最適化した⽅がいい!
© 2023 Works Human Intelligence Co., Ltd. 開発環境の3~4割のコストを占めていた NAT Gatewayの時間あたりにかかるコストに着⽬
→1時間当たりにかかっている⾦額は0.062USD →1ヶ⽉あたり1環境13000円くらい EC2などは使っていない時間帯は停⽌するよう定期 実⾏されていたが、NAT Gatewayにはそのような 機能はない リソースをCloudformationで管理していたため、 Lambda実⾏で外から消したりつくったりするこ とはCloudformationの管理外になってしまう 8 事例:開発環境のコスト2~3割を削減 Nat Gatewayのコスト最適化 Condition属性を使って解決 条件を作成し、それをリソースま たは出⼒に関連付けることで、 条件が true の場合にのみ AWS CloudFormation がリソースを 作成するようにできる
© 2023 Works Human Intelligence Co., Ltd. 9 事例:開発環境のコスト2~3割を削減 環境起動ジョブ
(⼿動実⾏) 環境停⽌ジョブ (夜間定期実⾏) CreateNatGateway false CreateNatGateway true 削除 作成 ネットワーク系のスタック NAT Gateway
© 2023 Works Human Intelligence Co., Ltd. 10 でかいところ から最適化
Point 2 開発環境の2,3割ほどのコスト削減に 1ヶ⽉ほどで達成 結果的に 本当に必要なものを必要なときに設置 すると従量課⾦制のメリットを最⼤限 にすることができる 環境の最適化≒コスト最適化
© 2023 Works Human Intelligence Co., Ltd. 11 削減前 削減後
コスト最適化のメリットイメージ メリット
© 2023 Works Human Intelligence Co., Ltd. 12 削減前 削減後
コスト最適化は早く取り掛かったもん勝ち サービスのスケール 実際のコストメリット
© 2023 Works Human Intelligence Co., Ltd. © 2023 Works
Human Intelligence Co., Ltd. 13 今⽇、今から 若⼿の僕らからコスト最適化に 向き合っていこう💸
© 2023 Works Human Intelligence Co., Ltd. 14 うちではこういうことやっているよ! みたいなことあれば教えてください!
© 2023 Works Human Intelligence Co., Ltd. 15 参考と気になるコスト最適化 参考
AWSコスト最適化ガイド Amazon Web Services ブログ クラウド財務管理はコスト削減以上のメリットをもたらす 100社のコスト診断から⾒えてきた、コスト削減の王道とケモノ道 気になるコスト最適化 ‧Fargate Spot ・FinOpsの実践 ・モブコスト分析