Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20240627LT大会vol9_AzureFunctionsのFlexConsumption...
Search
TaijuYamashita
June 27, 2024
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20240627LT大会vol9_AzureFunctionsのFlexConsumptionについて語る.pdf\saison-technology-cloudLTvol9-AzureFunctionsFlexConsumption
TaijuYamashita
June 27, 2024
More Decks by TaijuYamashita
See All by TaijuYamashita
Azureの認証サービスについてまとめてみた\saison-technology-cloudLTvol8-AzureCertificationService
taijuyamashita
0
160
Oracle Database@Azure について調べて考察してみた/sisco-cloudLTvol6-OracleDatabase@Azure
taijuyamashita
0
740
Azure Functionsのローカル開発を簡単にするためのツールとテクニック/sisco-cloudLTvol5-AzureFunctions
taijuyamashita
0
340
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Visualization
eitanlees
153
17k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
570
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Transcript
Azure FunctionsのFlex Consumptionについて語る クラウドLT大会vol.9
自己紹介 山下 大樹(やました たいじゅ) 経歴 2022年3月 経営学部卒 2022年4月~ セゾンテクノロジー新卒入社、 小売業のお客様向けシステムの保守
資格 ・AZ-104(Azure Administrator Associate) ・AZ-900(Azure Fundamentals) ・DP-300(Azure Database Administrator Associate) ・DP-900(Azure Data Fundamentals) ・AI-900(Azure AI Fundamentals) 2
サーバレスやってますか?? • そもそも「サーバレス」とは? • サーバレスアーキテクチャ(サーバレスコンピューティング) • インフラストラクチャを意識せず、アプリ開発/運用する仕組みやサービス • サーバレス関連のサービスは従量課金で提供される場合が多い •
代表的なサービスとしては、Azure FunctionsやAWS Lambda等がある 3
Azure Functionsの新プランがプレビュー開始 4 • Flex Consumptionプラン • 発表自体はMicrosoft Ignite 2023
• 特徴 • 本当に”サーバレス” • 実行時以外はインスタンス数を0にできる • 仮想ネットワークに対応 • Vnet統合使って、プライベートな接続が可能に • スケーリングの最大インスタンス数が1000インスタンスに • Linuxだと、従量課金プランは200インスタンス、Premium プランは100インスタンス • 2024/6/26時点では日本リージョンは未実装、Linuxのみ利用可能
Azure Functionsのこれまで 5 Consumptionプラン Premiumプラン Vnet • ConsumptionプランがVnet統合に未対応 • プライベートな接続をするには、Premiumプラン以上が必要だった
Premiumプランは常にインスタンスが立ち上がっており、その分コストが必要 Subnet Subnet Vnet Subnet Subnet Vnet統合できない。。。 Vnet統合できるけど、 常時起動でお金がかかる。。。
Azure Functionsのこれまで 6 そこに効くのがFlex Consumptionプラン
使ってみた感想① 7 • UI面 • 設定画面はPremiumプランとほとんど同じ • [インスタンスの詳細]でサイズ選択が可能 • 2048MB、4096MBから選択
使ってみた感想② 8 • 性能 • .Net 8 • HTTPトリガーのテンプレートで比較 •
「Welcome to Azure Functions!」 が表示されるだけ • 11回を2セットに分けて実行 • セットの間隔は30分程度 単位(ms)/プラン Consumption Flex Consumption (常時起動インスタンスなし) Premium (エラスティック Premium) 初回*¹ 1569.408(191.538) 656.817(179.920) 60.887(49.630) Max*² 32.939 16.356 11.123 Min*² 6.265 4.326 3.224 平均*² 16.681 6.465 5.923 標準偏差*² 8.517 2.801 1.674 *¹()は2セット目 *² 各セットの初回は除く
Azure Functionsの各プランの価格比較 9 課金体系/プラン Consumption Flex Consumption Premium 実行時間ごと ¥0.002521/GB-s
¥0.002521/GB-s - 実行回数ごと ¥31.501/100万回 ¥31.501/100万回 - 常時利用可能な インスタンスに対する 利用料金 - ・ベースライン ¥0.0006301/GB-s ・実行時間 ¥0.0014176/GB-s ・実行回数 ¥31.500001/100万回 ・vCPU ¥27.247501vCPU/h ・メモリ ¥1.937251GB/h 無料枠 ・実行時間 400,000GB-s分 ・実行回数 100万回分 ・実行時間 100,000GB-s分 ・実行回数 25万回分 - 2024年6月26日現在
Azure Functionsのこれから • 要件にもよるが、多くのケースでFlex Consumptionプランは第一候補になりそう • Functionsの利用自体も増えそう • ネットワーク周りで見送られたケースも多い、と勝手に思っている。。 •
他にも価格プランがいくつか用意されている • Flex Consumptionプランの日本リージョンへの実装に期待 10
END
Appendix 参考記事 • Azure Functions - Microsoft build 2024 update
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-functions-microsoft-build-2024-update/ba- p/4146471 • Azure Functionsの価格 https://azure.microsoft.com/ja-jp/pricing/details/functions/ 12