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
Azure Container Apps で .NET 7 アプリを Blue-Green デ...
Search
TonyTonyKun
September 23, 2022
Technology
0
1.8k
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう!/jazug12
Japan Azure User Group 12周年イベントのセッション資料です。
TonyTonyKun
September 23, 2022
Tweet
Share
More Decks by TonyTonyKun
See All by TonyTonyKun
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
570
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
170
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
50
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
54
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
37
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.2k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
940
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
290
Azure Synapse Analytics 入門/jazug11
thara0402
0
780
Other Decks in Technology
See All in Technology
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.7k
職種の壁を溶かして開発サイクルを高速に回す~情報透明性と職種越境から考えるAIフレンドリーな職種間連携~
daitasu
0
140
roppongirb_20250911
igaiga
0
190
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
290
Webブラウザ向け動画配信プレイヤーの 大規模リプレイスから得た知見と学び
yud0uhu
0
230
20250910_障害注入から効率的復旧へ_カオスエンジニアリング_生成AIで考えるAWS障害対応.pdf
sh_fk2
3
220
クラウドセキュリティを支える技術と運用の最前線 / Cutting-edge Technologies and Operations Supporting Cloud Security
yuj1osm
2
320
エラーとアクセシビリティ
schktjm
1
1.2k
これでもう迷わない!Jetpack Composeの書き方実践ガイド
zozotech
PRO
0
300
Rustから学ぶ 非同期処理の仕組み
skanehira
1
130
BPaaSにおける人と協働する前提のAIエージェント-AWS登壇資料
kentarofujii
0
130
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
440
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
What's in a price? How to price your products and services
michaelherold
246
12k
Music & Morning Musume
bryan
46
6.8k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
187
55k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
Designing for humans not robots
tammielis
253
25k
Facilitating Awesome Meetings
lara
55
6.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Documentation Writing (for coders)
carmenintech
74
5k
Unsuck your backbone
ammeep
671
58k
Transcript
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう! 2022.9.24
Japan Azure User Group 12周年イベント
自己紹介 名前 原 敏之 個人 Twitter : @TonyTonyKun ROMANCE DAWN
for the new world • https://gooner.hateblo.jp/ Microsoft MVP for Microsoft Azure 2017 〜 コミュニティ Azureもくもく会@リモート • https://azure-mokumoku.connpass.com/ 仕事 株式会社ネクストスケープ Copyright© 2022, JAZUG All Rights Reserved. 2
Azure Container Apps Overview 概要と特徴 3 Copyright© 2022, JAZUG All
Rights Reserved.
Azure Container Apps とは? 複数のコンテナアプリで構成されるシステム向けのサービス 従来は Web Apps for Containers
か Azure Kubernetes Service の2択 でしたが、新たに Container Apps が追加されました。 マイクロサービスだけでなく、ゼロスケールのサーバーレス実行 環境として、Functions よりも自由度が高いサービスです。 Kubernetes を基盤に構成されていますが、利用者が Kubernetes を 意識することなく、アプリの開発と運用に注力できます。 4 Copyright© 2022, JAZUG All Rights Reserved.
Azure Container Apps のアーキテクチャ 5 Copyright© 2022, JAZUG All Rights
Reserved.
Demo .NET 7 アプリケーションを Blue-Green デプロイする 6 Copyright© 2022, JAZUG
All Rights Reserved.
Blue-Green Deployments 複数バージョンの Revision をデプロイし、トラフィック制御を 行うことで、Blue-Green の切り替えを実現します。 1. Environment をデプロイ
2. v1 のコンテナアプリをデプロイ(Traffic:100%) 3. v2 のコンテナアプリをデプロイ(Traffic:0%) 4. スワップ( v1:0% ⇔ v2:100% ) 7 Copyright© 2022, JAZUG All Rights Reserved.
.NET 7 から組み込みコンテナをサポート Announcing built-in container support for the .NET
SDK 8 Copyright© 2022, JAZUG All Rights Reserved. https://devblogs.microsoft.com/dotnet/announcing-builtin-container-support-for-the-dotnet-sdk/
Conclusion まとめ 9 Copyright© 2022, JAZUG All Rights Reserved.
まとめ Azure Container Apps は、複数のコンテナアプリで構成される システムを構築するときにお勧めのサービスです。 マイクロサービス(Dapr 統合) バックグラウンド処理 イベント駆動処理(KEDA)
10 Copyright© 2022, JAZUG All Rights Reserved. Azure Kubernetes Services は、ラストオプション。 まずは、Azure Container Apps の採用を検討しましょう!
参考資料 Azure Container Apps の公式ドキュメント https://docs.microsoft.com/ja-jp/azure/container-apps/ Azure Container Apps で
Blue-Green Deployments を試してみた https://gooner.hateblo.jp/entry/2022/05/27/092220 Azure Container Apps のサンプルコード https://github.com/thara0402/build2022-azure-container-apps-samples クラウドデベロッパーちゃんねる Azure Container Apps の紹介 https://www.youtube.com/watch?v=hu8qWrYXeFw 11 Copyright© 2022, JAZUG All Rights Reserved.
一緒にお仕事する仲間を募集中です 12 Copyright© 2022, JAZUG All Rights Reserved. https://hrmos.co/pages/nextscape