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.7k
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
220
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
140
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
34
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
35
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
21
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.2k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
920
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
280
Azure Synapse Analytics 入門/jazug11
thara0402
0
760
Other Decks in Technology
See All in Technology
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
8
830
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
100
OAuth/OpenID Connectで実現するMCPのセキュアなアクセス管理
kuralab
5
890
Clineを含めたAIエージェントを 大規模組織に導入し、投資対効果を考える / Introducing AI agents into your organization
i35_267
4
1.4k
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
4
540
Snowflake Summit 2025 データエンジニアリング関連新機能紹介 / Snowflake Summit 2025 What's New about Data Engineering
tiltmax3
0
260
TechLION vol.41~MySQLユーザ会のほうから来ました / techlion41_mysql
sakaik
0
160
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
110
監視のこれまでとこれから/sakura monitoring seminar 2025
fujiwara3
10
2.9k
Navigation3でViewModelにデータを渡す方法
mikanichinose
0
210
Create a Rails8 responsive app with Gemini and RubyLLM
palladius
0
140
新卒3年目の後悔〜機械学習モデルジョブの運用を頑張った話〜
kameitomohiro
0
400
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Facilitating Awesome Meetings
lara
54
6.4k
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